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.005238/0.005238, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001167/0.001167, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.373/1.373, allocations: 222.9 MB / 240.4 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.8069/0.8069, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 62.2 kB / 0.5813 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1641, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002908/0.1671, allocations: 1.44 MB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003237/0.1674, allocations: 100.6 kB / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.1674, allocations: 0 / 0.6612 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.1675, allocations: 3.938 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.1675, allocations: 3.938 kB / 0.6612 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.1678, allocations: 15.98 kB / 0.6612 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.793e-05/0.1678, allocations: 27.91 kB / 0.6612 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.766e-05/0.1679, allocations: 11.92 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.665e-05/0.168, allocations: 8 kB / 0.6612 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.343e-05/0.168, allocations: 15.92 kB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1681, allocations: 4 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.1681, allocations: 15.98 kB / 0.6613 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.1681, allocations: 7.938 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1682, allocations: 7.938 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.1683, allocations: 39.81 kB / 0.6613 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1683, allocations: 4 kB / 0.6613 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1683, allocations: 0 / 0.6613 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.1683, allocations: 0 / 0.6613 GB, free: 8.523 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.0004416/0.1688, allocations: 339.4 kB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1688, allocations: 16.03 kB / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.169, allocations: 16.88 kB / 0.6617 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1691, allocations: 164.4 kB / 0.6618 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1691, allocations: 4.312 kB / 0.6619 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.1692, allocations: 4.375 kB / 0.6619 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1693, allocations: 54.23 kB / 0.6619 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1694, allocations: 4.188 kB / 0.6619 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1694, allocations: 3.938 kB / 0.6619 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1694, allocations: 4 kB / 0.6619 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.1696, allocations: 43.94 kB / 0.662 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.17, allocations: 261 kB / 0.6622 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1701, allocations: 58.42 kB / 0.6623 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1703, allocations: 28.89 kB / 0.6623 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.1703, allocations: 4 kB / 0.6623 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1703, allocations: 30.56 kB / 0.6623 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1703, allocations: 0 / 0.6623 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004128/0.1707, allocations: 109.6 kB / 0.6624 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1708, allocations: 55.34 kB / 0.6625 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.1709, allocations: 105.8 kB / 0.6626 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1709, allocations: 25.7 kB / 0.6626 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.171, allocations: 84.14 kB / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.171, allocations: 7.938 kB / 0.6627 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.171, allocations: 13.72 kB / 0.6627 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1712, allocations: 319 kB / 0.663 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.1713, allocations: 23.97 kB / 0.663 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.1714, allocations: 19.98 kB / 0.6631 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.1716, allocations: 48.81 kB / 0.6631 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1716, allocations: 4.062 kB / 0.6631 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002359/0.1718, allocations: 85.58 kB / 0.6632 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1718, allocations: 4 kB / 0.6632 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1718, allocations: 11.81 kB / 0.6632 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1719, allocations: 4 kB / 0.6632 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.172, allocations: 8.234 kB / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.172, allocations: 0 / 0.6632 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.983e-05/0.172, allocations: 23.95 kB / 0.6632 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1721, allocations: 0 / 0.6632 GB, free: 6.348 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 7.517e-05/0.1721, allocations: 113.8 kB / 0.6633 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1722, allocations: 4 kB / 0.6633 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.233e-05/0.1722, allocations: 3.531 kB / 0.6634 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1722, allocations: 3.984 kB / 0.6634 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1722, allocations: 3.984 kB / 0.6634 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1722, allocations: 0 / 0.6634 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1724, allocations: 177.5 kB / 0.6635 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1724, allocations: 0 / 0.6635 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.1725, allocations: 11.98 kB / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1725, allocations: 0 / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1725, allocations: 0 / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1725, allocations: 0 / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1725, allocations: 0 / 0.6635 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.1728, allocations: 183.4 kB / 0.6637 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.1728, allocations: 81.11 kB / 0.6638 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.1729, allocations: 0 / 0.6638 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.352e-05/0.1729, allocations: 7.984 kB / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.173, allocations: 4 kB / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.173, allocations: 0 / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.684e-05/0.173, allocations: 83.28 kB / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.173, allocations: 32 / 0.6639 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002068/0.1733, allocations: 8 kB / 0.6639 GB, free: 5.574 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.0001113/0.1734, allocations: 103.2 kB / 0.664 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002716/0.1737, allocations: 43.95 kB / 0.664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1737, allocations: 0 / 0.664 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1738, allocations: 35.97 kB / 0.6641 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1741, allocations: 7.938 kB / 0.6641 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.1744, allocations: 117.4 kB / 0.6642 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1747, allocations: 0.6807 MB / 0.6648 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.1747, allocations: 64 / 0.6648 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.1747, allocations: 15.38 kB / 0.6649 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1747, allocations: 0 / 0.6649 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of Templates: time 0.002417/0.1772, allocations: 0.5764 MB / 0.6654 GB, free: 3.938 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)