dearN
dearN

Reputation: 1276

OpenModelica: No output variables or solution file

So I am a newbie to OpenModelica. I have a bit of experience using LMS Amesim. I created my first simple model using OM and simulated it from within the OMeditor.

enter image description here

When I switch to the plot window, there are NO output variables to plot. That tells me that the simulation may not have run. However, no error messages popped up. When I checked the model, I found it to be fine (not overconstrained or underconstrained).

enter image description here

What gives? This is OM 1.14 on Linux Ubuntu 16.04.

My Modelica file is a simple 2nd order system with feedback control is available via pastebin here or may be downloaded here via google drive link

The messages that I have from the output window are:

/tmp/OpenModelica_drN/OMEdit/Feedback/Feedback -port=35318 -logFormat=xmltcp -override=startTime=0,stopTime=100,stepSize=0.2,tolerance=1e-6,solver=dassl,outputFormat=csv,variableFilter=.* -r=/tmp/OpenModelica_drN/OMEdit/Feedback/Feedback_res.csv -w -lv=LOG_STATS -inputPath=/tmp/OpenModelica_drN/OMEdit/Feedback -outputPath=/tmp/OpenModelica_drN/OMEdit/Feedback

The initialization finished successfully without homotopy method. The simulation finished successfully.

Upvotes: 0

Views: 544

Answers (1)

Adrian Pop
Adrian Pop

Reputation: 4231

This was a bug. Should be fixed now: https://trac.openmodelica.org/OpenModelica/ticket/5251

Upvotes: 1

Related Questions