Sir, I have successfully imported the model. Next, I want to linearize it using the SystemModelLinearize instruction, but the system prompts this error. How can I resolve it? Thank you!
model = Import["C:\\Users\\james\\Desktop\\Model2.mo", "MO"];
list = model["TopParameterNames"];
vars = list /. {QuantityVariable[x_, __] :> x};
SystemModelLinearize[model, 
  Method -> {"SymbolicDerivative", 
      "SymbolicParameters" -> vars}]

The model position can be changed according to your needs.
				
					
				
				
					
					
						
							 Attachments:
							Attachments: