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.001169/0.001169, allocations: 101 kB / 16.4 MB, free: 6.461 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.001049/0.001049, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8207/0.8207, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 65 kB / 0.5863 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1574, allocations: 80.92 MB / 0.6653 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002545/0.16, allocations: 1.43 MB / 0.6667 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002608/0.1603, allocations: 104.5 kB / 0.6668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.1603, allocations: 0 / 0.6668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.825e-05/0.1604, allocations: 0 / 0.6668 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.413e-05/0.1604, allocations: 7.875 kB / 0.6668 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/0.1606, allocations: 19.92 kB / 0.6668 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.1607, allocations: 23.92 kB / 0.6668 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.1608, allocations: 7.984 kB / 0.6669 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.1608, allocations: 11.94 kB / 0.6669 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.884e-05/0.1609, allocations: 11.98 kB / 0.6669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.1609, allocations: 4 kB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.65e-05/0.161, allocations: 23.98 kB / 0.6669 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.161, allocations: 7.922 kB / 0.6669 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.161, allocations: 7.938 kB / 0.6669 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1611, allocations: 35.89 kB / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1611, allocations: 0 / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1611, allocations: 0 / 0.667 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.1611, allocations: 0 / 0.667 GB, free: 4.074 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.000421/0.1616, allocations: 347.3 kB / 0.6673 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.1616, allocations: 13.11 kB / 0.6673 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.1618, allocations: 12.92 kB / 0.6673 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1619, allocations: 164.4 kB / 0.6675 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1619, allocations: 384 / 0.6675 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1619, allocations: 8.375 kB / 0.6675 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1621, allocations: 58.22 kB / 0.6675 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1621, allocations: 4.125 kB / 0.6675 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1622, allocations: 3.938 kB / 0.6675 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1622, allocations: 4 kB / 0.6675 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.1624, allocations: 51.94 kB / 0.6676 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.1627, allocations: 256.9 kB / 0.6678 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1629, allocations: 54.48 kB / 0.6679 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.1631, allocations: 32.89 kB / 0.6679 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.1631, allocations: 0 / 0.6679 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1631, allocations: 38.5 kB / 0.668 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.1631, allocations: 0 / 0.668 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004387/0.1636, allocations: 101.6 kB / 0.6681 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1636, allocations: 51.41 kB / 0.6681 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.1637, allocations: 109.8 kB / 0.6682 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1637, allocations: 29.7 kB / 0.6682 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.1637, allocations: 80.14 kB / 0.6683 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1638, allocations: 11.83 kB / 0.6683 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.1638, allocations: 17.72 kB / 0.6683 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.512e-05/0.1639, allocations: 315 kB / 0.6686 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.164, allocations: 27.97 kB / 0.6687 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1641, allocations: 23.92 kB / 0.6687 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1643, allocations: 48.81 kB / 0.6687 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1644, allocations: 8 kB / 0.6687 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002446/0.1646, allocations: 81.58 kB / 0.6688 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1646, allocations: 7.938 kB / 0.6688 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1646, allocations: 4 kB / 0.6688 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1647, allocations: 0 / 0.6688 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1648, allocations: 7.984 kB / 0.6688 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1648, allocations: 4 kB / 0.6688 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.1649, allocations: 16.02 kB / 0.6689 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.1649, allocations: 0 / 0.6689 GB, free: 1.895 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 6.801e-05/0.1649, allocations: 111.1 kB / 0.669 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.165, allocations: 12.09 kB / 0.669 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.165, allocations: 3.531 kB / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.165, allocations: 0 / 0.669 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.165, allocations: 7.984 kB / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.165, allocations: 0 / 0.669 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1652, allocations: 169.6 kB / 0.6692 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1652, allocations: 4 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.1653, allocations: 11.98 kB / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1653, allocations: 0 / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1653, allocations: 0 / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1653, allocations: 0 / 0.6692 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1653, allocations: 4 kB / 0.6692 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1656, allocations: 179.4 kB / 0.6693 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/0.1657, allocations: 81.11 kB / 0.6694 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1657, allocations: 0 / 0.6694 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.632e-05/0.1658, allocations: 7.984 kB / 0.6694 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1658, allocations: 0 / 0.6694 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.1658, allocations: 4 kB / 0.6694 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.1659, allocations: 87.22 kB / 0.6695 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1659, allocations: 0 / 0.6695 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002259/0.1661, allocations: 8.031 kB / 0.6695 GB, free: 1.125 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.0001044/0.1662, allocations: 99.23 kB / 0.6696 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1665, allocations: 47.95 kB / 0.6697 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1665, allocations: 0 / 0.6697 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1666, allocations: 32.03 kB / 0.6697 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1669, allocations: 7.938 kB / 0.6697 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.1673, allocations: 155 kB / 0.6698 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002085/0.1675, allocations: 0.6768 MB / 0.6705 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.1676, allocations: 15.38 kB / 0.6705 GB, free: 28 kB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1676, allocations: 4 kB / 0.6705 GB, free: 24 kB / 0.4981 GB Notification: Performance of Templates: time 0.001822/0.1694, allocations: 0.6485 MB / 0.6712 GB, free: 15.38 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)