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

how to setup an option

how to setup an option

In a simulation I get the following message:

stdout | warning | <p>Error in initialization. Storing results and exiting.<br>
Use -lv=LOG_INIT -w for more information.</p>

I want indeed have more information about the error.
I tried to add "-lv=LOG_INIT" in OMedit in the field Tools|Option!Simulation|OMC Flags, but I got the error message:

Code:

[6] 10:15:27 Scripting Error

Unknown option -lv.

What should I do?

Re: how to setup an option

Tools|Option|Simulation|OMC Flags are the compiler flags. You want to add a simulation flag so go to Simulation Setup|Simulation Flags|Logging and check LOG_INIT or write -lv=LOG_INIT in Additional Simulation Flags (Optional):.

Adeel.

There are 0 guests and 0 other users also viewing this topic