Opened 6 years ago

Closed 6 years ago

#5160 closed defect (fixed)

Derivative information lost by the NF

Reported by: casella Owned by: perost
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check Modelica.Media.Examples.TestOnly.IdealGasN2Mix. The NF fails with

[OMCompiler/Compiler/BackEnd/Differentiate.mo:402:3-402:155:writable] 
Error: Derivative of expression "medium.h = 
Modelica.Media.Examples.TestOnly.IdealGasN2Mix.Medium.h_TX(medium.T, {1.0}, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0)"
w.r.t. "time" is non-existent.
[Modelica trunk/Media/IdealGases/Common/package.mo:649:5-649:19:writable]
Error: Internal error 
Differentiate.differentiateEquationTime failed for
medium.h = Modelica.Media.Examples.TestOnly.IdealGasN2Mix.Medium.h_TX(medium.T, {1.0}, true, Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K, 0.0)

apparently, some information is lost by the NF that prevents to correctly differentiate the equation - maybe the derivative annotation?

Change History (1)

comment:1 Changed 6 years ago by casella

  • Resolution set to fixed
  • Status changed from new to closed

This problem is now fixed, the model fails because of #5201

Note: See TracTickets for help on using tickets.