Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007816/0.007816, allocations: 101.1 kB / 15.88 MB, free: 5.871 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.001848/0.001848, allocations: 192.1 kB / 16.79 MB, free: 5.816 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.522/1.522, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9003/0.9003, allocations: 135.1 MB / 425.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 60.88 kB / 0.5053 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1614, allocations: 80.93 MB / 0.5844 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001775/0.1632, allocations: 0.6349 MB / 0.585 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003346/0.1635, allocations: 107.6 kB / 0.5851 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.003e-05/0.1636, allocations: 0 / 0.5851 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1636, allocations: 0 / 0.5851 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.355e-05/0.1636, allocations: 0 / 0.5851 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1638, allocations: 11.94 kB / 0.5851 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.1639, allocations: 7.984 kB / 0.5851 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.1639, allocations: 4 kB / 0.5851 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.631e-05/0.1639, allocations: 0 / 0.5851 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.164, allocations: 8 kB / 0.5851 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.164, allocations: 0 / 0.5851 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.607e-05/0.1641, allocations: 19.92 kB / 0.5851 GB, free: 4.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.1641, allocations: 3.984 kB / 0.5851 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.1641, allocations: 3.938 kB / 0.5851 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.275e-05/0.1642, allocations: 11.98 kB / 0.5852 GB, free: 4.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1642, allocations: 0 / 0.5852 GB, free: 4.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1642, allocations: 0 / 0.5852 GB, free: 4.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1642, allocations: 0 / 0.5852 GB, free: 4.16 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.0003601/0.1646, allocations: 323.6 kB / 0.5855 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1647, allocations: 12.03 kB / 0.5855 GB, free: 3.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.1648, allocations: 8.922 kB / 0.5855 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.1649, allocations: 160.4 kB / 0.5856 GB, free: 3.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1649, allocations: 8.375 kB / 0.5856 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.165, allocations: 384 / 0.5856 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1651, allocations: 38.23 kB / 0.5857 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1651, allocations: 192 / 0.5857 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1651, allocations: 3.938 kB / 0.5857 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1651, allocations: 4 kB / 0.5857 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-05/0.1652, allocations: 19.92 kB / 0.5857 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.1654, allocations: 149.7 kB / 0.5858 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1656, allocations: 46.58 kB / 0.5859 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.544e-05/0.1656, allocations: 8.922 kB / 0.5859 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.1656, allocations: 4 kB / 0.5859 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1657, allocations: 42.55 kB / 0.5859 GB, free: 3.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 3.317e-06/0.1657, allocations: 0 / 0.5859 GB, free: 3.184 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002327/0.1659, allocations: 65.41 kB / 0.586 GB, free: 3.113 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.166, allocations: 51.41 kB / 0.5861 GB, free: 3.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.906e-05/0.166, allocations: 93.84 kB / 0.5861 GB, free: 2.949 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.166, allocations: 29.7 kB / 0.5862 GB, free: 2.914 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.1661, allocations: 80.14 kB / 0.5863 GB, free: 2.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.1661, allocations: 16.12 kB / 0.5863 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.1661, allocations: 13.72 kB / 0.5863 GB, free: 2.797 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1663, allocations: 310.8 kB / 0.5866 GB, free: 2.484 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.1663, allocations: 11.98 kB / 0.5866 GB, free: 2.473 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.1663, allocations: 4 kB / 0.5866 GB, free: 2.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.1664, allocations: 20.84 kB / 0.5866 GB, free: 2.445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1664, allocations: 0 / 0.5866 GB, free: 2.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001178/0.1666, allocations: 57.56 kB / 0.5867 GB, free: 2.383 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1666, allocations: 11.98 kB / 0.5867 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1666, allocations: 0 / 0.5867 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1666, allocations: 3.938 kB / 0.5867 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.167, allocations: 39.94 kB / 0.5867 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.1683, allocations: 1.306 MB / 0.588 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.1683, allocations: 4.031 kB / 0.588 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1683, allocations: 3.984 kB / 0.588 GB, free: 0.8828 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 (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 7.309e-05/0.1684, allocations: 109.8 kB / 0.5881 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.1684, allocations: 7.938 kB / 0.5881 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.464e-05/0.1684, allocations: 3.594 kB / 0.5881 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1685, allocations: 4.328 kB / 0.5881 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1685, allocations: 0 / 0.5881 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1685, allocations: 0 / 0.5881 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.1686, allocations: 161.6 kB / 0.5883 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1686, allocations: 0 / 0.5883 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.169, allocations: 51.92 kB / 0.5883 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.169, allocations: 3.984 kB / 0.5883 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-06/0.169, allocations: 0 / 0.5883 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.1701, allocations: 1.31 MB / 0.5896 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1701, allocations: 0 / 0.5896 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.1703, allocations: 81.17 kB / 0.5897 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.347e-05/0.1703, allocations: 81.11 kB / 0.5898 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1703, allocations: 3.938 kB / 0.5898 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.797e-05/0.1704, allocations: 3.938 kB / 0.5898 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.1704, allocations: 0 / 0.5898 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.1704, allocations: 4 kB / 0.5898 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.002e-05/0.1704, allocations: 76.94 kB / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1704, allocations: 0 / 0.5898 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001987/0.1706, allocations: 8 kB / 0.5899 GB, free: 14.76 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.0001405/0.1708, allocations: 107.8 kB / 0.59 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004591/0.1713, allocations: 55.92 kB / 0.59 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1713, allocations: 4 kB / 0.59 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.1717, allocations: 59.84 kB / 0.5901 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.1718, allocations: 4 kB / 0.5901 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.1722, allocations: 120.9 kB / 0.5902 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.1724, allocations: 0.6731 MB / 0.5908 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.1725, allocations: 11.38 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1725, allocations: 3.938 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.001992/0.1745, allocations: 0.5895 MB / 0.5914 GB, free: 13.07 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)