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: translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.337/1.337, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.1714/0.1714, allocations: 4.216 MB / 294.6 MB, free: 3.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002294/0.002294, allocations: 67.89 kB / 356.1 MB, free: 2.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1446, allocations: 50.45 MB / 406.5 MB, free: 400 kB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.004419/0.1491, allocations: 1.619 MB / 408.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1512, allocations: 0.8759 MB / 409 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1513, allocations: 0 / 409 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009418/0.1523, allocations: 169.4 kB / 409.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002346/0.1525, allocations: 59.55 kB / 409.3 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.628e-05/0.1526, allocations: 7.984 kB / 409.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1529, allocations: 147.3 kB / 409.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.153, allocations: 9.125 kB / 409.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1531, allocations: 55.77 kB / 409.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1533, allocations: 75.61 kB / 409.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.1534, allocations: 8 kB / 409.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-05/0.1534, allocations: 8 kB / 409.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1535, allocations: 23.91 kB / 409.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1536, allocations: 55.61 kB / 409.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002161/0.1539, allocations: 99.86 kB / 409.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1539, allocations: 0 / 409.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.1539, allocations: 3.938 kB / 409.7 MB, free: 13.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1539, allocations: 3.938 kB / 409.7 MB, free: 13.16 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.001189/0.1551, allocations: 466.7 kB / 410.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.1552, allocations: 8.031 kB / 410.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.1553, allocations: 16.75 kB / 410.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003672/0.1556, allocations: 240.9 kB / 410.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1557, allocations: 4.375 kB / 410.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.1557, allocations: 384 / 410.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1559, allocations: 49.94 kB / 410.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1559, allocations: 0 / 410.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1559, allocations: 4 kB / 410.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1559, allocations: 8 kB / 410.5 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.156, allocations: 15.98 kB / 410.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.1567, allocations: 320.7 kB / 410.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000448/0.1571, allocations: 54.61 kB / 410.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.838e-05/0.1572, allocations: 16.8 kB / 410.9 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.1573, allocations: 4 kB / 410.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.1573, allocations: 34.56 kB / 411 MB, free: 11.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.1573, allocations: 0 / 411 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003073/0.1576, allocations: 69.58 kB / 411 MB, free: 11.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.1577, allocations: 51.41 kB / 411.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.1581, allocations: 232.8 kB / 411.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1581, allocations: 25.7 kB / 411.3 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.1583, allocations: 116 kB / 411.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1583, allocations: 19.8 kB / 411.5 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.553e-05/0.1584, allocations: 17.7 kB / 411.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1585, allocations: 330.8 kB / 411.8 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1586, allocations: 8 kB / 411.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.1586, allocations: 12 kB / 411.8 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.1587, allocations: 36.78 kB / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1588, allocations: 0 / 411.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001959/0.159, allocations: 65.59 kB / 411.9 MB, free: 10.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.159, allocations: 4 kB / 411.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.159, allocations: 4 kB / 411.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.1591, allocations: 0 / 411.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.1593, allocations: 19.92 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1593, allocations: 0 / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.1595, allocations: 7.844 kB / 412 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1595, allocations: 4 kB / 412 MB, free: 10.72 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 0.0001161/0.1596, allocations: 118.4 kB / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.1597, allocations: 11.89 kB / 412.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.1598, allocations: 20.94 kB / 412.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1598, allocations: 7.938 kB / 412.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1598, allocations: 0 / 412.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1598, allocations: 0 / 412.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/0.1602, allocations: 213.5 kB / 412.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1602, allocations: 0 / 412.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.1604, allocations: 11.98 kB / 412.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1604, allocations: 192 / 412.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1604, allocations: 0 / 412.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1604, allocations: 0 / 412.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1604, allocations: 4.188 kB / 412.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.1607, allocations: 179.2 kB / 412.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.1608, allocations: 96.91 kB / 412.6 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.1609, allocations: 4 kB / 412.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.1612, allocations: 4 kB / 412.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.1612, allocations: 3.984 kB / 412.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1612, allocations: 4 kB / 412.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002986/0.1615, allocations: 180.5 kB / 412.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1615, allocations: 4 kB / 412.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004556/0.162, allocations: 16 kB / 412.8 MB, free: 9.758 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.0001198/0.1621, allocations: 91.25 kB / 412.9 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1623, allocations: 35.92 kB / 412.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1624, allocations: 0 / 412.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.1624, allocations: 12 kB / 413 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.1631, allocations: 19.92 kB / 413 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.1643, allocations: 296.6 kB / 413.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1647, allocations: 0.7002 MB / 414 MB, free: 8.547 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.591e-05/0.1648, allocations: 12.42 kB / 414 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.1649, allocations: 23.42 kB / 414 MB, free: 8.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1649, allocations: 0 / 414 MB, free: 8.512 MB / 350.1 MB Notification: Performance of Templates: time 0.005819/0.1707, allocations: 1.283 MB / 415.3 MB, free: 7.234 MB / 350.1 MB make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile (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 & ./MagLev_MagLev.Examples.SteadyStateCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1)