﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4495	getSimulationOptions() reports default simulation settings before model is built	robert.mueller@…	somebody	"Dear developer team,

in the OMShell, the command getSimulationOptions() returns the standard simulation settings of OpenModelica instead of the simulation settings of the specified model.
See the following example:


{{{
>> getSimulationOptions(Modelica.Blocks.Examples.PID_Controller)
(0.0,1.0,1e-006,500,0.002)
>> buildModel(Modelica.Blocks.Examples.PID_Controller)
{""C:/Users/...
>> getSimulationOptions(Modelica.Blocks.Examples.PID_Controller)
(0.0,4.0,1e-006,500,0.008)
}}}


Only after the model has been built, the correct simulation options are returned.

My OM version is:
v1.12.0-dev-422-ge116454 (64-bit)

I hope you can help me with this.

Kind regards,
Robert Müller"	defect	closed	normal		Interactive Environment	v1.12.0	worksforme	getSimulationOptions simulation options scripting	
