Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Simulation Process failed

Simulation Process failed

when i check the model: every things is good ( check successful), but when i simulate the model i got this message :

Process crashed

Process crashed
Simulation process failed. Exited with code -1073741819

Does anyone now how to fix that
thanks

Re: Simulation Process failed

Without seeing the code that would be hard.

Does your model have external code like a DLL that it needs?

Re: Simulation Process failed

eef

Edited by: Mhamedi - Aug-20-21 09:29:14

Re: Simulation Process failed

What version of OpenModelica do you have? Works fine for me with the nightly-builds.
Does this happen for any model you try to simulate? Try MSL examples.

Looking for the error with Google:
https://www.google.com/search?q=%22-1073741819%22
seems you get File System Error which means you cannot
run the executable, or you don't have the permission to run it.
OpenModelica will generate C code, compile that C code to
an executable Model.exe and then run that to produce the
simulation results. It seems you have issues when running
Model.exe

It could be that you are not allowed to run things in the Temp
directory. You can change that via:
OMEdit->Tools->Options->General->Working Directory
Put there something like:
C:\OMWorkingDirectory
Restart OMEdit and try to simulate your model again.

Re: Simulation Process failed

i use the 3.2.3 version
no it does not happen for any model. I think , its occurs , when i try to use the Electrical.Quasistationary  bib

"
You can change that via:
OMEdit->Tools->Options->General->Working Directory
Put there something like:
C:\OMWorkingDirectory "">>>> yes it worked fine , thanks

There are 0 guests and 0 other users also viewing this topic
You are here: