Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001099/0.001099, allocations: 105 kB / 16.41 MB, free: 6.465 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.001147/0.001147, allocations: 187 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7645/0.7645, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.44 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1613, allocations: 80.22 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003053/0.1644, allocations: 1.44 MB / 0.6617 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003019/0.1647, allocations: 92.58 kB / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.109e-05/0.1648, allocations: 0 / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.1648, allocations: 3.938 kB / 0.6618 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.1649, allocations: 4 kB / 0.6618 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1651, allocations: 15.92 kB / 0.6619 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.986e-05/0.1652, allocations: 27.92 kB / 0.6619 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1653, allocations: 11.98 kB / 0.6619 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.759e-05/0.1654, allocations: 11.92 kB / 0.6619 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.1655, allocations: 7.984 kB / 0.6619 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1655, allocations: 4 kB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.655e-05/0.1655, allocations: 19.98 kB / 0.6619 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.1656, allocations: 7.938 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.1656, allocations: 11.94 kB / 0.662 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1657, allocations: 35.88 kB / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1657, allocations: 0 / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1657, allocations: 0 / 0.662 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.1658, allocations: 0 / 0.662 GB, free: 8.57 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.000609/0.1664, allocations: 343.4 kB / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1664, allocations: 8.031 kB / 0.6623 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.1666, allocations: 12.92 kB / 0.6623 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.1668, allocations: 172.3 kB / 0.6625 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.1668, allocations: 4.375 kB / 0.6625 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1668, allocations: 384 / 0.6625 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.167, allocations: 62.16 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.167, allocations: 4.125 kB / 0.6626 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.167, allocations: 3.938 kB / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.1671, allocations: 0 / 0.6626 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1673, allocations: 51.95 kB / 0.6626 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1677, allocations: 261 kB / 0.6629 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.1679, allocations: 54.48 kB / 0.6629 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.168, allocations: 28.89 kB / 0.663 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.168, allocations: 7.938 kB / 0.663 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.168, allocations: 34.56 kB / 0.663 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.168, allocations: 0 / 0.663 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004212/0.1685, allocations: 97.62 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1685, allocations: 55.53 kB / 0.6631 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.1686, allocations: 105.8 kB / 0.6632 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1686, allocations: 25.7 kB / 0.6633 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.1687, allocations: 84.14 kB / 0.6633 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.1687, allocations: 7.844 kB / 0.6634 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.1688, allocations: 17.72 kB / 0.6634 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1689, allocations: 314.8 kB / 0.6637 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.169, allocations: 23.98 kB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.442e-05/0.1691, allocations: 27.91 kB / 0.6637 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.1693, allocations: 56.75 kB / 0.6638 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1693, allocations: 0 / 0.6638 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002521/0.1695, allocations: 89.89 kB / 0.6639 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1696, allocations: 4 kB / 0.6639 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1696, allocations: 3.984 kB / 0.6639 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1696, allocations: 0 / 0.6639 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001103/0.1697, allocations: 15.98 kB / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1697, allocations: 0 / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.1698, allocations: 11.89 kB / 0.6639 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1698, allocations: 4 kB / 0.6639 GB, free: 6.391 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 8.273e-05/0.1699, allocations: 117.8 kB / 0.664 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1699, allocations: 0 / 0.664 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.17, allocations: 11.53 kB / 0.664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.17, allocations: 0 / 0.664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.17, allocations: 0 / 0.664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.17, allocations: 0 / 0.664 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.1702, allocations: 165.6 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1702, allocations: 0 / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.919e-05/0.1703, allocations: 11.98 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1703, allocations: 4 kB / 0.6642 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1703, allocations: 3.984 kB / 0.6642 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1703, allocations: 0 / 0.6642 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1703, allocations: 3.938 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.1706, allocations: 175.5 kB / 0.6644 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.1706, allocations: 85.05 kB / 0.6644 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.1707, allocations: 3.984 kB / 0.6645 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/0.1708, allocations: 8 kB / 0.6645 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.1708, allocations: 7.922 kB / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1708, allocations: 0 / 0.6645 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.1709, allocations: 83.28 kB / 0.6645 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 0 / 0.6645 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002232/0.1711, allocations: 8 kB / 0.6646 GB, free: 5.613 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.0001011/0.1712, allocations: 95.25 kB / 0.6646 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002552/0.1715, allocations: 55.94 kB / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1715, allocations: 0 / 0.6647 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1716, allocations: 23.98 kB / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.1719, allocations: 11.86 kB / 0.6647 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003517/0.1722, allocations: 155.2 kB / 0.6649 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.1725, allocations: 0.6807 MB / 0.6655 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.1725, allocations: 7.438 kB / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.1725, allocations: 0 / 0.6656 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.001951/0.1745, allocations: 0.6252 MB / 0.6662 GB, free: 3.895 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)