OpenModelica


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!!!!

Administrator has disabled public posting. Please login or register in order to proceed.

Re: OpenModelica Compiler Flags for timeout

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

Adeel.

Administrator has disabled public posting. Please login or register in order to proceed.

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?

Administrator has disabled public posting. Please login or register in order to proceed.

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.

Administrator has disabled public posting. Please login or register in order to proceed.

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
Administrator has disabled public posting. Please login or register in order to proceed.

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
Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic
You are here: