Opened 7 years ago

Last modified 7 years ago

#4690 closed defect

Issue with equation count in NF — at Initial Version

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

Description

Please check https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AD_DA_conversion.err

The compiler reports 61 equations and 60 variables. Moreover, when flattening the model in OMEdit, one equation is reported starting with a hash sign

#(opAmp.v_out) = smooth(0, min(opAmp.Vps, max(opAmp.Vns, opAmp.V0 * opAmp.v_in)));

It is interesting to notice that the old front end compiles successfully this model into simulation code, but fails upon checking the model.

Change History (0)

Note: See TracTickets for help on using tickets.