Opened 10 years ago

Closed 10 years ago

#3180 closed defect (fixed)

Simulation crashes with +d=infoXmlOperations

Reported by: Rüdiger Franke Owned by: somebody
Priority: high Milestone: 1.9.2
Component: Backend Version: trunk
Keywords: Cc:

Description

It surprises to see many models crash even though they are reported as success at https://test.openmodelica.org/libraries.

The tests use the options:

+d=nogen,initialization,backenddaeinfo,discreteinfo,stateselection

whereas OMEdit (r24785) uses:

+d=infoXmlOperations

In fact the +d=infoXmlOperations results for models like PowerSystems.Examples.Network.NetworkLoop in:

/tmp/OpenModelica_user/OMEdit/PowerSystems.Examples.Network.NetworkLoop -port=45931 -logFormat=xml -override=startTime=0,stopTime=1,stepSize=0.002,tolerance=0.0001,solver=dassl,outputFormat=mat,variableFilter=.* -dasslJacobian=coloredNumerical -w -lv=LOG_STATS

JSON array expected ',' or ']', got: ]}]}},
"impedance3.v

Process crashed
Simulation process failed. Exited with code 0.

Attachments (1)

PowerSystems.Examples.Network.NetworkLoop_info.json (312.7 KB ) - added by Rüdiger Franke 10 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 by Rüdiger Franke, 10 years ago

Component: UnknownRun-time

comment:2 by Rüdiger Franke, 10 years ago

Component: Run-timeBackend

It appears that the generated JSON file is syntactically wrong. It contains additional double quotes on lines 65 and 93 that cause the crash:

65: ... ,"data":["der(impedance3.terminal_p.theta[1])""]}]}},
93: ... ,"data":["der(system.theta)""]}]}},

comment:3 by Adrian Pop, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in r24846.

Note: See TracTickets for help on using tickets.