Skip to content

Instantly share code, notes, and snippets.

@andik
Created September 2, 2015 07:22
Show Gist options
  • Save andik/49b951e9234511f00e04 to your computer and use it in GitHub Desktop.
Save andik/49b951e9234511f00e04 to your computer and use it in GitHub Desktop.
Openmodelica Simulation Runtime Command Line Parameters (version 1.9.1)
Command Line Parameters of Openmodelica (1.9.1) generated Simulation Binaries
<-abortSlowSimulation>
aborts if the simulation chatters
<-alarm=value> or <-alarm value>
aborts after the given number of seconds (0 disables)
<-clock=value> or <-clock value>
selects the type of clock to use -clock=RT, -clock=CYC or -clock=CPU
<-cpu>
dumps the cpu-time into the results-file
<-emit_protected>
emits protected variables to the result-file
<-f=value> or <-f value>
value specifies a new setup XML file to the generated simulation code
<-help=value> or <-help value>
get detailed information that specifies the command-line flag
<-iif=value> or <-iif value>
value specifies an external file for the initialization of the model
<-iim=value> or <-iim value>
value specifies the initialization method
<-iit=value> or <-iit value>
[double] value specifies a time for the initialization of the model
<-ils=value> or <-ils value>
[int] default: 1
<-exInputFile=value> or <-exInputFile value>
value specifies an external file with inputs for the simulation/optimization of the model
<-stateFile=value> or <-stateFile value>
value specifies an file with states start values for the optimization of the model
<-interactive>
specify interactive simulation
<-iom=value> or <-iom value>
value specifies the initialization optimization method
<-ipopt_hesse=value> or <-ipopt_hesse value>
value specifies the hessian for Ipopt
<-ipopt_jac=value> or <-ipopt_jac value>
value specifies the jacobian for Ipopt
<-ipopt_init=value> or <-ipopt_init value>
value specifies the initial guess for optimization
<-ipopt_max_iter=value> or <-ipopt_max_iter value>
value specifies the max number of iteration for ipopt
<-ipopt_warm_start=value> or <-ipopt_warm_start value>
value specifies lvl for a warm start in ipopt: 1,2,3,...
<-l=value> or <-l value>
value specifies a time where the linearization of the model should be performed
<-logFormat=value> or <-logFormat value>
value specifies the log format of the executable. -logFormat=text (default) or -logFormat=xml
<-ls=value> or <-ls value>
value specifies the linear solver method
<-ls_ipopt=value> or <-ls_ipopt value>
value specifies the linear solver method for ipopt
<-lv=value> or <-lv value>
[string list] value specifies the logging level
<-maxStepSize=value> or <-maxStepSize value>
value specifies maximum absolute step size, used by dassl solver
<-maxIntegrationOrder=value> or <-maxIntegrationOrder value>
value specifies maximum integration order, used by dassl solver
<-measureTimePlotFormat=value> or <-measureTimePlotFormat value>
value specifies the output format of the measure time functionality
<-newton=value> or <-newton value>
value specifies the damping strategy for the newton solver
<-nls=value> or <-nls value>
value specifies the nonlinear solver
<-noemit>
do not emit any results to the result file
<-noEventEmit>
do not emit event points to the result file
<-output=value> or <-output value>
output the variables a, b and c at the end of the simulation to the standard output
<-override=value> or <-override value>
override the variables or the simulation settings in the XML setup file
<-overrideFile=value> or <-overrideFile value>
will override the variables or the simulation settings in the XML setup file with the values from the file
<-optimizerNP=value> or <-optimizerNP value>
value specifies the number of points in a subinterval
<-keepHessian=value> or <-keepHessian value>
value specifies the number of steps, which keep hessian matrix constant
<-port=value> or <-port value>
value specifies interactive simulation port
<-r=value> or <-r value>
value specifies a new result file than the default Model_res.mat
<-s=value> or <-s value>
value specifies the solver
<-w>
shows all warnings even if a related log-stream is inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment