Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005142/0.005142, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001154/0.001154, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7748/0.7748, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 62.38 kB / 0.5814 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1543, allocations: 80.22 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002048/0.1564, allocations: 0.5786 MB / 0.6603 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003533/0.1568, allocations: 102.2 kB / 0.6604 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.115e-05/0.1568, allocations: 0 / 0.6604 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.1568, allocations: 0 / 0.6604 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.489e-05/0.1569, allocations: 0 / 0.6604 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.1571, allocations: 19.92 kB / 0.6604 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.771e-05/0.1572, allocations: 7.938 kB / 0.6604 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.1572, allocations: 0 / 0.6604 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.1573, allocations: 8 kB / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.1573, allocations: 7.969 kB / 0.6604 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.1573, allocations: 0 / 0.6604 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.1574, allocations: 16 kB / 0.6604 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.1574, allocations: 3.984 kB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.1575, allocations: 7.938 kB / 0.6604 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.411e-05/0.1575, allocations: 11.92 kB / 0.6605 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1576, allocations: 4 kB / 0.6605 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1576, allocations: 0 / 0.6605 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.1576, allocations: 0 / 0.6605 GB, free: 9.449 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.0003738/0.158, allocations: 319.9 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.158, allocations: 8.031 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.1582, allocations: 12.92 kB / 0.6608 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.488e-05/0.1583, allocations: 164.3 kB / 0.6609 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.1583, allocations: 4.375 kB / 0.6609 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.1583, allocations: 4.375 kB / 0.661 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1584, allocations: 34.25 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.1584, allocations: 192 / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1585, allocations: 3.938 kB / 0.661 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1585, allocations: 4 kB / 0.661 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/0.1586, allocations: 11.98 kB / 0.661 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.1587, allocations: 157.7 kB / 0.6612 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.1589, allocations: 50.52 kB / 0.6612 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.403e-05/0.1589, allocations: 8.922 kB / 0.6612 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.159, allocations: 3.984 kB / 0.6612 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.159, allocations: 42.56 kB / 0.6613 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.728e-06/0.159, allocations: 0 / 0.6613 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002134/0.1592, allocations: 57.61 kB / 0.6613 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1593, allocations: 59.28 kB / 0.6614 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.913e-05/0.1593, allocations: 89.86 kB / 0.6615 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.1593, allocations: 29.7 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.1594, allocations: 80.14 kB / 0.6616 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1594, allocations: 7.844 kB / 0.6616 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1594, allocations: 25.7 kB / 0.6616 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1596, allocations: 310.8 kB / 0.6619 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.1596, allocations: 4 kB / 0.6619 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.1596, allocations: 11.98 kB / 0.6619 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.237e-05/0.1597, allocations: 20.84 kB / 0.6619 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1597, allocations: 0 / 0.6619 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001048/0.1598, allocations: 49.59 kB / 0.662 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1599, allocations: 17.5 kB / 0.662 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1599, allocations: 0 / 0.662 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1599, allocations: 3.938 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.1602, allocations: 43.92 kB / 0.662 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.1615, allocations: 1.394 MB / 0.6634 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.1615, allocations: 15.83 kB / 0.6634 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1616, allocations: 0 / 0.6634 GB, free: 6.066 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.1616, allocations: 114.7 kB / 0.6635 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.1616, allocations: 3.938 kB / 0.6635 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.364e-05/0.1617, allocations: 11.59 kB / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1617, allocations: 336 / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-07/0.1617, allocations: 0 / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1617, allocations: 0 / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.763e-05/0.1618, allocations: 161.6 kB / 0.6637 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1618, allocations: 0 / 0.6637 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003412/0.1621, allocations: 51.92 kB / 0.6637 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1621, allocations: 0 / 0.6637 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.1622, allocations: 0 / 0.6637 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.1633, allocations: 1.4 MB / 0.6651 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1633, allocations: 8.109 kB / 0.6651 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.1634, allocations: 69.16 kB / 0.6652 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.1635, allocations: 77.11 kB / 0.6653 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.733e-06/0.1635, allocations: 3.938 kB / 0.6653 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.123e-05/0.1635, allocations: 7.984 kB / 0.6653 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.1636, allocations: 7.938 kB / 0.6653 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1636, allocations: 0 / 0.6653 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.375e-05/0.1636, allocations: 83.22 kB / 0.6653 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1636, allocations: 0 / 0.6653 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001929/0.1638, allocations: 4 kB / 0.6654 GB, free: 3.84 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001118/0.1639, allocations: 95.25 kB / 0.6654 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004457/0.1644, allocations: 63.91 kB / 0.6655 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1644, allocations: 0 / 0.6655 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1646, allocations: 39.95 kB / 0.6655 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.1648, allocations: 4 kB / 0.6655 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.1651, allocations: 104.9 kB / 0.6656 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1653, allocations: 0.6767 MB / 0.6663 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.1653, allocations: 7.984 kB / 0.6663 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.1654, allocations: 7.438 kB / 0.6663 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1654, allocations: 0 / 0.6663 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of Templates: time 0.002433/0.1678, allocations: 415.8 kB / 0.6667 GB, free: 2.379 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)