Skip to content

Commit

Permalink
- Updated the OMC usage text.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9949 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed Sep 27, 2011
1 parent e26d09a commit 9741244
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions Compiler/Main/Main.mo
Expand Up @@ -1069,28 +1069,27 @@ algorithm
print("\t Model_functions.cpp the model functions C++ code\n");
print("\t Model.makefile the makefile to compile the model.\n");
print("\t Model_init.xml the initial values for parameters and start values\n");
print("\t+d=interactive will start omc as a server listening on the socket interface\n");
print("\t+d=interactiveCorba will start omc as a server listening on the Corba interface\n");
print("\t+d=interactive start omc as a server listening on the socket interface\n");
print("\t+d=interactiveCorba start omc as a server listening on the Corba interface\n");
print("\t+c=corbaName works togheter with +d=interactiveCorba;\n");
print("\t will start omc with a different Corba session name; \n");
print("\t this way multiple omc compilers can be started\n");
print("\t+s generate simulation code\n");
print("\t+annotationVersion=1.x what annotation version should we use\n");
print("\t+annotationVersion=1.x what annotation version should be used\n");
print("\t accept 1.x or 2.x (default) or 3.x\n");
print("\t+noSimplify do not simplify expressions (default is to simplify)\n");
print("\t+preOptModules=module1,.. pre optimisation modules (default is removeFinalParameters,removeEqualFunctionCalls,removeSimpleEquations,expandDerOperator)\n");
print("\t+pastOptModules=module1,.. past optimisation modules (default is lateInline,inlineArrayEqn,removeSimpleEquations)\n");
print("\t+indexReductionMethod=method index reduction method (default is dummyDerivative)\n");
print("\t+q run in quiet mode, output nothing\n");
//print("\t+q run in quiet mode, output nothing\n");
print("\t+g=MetaModelica accept MetaModelica grammar and semantics\n");
print("\t+showErrorMessages show error messages while they happen; default to no. \n");
print("\t+showAnnotations show annotations in the flat modelica output.\n");
print("\t+orderConnections=false disables alphabetical ordering of connections; default is true.\n");
print("\t+d=flags set debug flags: \n");
print("\t+d=flags set debug flags, where flags is a comma-delimited list: \n");
print("\t+d=bltdump dump the blt form\n");
print("\t+d=failtrace prints a lot of error messages; use if your model fails; see also below.\n");
print("\t+d=parsedump dump the parsing tree\n");
print("\t+d=parseonly will only parse the given file and exit\n");
//print("\t+d=parseonly will only parse the given file and exit\n");
print("\t+d=dynload display debug information about dynamic loading of compiled functions\n");
print("\t+d=nogen do not use the dynamic loading.\n");
print("\t+d=usedep use dependency analysis to speed up the compilation. [experimental].\n");
Expand All @@ -1105,14 +1104,14 @@ algorithm
print("\n");
print("* Examples:\n");
print("\tomc Model.mo will produce flattened Model on standard output\n");
print("\tomc Model.mof will produce flattened Model on standard output\n");
//print("\tomc Model.mof will produce flattened Model on standard output\n");
print("\tomc Script.mos will run the commands from Script.mos\n");
print("\tomc Model.mo Modelica will first load the Modelica library and then produce \n");
print("\t flattened Model on standard output\n");
print("\tomc Model1.mo Model2.mo will load both Model1.mo and Model2.mo, and produce \n");
print("\t flattened Model1 on standard output\n");
print("\t*.mo (Modelica files) \n");
print("\t*.mof (Flat Modelica files) \n");
//print("\t*.mof (Flat Modelica files) \n");
print("\t*.mos (Modelica Script files) \n");
end printUsage;

Expand Down

0 comments on commit 9741244

Please sign in to comment.