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.3.0-main/package.mo", uses=false) Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.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.0008185/0.0008185, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005103/0.005103, allocations: 169.1 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.1583/0.1583, allocations: 4.211 MB / 295.6 MB, free: 4.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 8.281 kB / 357.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08823/0.08853, allocations: 51.45 MB / 409.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001723/0.0903, allocations: 1.331 MB / 410.7 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.09146, allocations: 0.8528 MB / 411.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.732e-05/0.09153, allocations: 0 / 411.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005317/0.09207, allocations: 153.4 kB / 411.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.0922, allocations: 63.66 kB / 411.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.649e-05/0.09224, allocations: 11.92 kB / 411.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.09239, allocations: 131.4 kB / 411.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.09244, allocations: 13.11 kB / 411.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.09252, allocations: 43.73 kB / 412 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.09266, allocations: 67.73 kB / 412 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.0927, allocations: 7.938 kB / 412 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.09272, allocations: 12 kB / 412.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.09277, allocations: 23.83 kB / 412.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.09284, allocations: 81.36 kB / 412.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.09296, allocations: 95.84 kB / 412.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.09297, allocations: 0 / 412.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.09297, allocations: 0 / 412.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.09298, allocations: 0 / 412.3 MB, free: 12.05 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.0007398/0.09373, allocations: 446.8 kB / 412.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.09378, allocations: 12.03 kB / 412.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.09383, allocations: 38.67 kB / 412.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.09388, allocations: 20.69 kB / 412.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.09412, allocations: 232.9 kB / 413 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.09414, allocations: 8.375 kB / 413 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.09416, allocations: 4.375 kB / 413 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.09427, allocations: 45.81 kB / 413 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.09429, allocations: 0 / 413 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.0943, allocations: 0 / 413 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.09431, allocations: 4 kB / 413.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.833e-05/0.09438, allocations: 19.98 kB / 413.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.09481, allocations: 316.7 kB / 413.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.09512, allocations: 58.61 kB / 413.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.64e-05/0.09517, allocations: 16.84 kB / 413.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.09519, allocations: 0 / 413.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.09522, allocations: 38.56 kB / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.09523, allocations: 0 / 413.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002273/0.09546, allocations: 73.44 kB / 413.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.09551, allocations: 51.41 kB / 413.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.09577, allocations: 232.8 kB / 413.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.0958, allocations: 25.7 kB / 413.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.09589, allocations: 116.1 kB / 414 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.09591, allocations: 11.8 kB / 414 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.09594, allocations: 13.72 kB / 414 MB, free: 10.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.09606, allocations: 326.8 kB / 414.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.09609, allocations: 12 kB / 414.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/0.09612, allocations: 11.98 kB / 414.3 MB, free: 9.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.393e-05/0.09618, allocations: 24.86 kB / 414.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.09619, allocations: 4 kB / 414.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001169/0.09631, allocations: 73.44 kB / 414.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.09633, allocations: 4 kB / 414.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.09634, allocations: 0 / 414.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.09636, allocations: 4 kB / 414.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.09648, allocations: 11.98 kB / 414.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-06/0.09649, allocations: 0 / 414.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.09661, allocations: 12.12 kB / 414.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.09662, allocations: 3.984 kB / 414.5 MB, free: 9.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.436e-05/0.09672, allocations: 125.7 kB / 414.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.938e-05/0.09677, allocations: 19.81 kB / 414.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.254e-05/0.09682, allocations: 12.94 kB / 414.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.09682, allocations: 0 / 414.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.09683, allocations: 3.984 kB / 414.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.09684, allocations: 0 / 414.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.09705, allocations: 209.5 kB / 414.8 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.09706, allocations: 3.938 kB / 414.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.09716, allocations: 15.92 kB / 414.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.09718, allocations: 4 kB / 414.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.09719, allocations: 4 kB / 414.9 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.0972, allocations: 3.984 kB / 414.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.0972, allocations: 0 / 414.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.09736, allocations: 167.5 kB / 415 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.09743, allocations: 93 kB / 415.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.09746, allocations: 0 / 415.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.09762, allocations: 4 kB / 415.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2e-05/0.09765, allocations: 11.98 kB / 415.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.09766, allocations: 0 / 415.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.09784, allocations: 180.5 kB / 415.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09784, allocations: 0 / 415.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.09808, allocations: 16 kB / 415.3 MB, free: 8.633 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004128/0.0985, allocations: 0.6966 MB / 416 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.09862, allocations: 31.98 kB / 416.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.09863, allocations: 4 kB / 416.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.841e-05/0.09867, allocations: 15.94 kB / 416.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.09902, allocations: 15.98 kB / 416.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.1012, allocations: 1.939 MB / 418 MB, free: 5.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.1014, allocations: 0.7082 MB / 418.7 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.1015, allocations: 4.438 kB / 418.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.1016, allocations: 43.41 kB / 418.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1016, allocations: 0 / 418.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.114, allocations: 2.725 MB / 421.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.1142, allocations: 176.4 kB / 421.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/1.872, allocations: 4 kB / 421.7 MB, free: 2.16 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/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)