Opened 7 years ago

Closed 7 years ago

#4665 closed defect (fixed)

Issue depending on NF propagates all the way down to SimCode

Reported by: Francesco Casella Owned by: Per Östlund
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.AmplifierWithOpAmpDetailed.err

The model passes Frontend and Backend successfully, then fails with

Error: Internal error function createNonlinearResidualEquations failed
[/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/
OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1331:5-1331:77:writable] 
Error: Internal error createEquationsForSystems failed
[/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica
/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:601:5-601:146:writable] 
Error: Internal error function createSimCode failed [Transformation 
from optimised DAE to simulation code structure failed]

As SimCode works fine with the old front-end, there has to be something wrong in something the NF does

Change History (3)

comment:1 by Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed

Probably fixed in 117eefb, at least the model simulates for me now. Most likely the issue was due to if-equations being messed up previously.

comment:2 by Per Östlund, 7 years ago

Resolution: fixed
Status: closedreopened

Not fixed, forgot to turn on newInst flag.

comment:3 by Francesco Casella, 7 years ago

Resolution: fixed
Status: reopenedclosed

Fixed as of 07-02-2018

Note: See TracTickets for help on using tickets.