hi !!

i am facing a problem with open modelica shell, for exemple this simple electrical model model
""""""""""""""""""""""""""""""""
within test_resistor;

model resistor
Modelica.Electrical.Analog.Basic.Resistor R(R=10);
Modelica.Electrical.Analog.Sources.ConstantVoltage E(V=10);
Modelica.Electrical.Analog.Basic.Ground gnd;
equation
connect(R.p,E.p);
connect(R.n,E.n);
connect(R.n,gnd.p);

end resistor;

"""""""""""""""""""""""""""""""""""""""""

this is so simple and modelica have no probleme with it as i konw ( i am a newbie so correct me if i am wrong )

and this is the Script mos file
"""""""""""""""""""""""""""""""""""""""
/*test*/
clear();
loadModel(Modelica);
getErrorString();
loadFile("resistor.mo");
getErrorString();


simulate(resistor,startTime=0.0,stopTime=0.1,numberOfIntervals=1000);
getErrorString();
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

the modelica shell answer is good

"true
true
""
true
""
record SimulationResult
resultFile = "resistor_res.plt"
end SimulationResult;
""

true"

but the problem is that the plt file is empty !!!!! and the output file alsoooo !!!!!!!!

the init file is empty

0.0 // start value
0.1 // stop value
0.0001 // step value
1e-10 // tolerance
"dassl" // method
1 // n states
0 // n alg vars
0 //n parameters
0 // n string-parameters
0 // n string variables
0.0 // $dummy
0.0



did anyone faced this king of problem!!
Click to view attachment
Click to view attachment
Click to view attachment