Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005869/0.005869, allocations: 104.6 kB / 15.73 MB, free: 5.578 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.001175/0.001175, allocations: 189.7 kB / 16.67 MB, free: 5.516 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8163/0.8163, allocations: 135.1 MB / 425.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 66.89 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1553, allocations: 80.94 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003272/0.1586, allocations: 1.419 MB / 0.666 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002988/0.159, allocations: 96.52 kB / 0.6661 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.952e-05/0.159, allocations: 4 kB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.1591, allocations: 0 / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.155e-05/0.1591, allocations: 3.938 kB / 0.6661 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1594, allocations: 19.92 kB / 0.6662 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.334e-05/0.1594, allocations: 23.92 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1596, allocations: 11.98 kB / 0.6662 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.247e-05/0.1596, allocations: 15.92 kB / 0.6662 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.514e-05/0.1597, allocations: 4 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1597, allocations: 0 / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.086e-05/0.1598, allocations: 19.98 kB / 0.6662 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.1598, allocations: 19.92 kB / 0.6662 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.1598, allocations: 7.938 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.16, allocations: 31.88 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.16, allocations: 4 kB / 0.6663 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.16, allocations: 7.938 kB / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.16, allocations: 0 / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005556/0.1606, allocations: 343.3 kB / 0.6666 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1606, allocations: 13.11 kB / 0.6666 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.1608, allocations: 20.92 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.161, allocations: 160.4 kB / 0.6668 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.161, allocations: 384 / 0.6668 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.161, allocations: 4.375 kB / 0.6668 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1612, allocations: 54.22 kB / 0.6669 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1612, allocations: 4.125 kB / 0.6669 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1612, allocations: 7.938 kB / 0.6669 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1613, allocations: 0 / 0.6669 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001896/0.1614, allocations: 47.95 kB / 0.6669 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1619, allocations: 264.9 kB / 0.6672 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.162, allocations: 54.48 kB / 0.6672 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.1621, allocations: 32.89 kB / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1622, allocations: 4 kB / 0.6673 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1622, allocations: 34.5 kB / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1622, allocations: 0 / 0.6673 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003781/0.1626, allocations: 101.7 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.1626, allocations: 55.41 kB / 0.6674 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/0.1627, allocations: 105.8 kB / 0.6675 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.1627, allocations: 25.7 kB / 0.6676 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.1628, allocations: 84.14 kB / 0.6677 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.1628, allocations: 7.844 kB / 0.6677 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1629, allocations: 13.72 kB / 0.6677 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.163, allocations: 314.8 kB / 0.668 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.1631, allocations: 24.02 kB / 0.668 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.1632, allocations: 31.91 kB / 0.668 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.1634, allocations: 48.81 kB / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.1634, allocations: 0 / 0.6681 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002267/0.1636, allocations: 93.58 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1636, allocations: 4 kB / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.1637, allocations: 0 / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1637, allocations: 0 / 0.6682 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1638, allocations: 11.98 kB / 0.6682 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.1638, allocations: 0 / 0.6682 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.1639, allocations: 11.98 kB / 0.6682 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1639, allocations: 4.031 kB / 0.6682 GB, free: 1.891 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.0001009/0.164, allocations: 113.7 kB / 0.6683 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.164, allocations: 7.906 kB / 0.6683 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.1641, allocations: 11.52 kB / 0.6683 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1641, allocations: 3.938 kB / 0.6683 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1641, allocations: 0 / 0.6683 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1641, allocations: 0 / 0.6683 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1643, allocations: 165.6 kB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1643, allocations: 256 / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.13e-05/0.1644, allocations: 23.98 kB / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1644, allocations: 0 / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1644, allocations: 0 / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1644, allocations: 0 / 0.6685 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1644, allocations: 3.984 kB / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1647, allocations: 175.5 kB / 0.6687 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.1647, allocations: 77.11 kB / 0.6687 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1647, allocations: 4 kB / 0.6688 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.321e-05/0.1648, allocations: 7.984 kB / 0.6688 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.1649, allocations: 3.984 kB / 0.6688 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1649, allocations: 3.938 kB / 0.6688 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.161e-05/0.1649, allocations: 87.28 kB / 0.6688 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1649, allocations: 0 / 0.6688 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002154/0.1652, allocations: 4 kB / 0.6689 GB, free: 1.117 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.0001235/0.1653, allocations: 100.6 kB / 0.6689 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1655, allocations: 51.94 kB / 0.669 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1656, allocations: 0 / 0.669 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.1657, allocations: 23.98 kB / 0.669 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.166, allocations: 16.05 kB / 0.669 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1664, allocations: 133.3 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1666, allocations: 0.6806 MB / 0.6698 GB, free: 56 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.262e-05/0.1667, allocations: 4 kB / 0.6698 GB, free: 52 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1667, allocations: 7.438 kB / 0.6698 GB, free: 44 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1667, allocations: 4 kB / 0.6698 GB, free: 40 kB / 0.4981 GB Notification: Performance of Templates: time 0.002885/0.1696, allocations: 0.5725 MB / 0.6704 GB, free: 15.47 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)