Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001247/0.001246, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001251/0.001251, allocations: 192.7 kB / 16.25 MB, free: 6.637 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9413/0.9413, allocations: 135.6 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 72.58 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1641, allocations: 81.02 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002646/0.1668, allocations: 1.485 MB / 0.586 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003312/0.1672, allocations: 96.58 kB / 0.586 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.1672, allocations: 4 kB / 0.5861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.1673, allocations: 4 kB / 0.5861 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.1673, allocations: 7.922 kB / 0.5861 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.1676, allocations: 15.98 kB / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.1677, allocations: 27.88 kB / 0.5861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1678, allocations: 3.984 kB / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.102e-05/0.1678, allocations: 8 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.662e-05/0.1679, allocations: 15.92 kB / 0.5861 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.1679, allocations: 4 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-05/0.168, allocations: 15.98 kB / 0.5862 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.168, allocations: 4 kB / 0.5862 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.168, allocations: 15.92 kB / 0.5862 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.1682, allocations: 31.89 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1682, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1682, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.902e-06/0.1682, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB 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.0005729/0.1688, allocations: 343.7 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.1688, allocations: 8.031 kB / 0.5865 GB, free: 2.156 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.1691, allocations: 20.83 kB / 0.5866 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.1692, allocations: 168.4 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.1693, allocations: 4.375 kB / 0.5867 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1693, allocations: 8.312 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1695, allocations: 58.17 kB / 0.5868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1695, allocations: 4.125 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1696, allocations: 3.938 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1696, allocations: 0 / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.1698, allocations: 55.94 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.1703, allocations: 253 kB / 0.5871 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1705, allocations: 54.47 kB / 0.5871 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.1706, allocations: 32.91 kB / 0.5872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1706, allocations: 3.938 kB / 0.5872 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1707, allocations: 34.56 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.1707, allocations: 0 / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004085/0.1711, allocations: 105.6 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.1711, allocations: 55.39 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1713, allocations: 101.9 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1713, allocations: 29.7 kB / 0.5875 GB, free: 1.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1713, allocations: 84.12 kB / 0.5876 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.173e-05/0.1714, allocations: 11.84 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.1714, allocations: 13.72 kB / 0.5876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1716, allocations: 314.8 kB / 0.5879 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1717, allocations: 28 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.1718, allocations: 23.92 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.172, allocations: 56.8 kB / 0.588 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.172, allocations: 0 / 0.588 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002259/0.1722, allocations: 77.66 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1722, allocations: 8 kB / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1723, allocations: 0 / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1723, allocations: 0 / 0.5881 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1724, allocations: 11.98 kB / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1724, allocations: 256 / 0.5881 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.1725, allocations: 11.98 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-06/0.1725, allocations: 8.031 kB / 0.5881 GB, free: 380 kB / 494.1 MB 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.819e-05/0.1726, allocations: 117.7 kB / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1726, allocations: 0 / 0.5882 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.1726, allocations: 7.516 kB / 0.5882 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1726, allocations: 4 kB / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1727, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1727, allocations: 0 / 0.5882 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1729, allocations: 173.5 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1729, allocations: 0 / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.312e-05/0.173, allocations: 16.05 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.173, allocations: 0 / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.173, allocations: 7.938 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.173, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.173, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002926/0.1733, allocations: 187.3 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1734, allocations: 77.11 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1734, allocations: 0 / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.906e-05/0.1735, allocations: 7.984 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1735, allocations: 7.938 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1735, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.276e-05/0.1736, allocations: 87.27 kB / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1736, allocations: 0 / 0.5888 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002069/0.1738, allocations: 4 kB / 0.5888 GB, free: 15.59 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.0001394/0.1739, allocations: 103.3 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1742, allocations: 51.95 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1742, allocations: 0 / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1743, allocations: 23.97 kB / 0.5889 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1746, allocations: 8.062 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.175, allocations: 135.4 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.1754, allocations: 0.6768 MB / 0.5897 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.594e-05/0.1754, allocations: 7.906 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.1755, allocations: 15.44 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1755, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002677/0.1782, allocations: 0.5161 MB / 0.5903 GB, free: 14 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)