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.001155/0.001155, allocations: 106.4 kB / 16.41 MB, free: 6.492 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.001181/0.001181, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8256/0.8256, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.22 kB / 0.582 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1564, 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.002289/0.1587, allocations: 1.419 MB / 0.6617 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.159, allocations: 100.5 kB / 0.6618 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1591, allocations: 0 / 0.6618 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.1591, allocations: 0 / 0.6618 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.341e-05/0.1592, allocations: 11.92 kB / 0.6618 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.1593, allocations: 11.98 kB / 0.6618 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.1594, allocations: 27.91 kB / 0.6619 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.1595, allocations: 4 kB / 0.6619 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.1596, allocations: 11.94 kB / 0.6619 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.028e-05/0.1596, allocations: 11.98 kB / 0.6619 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1596, allocations: 0 / 0.6619 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.1597, allocations: 27.98 kB / 0.6619 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.1597, allocations: 3.938 kB / 0.6619 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.1598, allocations: 15.86 kB / 0.6619 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.778e-05/0.1599, allocations: 35.89 kB / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1599, allocations: 0 / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.452e-06/0.1599, allocations: 0 / 0.662 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.1599, allocations: 0 / 0.662 GB, free: 8.582 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.0004424/0.1603, allocations: 347.3 kB / 0.6623 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1604, allocations: 8.031 kB / 0.6623 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.1606, allocations: 20.91 kB / 0.6623 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1607, allocations: 164.3 kB / 0.6625 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.1607, allocations: 4.375 kB / 0.6625 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.1607, allocations: 4.359 kB / 0.6625 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1609, allocations: 62.22 kB / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1609, allocations: 192 / 0.6626 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.161, allocations: 3.938 kB / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.161, allocations: 0 / 0.6626 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1612, allocations: 47.95 kB / 0.6626 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1616, allocations: 264.9 kB / 0.6629 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.1618, allocations: 50.48 kB / 0.6629 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.1619, allocations: 36.89 kB / 0.6629 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1619, allocations: 0 / 0.6629 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.162, allocations: 34.56 kB / 0.663 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.162, allocations: 0 / 0.663 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003888/0.1624, allocations: 109.7 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1624, allocations: 51.41 kB / 0.6631 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.1625, allocations: 105.8 kB / 0.6632 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1625, allocations: 25.7 kB / 0.6633 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.1625, allocations: 84.14 kB / 0.6633 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.1626, allocations: 11.84 kB / 0.6634 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.1626, allocations: 9.719 kB / 0.6634 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1627, allocations: 314.9 kB / 0.6637 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1628, allocations: 31.97 kB / 0.6637 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.1629, allocations: 23.97 kB / 0.6637 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.1631, allocations: 48.81 kB / 0.6638 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1631, allocations: 3.938 kB / 0.6638 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002346/0.1634, allocations: 85.59 kB / 0.6638 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1634, allocations: 8 kB / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1634, allocations: 0 / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1634, allocations: 0 / 0.6639 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1635, allocations: 11.98 kB / 0.6639 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1635, allocations: 0 / 0.6639 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.1636, allocations: 15.92 kB / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.1636, allocations: 0 / 0.6639 GB, free: 6.406 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 9.071e-05/0.1637, allocations: 125.7 kB / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1637, allocations: 0 / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.1638, allocations: 3.531 kB / 0.664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1638, allocations: 0 / 0.664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1638, allocations: 4 kB / 0.664 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1638, allocations: 0 / 0.664 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.164, allocations: 165.6 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.164, allocations: 0 / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.769e-05/0.1641, allocations: 15.98 kB / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1641, allocations: 0 / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.1641, allocations: 0 / 0.6642 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1641, allocations: 4 kB / 0.6642 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1641, allocations: 3.938 kB / 0.6642 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1644, allocations: 179.4 kB / 0.6644 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1644, allocations: 81.02 kB / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1644, allocations: 256 / 0.6644 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.431e-05/0.1645, allocations: 11.98 kB / 0.6644 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1646, allocations: 8 kB / 0.6645 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1646, allocations: 0 / 0.6645 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.1646, allocations: 83.27 kB / 0.6645 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 0.6645 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002182/0.1649, allocations: 8 kB / 0.6645 GB, free: 5.625 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.0001093/0.165, allocations: 99.28 kB / 0.6646 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1652, allocations: 51.89 kB / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1652, allocations: 0 / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1654, allocations: 27.97 kB / 0.6647 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.1656, allocations: 12.06 kB / 0.6647 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.166, allocations: 147.1 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002432/0.1662, allocations: 0.6807 MB / 0.6655 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.1663, allocations: 7.438 kB / 0.6655 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1663, allocations: 0 / 0.6655 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of Templates: time 0.001778/0.1681, allocations: 0.6485 MB / 0.6662 GB, free: 3.891 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)