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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00119/0.00119, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9295/0.9295, allocations: 135.1 MB / 425.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.34 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 80.94 MB / 0.5837 GB, free: 5.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002787/0.1722, allocations: 1.474 MB / 0.5851 GB, free: 3.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003117/0.1725, allocations: 104.6 kB / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.1726, allocations: 0 / 0.5852 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.1726, allocations: 7.984 kB / 0.5853 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.1727, allocations: 3.938 kB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.1728, allocations: 8 kB / 0.5853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.212e-05/0.1729, allocations: 23.92 kB / 0.5853 GB, free: 3.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.173, allocations: 4 kB / 0.5853 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.1731, allocations: 15.92 kB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.1731, allocations: 7.984 kB / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1731, allocations: 0 / 0.5853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.785e-05/0.1732, allocations: 15.98 kB / 0.5853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1732, allocations: 15.92 kB / 0.5853 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.1732, allocations: 7.938 kB / 0.5854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.785e-05/0.1733, allocations: 27.95 kB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1734, allocations: 3.938 kB / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.82e-07/0.1734, allocations: 0 / 0.5854 GB, free: 3.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1734, allocations: 0 / 0.5854 GB, free: 3.27 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.0004512/0.1738, allocations: 343.7 kB / 0.5857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1739, allocations: 15.97 kB / 0.5857 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.1741, allocations: 8.922 kB / 0.5857 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.1742, allocations: 180.2 kB / 0.5859 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.1742, allocations: 384 / 0.5859 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1742, allocations: 4.359 kB / 0.5859 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.1744, allocations: 58.23 kB / 0.586 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1745, allocations: 192 / 0.586 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1745, allocations: 3.938 kB / 0.586 GB, free: 2.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1745, allocations: 4 kB / 0.586 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/0.1747, allocations: 47.94 kB / 0.586 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1751, allocations: 264.9 kB / 0.5863 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1753, allocations: 54.47 kB / 0.5863 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1754, allocations: 32.89 kB / 0.5864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.1755, allocations: 0 / 0.5864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.1755, allocations: 34.56 kB / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.1755, allocations: 0 / 0.5864 GB, free: 2.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004129/0.1759, allocations: 101.6 kB / 0.5865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.176, allocations: 59.53 kB / 0.5865 GB, free: 1.898 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.511e-05/0.176, allocations: 101.8 kB / 0.5866 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1761, allocations: 29.7 kB / 0.5867 GB, free: 1.754 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.1761, allocations: 88.05 kB / 0.5868 GB, free: 1.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.1761, allocations: 7.922 kB / 0.5868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.1762, allocations: 17.7 kB / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.1763, allocations: 314.8 kB / 0.5871 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.1764, allocations: 27.97 kB / 0.5871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.463e-05/0.1765, allocations: 23.98 kB / 0.5871 GB, free: 1.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1767, allocations: 44.81 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1767, allocations: 0 / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002451/0.177, allocations: 97.48 kB / 0.5873 GB, free: 1.117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.177, allocations: 6.188 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.177, allocations: 0 / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.177, allocations: 3.938 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1771, allocations: 11.98 kB / 0.5873 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.1771, allocations: 3.984 kB / 0.5873 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.1772, allocations: 7.984 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1772, allocations: 4 kB / 0.5873 GB, free: 1.082 MB / 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 7.667e-05/0.1773, allocations: 117.8 kB / 0.5874 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1773, allocations: 4 kB / 0.5874 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.1774, allocations: 3.531 kB / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1774, allocations: 0 / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1774, allocations: 0 / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1774, allocations: 0 / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1776, allocations: 177.5 kB / 0.5876 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1776, allocations: 0 / 0.5876 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/0.1777, allocations: 16.23 kB / 0.5876 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1777, allocations: 0 / 0.5876 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1777, allocations: 4 kB / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1777, allocations: 0 / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1777, allocations: 0 / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.178, allocations: 179.3 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.178, allocations: 85.12 kB / 0.5879 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.178, allocations: 4 kB / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.359e-05/0.1781, allocations: 11.98 kB / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.1782, allocations: 0 / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1782, allocations: 0 / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.1782, allocations: 79.28 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1782, allocations: 4 kB / 0.588 GB, free: 320 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1784, allocations: 4 kB / 0.588 GB, free: 316 kB / 494.1 MB 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.0001074/0.1786, allocations: 107.2 kB / 0.5881 GB, free: 200 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002422/0.1788, allocations: 43.95 kB / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1788, allocations: 3.938 kB / 0.5881 GB, free: 152 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.1789, allocations: 27.97 kB / 0.5881 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1792, allocations: 7.938 kB / 0.5881 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.1796, allocations: 131.3 kB / 0.5883 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1798, allocations: 0.6809 MB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.335e-05/0.1799, allocations: 0 / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1799, allocations: 7.438 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.1799, allocations: 4 kB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.002332/0.1822, allocations: 0.5031 MB / 0.5894 GB, free: 14.75 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)