Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo", uses=false) Using package MagLev with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008316/0.0008318, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009677/0.0009678, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo): time 0.2369/0.2369, allocations: 3.912 MB / 295 MB, free: 4.152 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 8 kB / 356.9 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1102, allocations: 51.37 MB / 408.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001895/0.1122, allocations: 1.297 MB / 409.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1133, allocations: 0.7989 MB / 410.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.181e-05/0.1134, allocations: 4 kB / 410.4 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000456/0.1139, allocations: 143.3 kB / 410.6 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.114, allocations: 51.67 kB / 410.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.276e-05/0.114, allocations: 11.98 kB / 410.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.1142, allocations: 119.4 kB / 410.7 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.299e-05/0.1142, allocations: 9.109 kB / 410.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.1143, allocations: 43.8 kB / 410.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.1145, allocations: 71.66 kB / 410.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.1145, allocations: 12 kB / 410.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.061e-05/0.1145, allocations: 4 kB / 410.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/0.1146, allocations: 27.84 kB / 410.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.349e-05/0.1146, allocations: 41.64 kB / 410.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.506e-05/0.1147, allocations: 64.09 kB / 411 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1147, allocations: 0 / 411 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1147, allocations: 0 / 411 MB, free: 13.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.1147, allocations: 0 / 411 MB, free: 13.08 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008023/0.1156, allocations: 454.6 kB / 411.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.1156, allocations: 11.97 kB / 411.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.1157, allocations: 34.56 kB / 411.5 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1157, allocations: 15.77 kB / 411.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.116, allocations: 235.8 kB / 411.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.1161, allocations: 4 kB / 411.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1161, allocations: 4 kB / 411.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1162, allocations: 49.62 kB / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1162, allocations: 0 / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1163, allocations: 0 / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1163, allocations: 3.953 kB / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.249e-05/0.1163, allocations: 19.98 kB / 411.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.1168, allocations: 308.8 kB / 412.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.1171, allocations: 62.59 kB / 412.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.1172, allocations: 20.73 kB / 412.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1172, allocations: 4 kB / 412.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.1172, allocations: 34.55 kB / 412.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1172, allocations: 0 / 412.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002156/0.1175, allocations: 73.45 kB / 412.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1175, allocations: 55.41 kB / 412.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.1178, allocations: 232.8 kB / 412.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1178, allocations: 25.7 kB / 412.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.1179, allocations: 112 kB / 412.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.299e-05/0.1179, allocations: 11.91 kB / 412.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.1179, allocations: 0 / 412.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.118, allocations: 326.8 kB / 413.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.118, allocations: 11.94 kB / 413.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.1181, allocations: 12 kB / 413.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.1181, allocations: 12 kB / 413.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1181, allocations: 0 / 413.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001006/0.1182, allocations: 73.69 kB / 413.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1182, allocations: 4 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1182, allocations: 4 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1183, allocations: 3.953 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1184, allocations: 19.97 kB / 413.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1184, allocations: 0 / 413.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1185, allocations: 4 kB / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.1185, allocations: 0 / 413.2 MB, free: 10.65 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.1186, allocations: 121.8 kB / 413.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.1187, allocations: 11.81 kB / 413.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.1187, allocations: 20.92 kB / 413.3 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1187, allocations: 3.953 kB / 413.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1187, allocations: 0 / 413.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1187, allocations: 3.938 kB / 413.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1189, allocations: 209.5 kB / 413.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1189, allocations: 0 / 413.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.119, allocations: 15.97 kB / 413.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.119, allocations: 4 kB / 413.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1191, allocations: 4 kB / 413.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1191, allocations: 0 / 413.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1191, allocations: 7.891 kB / 413.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.1193, allocations: 159.4 kB / 413.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.1193, allocations: 96.84 kB / 413.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/0.1194, allocations: 8 kB / 413.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1195, allocations: 3.984 kB / 413.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.1195, allocations: 8 kB / 413.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.1196, allocations: 3.953 kB / 413.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1197, allocations: 176.5 kB / 414 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1197, allocations: 0 / 414 MB, free: 9.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.12, allocations: 20 kB / 414.1 MB, free: 9.691 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004368/0.1204, allocations: 0.6967 MB / 414.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1205, allocations: 27.92 kB / 414.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1205, allocations: 0 / 414.8 MB, free: 8.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.1206, allocations: 16.27 kB / 414.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1209, allocations: 16 kB / 414.8 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1224, allocations: 0.9249 MB / 415.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1227, allocations: 0.7043 MB / 416.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.293e-05/0.1228, allocations: 8.438 kB / 416.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.638e-05/0.1229, allocations: 39.41 kB / 416.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1229, allocations: 0 / 416.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.1352, allocations: 2.63 MB / 419.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/0.1354, allocations: 176.3 kB / 419.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.784, allocations: 3.938 kB / 419.3 MB, free: 4.379 MB / 350.1 MB (rm -f MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; mkfifo MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; head -c 1048576 < MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe >> ../files/MagLev_MagLev.Examples.SteadyStateCharacteristic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MagLev_MagLev_Examples_SteadyStateCharacteristic_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 MagLev_MagLev_Examples_SteadyStateCharacteristic.fmu > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) Environment - environmentSimulation: