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

OpenModelica Compiler Flags for timeout

OpenModelica Compiler Flags for timeout

Hi,

Is it possible to set the timeout compiler option(https://www.openmodelica.org/doc/OpenMo … lag-alarm) from the GUI?

Thanks!!!!

Re: OpenModelica Compiler Flags for timeout

Yes. Tools->Options->Simulation->OMC Flags

Adeel.

Re: OpenModelica Compiler Flags for timeout

Thanks Adeel!

It's the right place, but apparently is not working.

I filled this:
OMC Flags:  +d=initialization +d=infoXmlOperations --alarm=1

Am I doing something wrong?

Re: OpenModelica Compiler Flags for timeout

Alarm should not work via OMEdit, it would mean killing the OMEdit process. It should only works via omc command line.

Re: OpenModelica Compiler Flags for timeout

Thanks!

For other people information: "model.exe -alarm=10".

Notice the sigle "-".

Edited by: Neotake - Jun-15-18 06:24:51

Re: OpenModelica Compiler Flags for timeout

Ah, you mean simulation flags. Then yes, you use -alarm=time or -alarm time.

See here: https://www.openmodelica.org/doc/OpenMo … flags.html

Edited by: adrpo - Jun-15-18 06:51:52
There are 0 guests and 0 other users also viewing this topic
You are here: