- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Application crashes
Application crashes
Application crashes
Hi,
I am trying to run a simple model to solve a system of equations, but the application crashes (even with a message from Windows that the .exe has stopped working). In OMEdit I get the following message:
stdout | OMEditInfo | <p>C:/Problem_4_Fanger.exe -port=64535 -logFormat=xml -override=startTime=0,stopTime=10,stepSize=0.02,tolerance=1e-6,solver=dassl,outputFormat=mat,variableFilter=.* -r=Problem_4_Fanger_res.mat -dasslJacobian=coloredNumerical -w -lv=LOG_STATS</p>
stdout | error | <p>Process crashed<br>
Simulation process failed. Exited with code -1073741819.</p>
Does somebody recognize what's wrong?
The code is:
model Problem_4_Fanger
Real PMV(start = 1);
Real t_cl(start = 20);
Real hc(start = 2);
parameter Real Madu = 90;
parameter Real eff = 0;
parameter Real pa = 9.37;
parameter Real t_a = 21;
parameter Real t_mrt = 21;
parameter Real fcl = 1.15;
parameter Real I_cl = 1.0;
equation
PMV = (0.352 * exp((-0.042) * Madu) + 0.032) * (Madu * (1 - eff) - 0.35 * (43 - 0.061 * Madu * (1 - eff) - pa) - 0.42 * (Madu * (1 - eff) - 50) - 0.0023 * Madu * (44 - pa) - 0.0014 * Madu * (34 - t_a) - 3.4 * 10 ^ (-8) * fcl * ((t_cl + 273) ^ 4 - (t_mrt + 273) ^ 4) - fcl * hc * (t_cl - t_a));
t_cl = 35.7 - 0.032 * Madu * (1 - eff) - 0.18 * I_cl * (3.4 * 10 ^ (-8) * fcl * ((t_cl + 273) ^ 4 - (t_mrt + 273) ^ 4) + fcl * hc * (t_cl - t_a));
hc = 2.05 * (t_cl - t_a) ^ 0.25;
end Problem_4_Fanger;
Re: Application crashes
I cannot reproduce the crash on Linux. The simulation just terminate with the following message:
Code:
Simulation execution failed for model: Problem_4_Fanger
assert | debug | Solving non-linear system 3 failed at time=0.
| | | | For more information please use -lv LOG_NLS.
assert | info | simulation terminated by an assertion at initialization
- lochel
- 45 Posts
Re: Application crashes
And using all the flags form your post, I get the following messages:
Code:
<message stream="assert" type="debug" text="Solving non-linear system 3 failed at time=0.
For more information please use -lv LOG_NLS.">
<used index="3" />
</message>
<message stream="assert" type="info" text="simulation terminated by an assertion at initialization" />
- lochel
- 45 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Application crashes