- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Verbose options in C Code
Page Start Prev 1 Next End
Verbose options in C Code
Re: Verbose options in C Code
Nov-01-11 03:15:08
Hi,
Run the simulation executable with -? to get a list of all the command line parameters you can use.
Unfortunately, right now you cannot set these from the OMC simulate command.
However, you can use buildModel command (with the same arguments as simulate) which generates
the simulation executable (but doesn't run it) and then use the system("shell command here") command
to run the executable with whatever parameters you want.
Code:
adrpo@ida-liu050 ~/dev/OpenModelica/build/bin
$ ./Model.exe -?
usage: Model.exe <-f initfile> <-r result file> -m solver:{dassl,euler,rungekutta,dopri5,inline-euler or inline-rungekutta} <-interactive> <-port value>
-lv [LOG_STATS] [LOG_INIT] [LOG_RES_INIT] [LOG_SOLVER] [LOG_EVENTS] [LOG_NONLIN_SYS] [LOG_ZEROCROSSINGS] [LOG_DEBUG]
So basically, you can use: -lv LOG_DEBUG to have the most detailed information ( I think ).
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Page Start Prev 1 Next End
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Verbose options in C Code
There are 0 guests and 0 other users also viewing this topic