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.005323/0.005323, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.001118/0.001118, allocations: 196.1 kB / 16.67 MB, free: 5.973 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.36/1.36, 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.7688/0.7688, allocations: 132.2 MB / 422.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.34 kB / 0.5814 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 80.2 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001584/0.1707, allocations: 0.5759 MB / 0.6603 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002913/0.171, allocations: 106.2 kB / 0.6604 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.171, allocations: 7.938 kB / 0.6604 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1711, allocations: 0 / 0.6604 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.1711, allocations: 3.938 kB / 0.6604 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.1713, allocations: 7.984 kB / 0.6604 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.1714, allocations: 11.94 kB / 0.6604 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.068e-05/0.1715, allocations: 4 kB / 0.6604 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.1715, allocations: 0 / 0.6604 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.1716, allocations: 11.97 kB / 0.6604 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1716, allocations: 4 kB / 0.6604 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.153e-05/0.1716, allocations: 15.98 kB / 0.6604 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.1717, allocations: 0 / 0.6604 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.1717, allocations: 3.938 kB / 0.6604 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.611e-05/0.1718, allocations: 15.92 kB / 0.6605 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1718, allocations: 4 kB / 0.6605 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1718, allocations: 0 / 0.6605 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.1718, allocations: 0 / 0.6605 GB, free: 9.434 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.0003282/0.1721, allocations: 315.9 kB / 0.6608 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1722, allocations: 12.03 kB / 0.6608 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.1723, allocations: 16.92 kB / 0.6608 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.074e-05/0.1724, allocations: 160.4 kB / 0.6609 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1725, allocations: 384 / 0.6609 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.1725, allocations: 384 / 0.6609 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1726, allocations: 38.25 kB / 0.661 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1726, allocations: 192 / 0.661 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1726, allocations: 11.92 kB / 0.661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1726, allocations: 0 / 0.661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.1727, allocations: 19.92 kB / 0.661 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.1729, allocations: 153.7 kB / 0.6612 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.173, allocations: 38.59 kB / 0.6612 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.1731, allocations: 12.92 kB / 0.6612 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1731, allocations: 0 / 0.6612 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.1731, allocations: 42.56 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 2.225e-06/0.1731, allocations: 0 / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002057/0.1733, allocations: 65.48 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.1734, allocations: 51.41 kB / 0.6614 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.74e-05/0.1734, allocations: 89.86 kB / 0.6614 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1734, allocations: 25.7 kB / 0.6615 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.1735, allocations: 84.12 kB / 0.6616 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1735, allocations: 19.83 kB / 0.6616 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1735, allocations: 17.72 kB / 0.6616 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.1736, allocations: 314.8 kB / 0.6619 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.92e-05/0.1737, allocations: 7.984 kB / 0.6619 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.1737, allocations: 7.938 kB / 0.6619 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/0.1738, allocations: 24.84 kB / 0.6619 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1738, allocations: 0 / 0.6619 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000103/0.1739, allocations: 53.62 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1739, allocations: 4 kB / 0.662 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.174, allocations: 0 / 0.662 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.174, allocations: 3.938 kB / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.1744, allocations: 43.92 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.1756, allocations: 1.41 MB / 0.6634 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.1756, allocations: 0 / 0.6634 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1756, allocations: 4.031 kB / 0.6634 GB, free: 6.051 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.983e-05/0.1757, allocations: 114.7 kB / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.1757, allocations: 8.078 kB / 0.6635 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.1758, allocations: 3.5 kB / 0.6635 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1758, allocations: 4 kB / 0.6635 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1758, allocations: 0 / 0.6635 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1758, allocations: 0 / 0.6635 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.317e-05/0.1759, allocations: 153.6 kB / 0.6637 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1759, allocations: 4 kB / 0.6637 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.1762, allocations: 47.92 kB / 0.6637 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1762, allocations: 4 kB / 0.6637 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1763, allocations: 0 / 0.6637 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1773, allocations: 1.404 MB / 0.6651 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1773, allocations: 4.062 kB / 0.6651 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1775, allocations: 69.12 kB / 0.6652 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.329e-05/0.1775, allocations: 85 kB / 0.6653 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1775, allocations: 7.922 kB / 0.6653 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.1776, allocations: 7.938 kB / 0.6653 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.1776, allocations: 0 / 0.6653 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1776, allocations: 8 kB / 0.6653 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.394e-05/0.1776, allocations: 75.28 kB / 0.6653 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1776, allocations: 0 / 0.6653 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001917/0.1778, allocations: 4 kB / 0.6654 GB, free: 3.824 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.0001248/0.178, allocations: 103.2 kB / 0.6655 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004576/0.1784, allocations: 59.91 kB / 0.6655 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1784, allocations: 0 / 0.6655 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.1787, allocations: 43.89 kB / 0.6655 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.1788, allocations: 0 / 0.6655 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.1791, allocations: 100.8 kB / 0.6656 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/0.1794, allocations: 0.6768 MB / 0.6663 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.035e-05/0.1794, allocations: 240 / 0.6663 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1794, allocations: 11.44 kB / 0.6663 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1794, allocations: 0 / 0.6663 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.002193/0.1816, allocations: 414.5 kB / 0.6667 GB, free: 2.371 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)