You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Compiler/Main/Main.mo
+8-9Lines changed: 8 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1069,28 +1069,27 @@ algorithm
1069
1069
print("\t Model_functions.cpp the model functions C++ code\n");
1070
1070
print("\t Model.makefile the makefile to compile the model.\n");
1071
1071
print("\t Model_init.xml the initial values for parameters and start values\n");
1072
-
print("\t+d=interactive will start omc as a server listening on the socket interface\n");
1073
-
print("\t+d=interactiveCorba will start omc as a server listening on the Corba interface\n");
1072
+
print("\t+d=interactive start omc as a server listening on the socket interface\n");
1073
+
print("\t+d=interactiveCorba start omc as a server listening on the Corba interface\n");
1074
1074
print("\t+c=corbaName works togheter with +d=interactiveCorba;\n");
1075
1075
print("\t will start omc with a different Corba session name; \n");
1076
1076
print("\t this way multiple omc compilers can be started\n");
1077
-
print("\t+s generate simulation code\n");
1078
-
print("\t+annotationVersion=1.x what annotation version should we use\n");
1077
+
print("\t+annotationVersion=1.x what annotation version should be used\n");
1079
1078
print("\t accept 1.x or 2.x (default) or 3.x\n");
1080
1079
print("\t+noSimplify do not simplify expressions (default is to simplify)\n");
1081
1080
print("\t+preOptModules=module1,.. pre optimisation modules (default is removeFinalParameters,removeEqualFunctionCalls,removeSimpleEquations,expandDerOperator)\n");
1082
1081
print("\t+pastOptModules=module1,.. past optimisation modules (default is lateInline,inlineArrayEqn,removeSimpleEquations)\n");
1083
1082
print("\t+indexReductionMethod=method index reduction method (default is dummyDerivative)\n");
1084
-
print("\t+q run in quiet mode, output nothing\n");
1083
+
//print("\t+q run in quiet mode, output nothing\n");
1085
1084
print("\t+g=MetaModelica accept MetaModelica grammar and semantics\n");
1086
1085
print("\t+showErrorMessages show error messages while they happen; default to no. \n");
1087
1086
print("\t+showAnnotations show annotations in the flat modelica output.\n");
1088
1087
print("\t+orderConnections=false disables alphabetical ordering of connections; default is true.\n");
1089
-
print("\t+d=flags set debug flags: \n");
1088
+
print("\t+d=flags set debug flags, where flags is a comma-delimited list: \n");
1090
1089
print("\t+d=bltdump dump the blt form\n");
1091
1090
print("\t+d=failtrace prints a lot of error messages; use if your model fails; see also below.\n");
1092
1091
print("\t+d=parsedump dump the parsing tree\n");
1093
-
print("\t+d=parseonly will only parse the given file and exit\n");
1092
+
//print("\t+d=parseonly will only parse the given file and exit\n");
1094
1093
print("\t+d=dynload display debug information about dynamic loading of compiled functions\n");
1095
1094
print("\t+d=nogen do not use the dynamic loading.\n");
1096
1095
print("\t+d=usedep use dependency analysis to speed up the compilation. [experimental].\n");
@@ -1105,14 +1104,14 @@ algorithm
1105
1104
print("\n");
1106
1105
print("* Examples:\n");
1107
1106
print("\tomc Model.mo will produce flattened Model on standard output\n");
1108
-
print("\tomc Model.mof will produce flattened Model on standard output\n");
1107
+
//print("\tomc Model.mof will produce flattened Model on standard output\n");
1109
1108
print("\tomc Script.mos will run the commands from Script.mos\n");
1110
1109
print("\tomc Model.mo Modelica will first load the Modelica library and then produce \n");
1111
1110
print("\t flattened Model on standard output\n");
1112
1111
print("\tomc Model1.mo Model2.mo will load both Model1.mo and Model2.mo, and produce \n");
1113
1112
print("\t flattened Model1 on standard output\n");
0 commit comments