Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.009168/0.009168, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001866/0.001866, allocations: 194 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4292/0.4292, allocations: 54.95 MB / 324.9 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001588/0.001588, allocations: 66.41 kB / 456.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1604, allocations: 59.59 MB / 0.5038 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.PowerLinearized): time 0.003075/0.1635, allocations: 1.41 MB / 0.5051 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.1638, allocations: 76.95 kB / 0.5052 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1639, allocations: 0 / 0.5052 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.413e-05/0.1639, allocations: 0 / 0.5052 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.164, allocations: 8.984 kB / 0.5052 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.1643, allocations: 13.52 kB / 0.5052 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.1644, allocations: 25.92 kB / 0.5053 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1645, allocations: 11.28 kB / 0.5053 GB, free: 8.289 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.1646, allocations: 11.27 kB / 0.5053 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.1647, allocations: 11.38 kB / 0.5053 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1647, allocations: 6.25 kB / 0.5053 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.353e-05/0.1648, allocations: 16.05 kB / 0.5053 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.1648, allocations: 9.109 kB / 0.5053 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.22e-05/0.1649, allocations: 14.89 kB / 0.5053 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.165, allocations: 32.23 kB / 0.5054 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.165, allocations: 0 / 0.5054 GB, free: 8.219 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.217e-06/0.1651, allocations: 1.344 kB / 0.5054 GB, free: 8.219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1651, allocations: 3.938 kB / 0.5054 GB, free: 8.215 MB / 382.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.0004233/0.1655, allocations: 345.7 kB / 0.5057 GB, free: 7.844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.1656, allocations: 13.84 kB / 0.5057 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.1658, allocations: 11.89 kB / 0.5057 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.1659, allocations: 166.8 kB / 0.5059 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1659, allocations: 1.594 kB / 0.5059 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1659, allocations: 5.453 kB / 0.5059 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1662, allocations: 61.25 kB / 0.506 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1662, allocations: 0 / 0.506 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1662, allocations: 0 / 0.506 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1662, allocations: 4 kB / 0.506 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.1664, allocations: 47.05 kB / 0.506 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.1668, allocations: 270.1 kB / 0.5063 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.167, allocations: 59.42 kB / 0.5063 GB, free: 7.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.1671, allocations: 30.23 kB / 0.5063 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1671, allocations: 1.688 kB / 0.5063 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.1672, allocations: 30.56 kB / 0.5064 GB, free: 7.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1672, allocations: 0 / 0.5064 GB, free: 7.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004218/0.1676, allocations: 109.5 kB / 0.5065 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.1676, allocations: 51.41 kB / 0.5065 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.25e-05/0.1677, allocations: 108.8 kB / 0.5066 GB, free: 6.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.1677, allocations: 30.92 kB / 0.5067 GB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.1677, allocations: 81.48 kB / 0.5067 GB, free: 6.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.1678, allocations: 13.2 kB / 0.5068 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.1678, allocations: 10.78 kB / 0.5068 GB, free: 6.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.1679, allocations: 325.3 kB / 0.5071 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.168, allocations: 20.08 kB / 0.5071 GB, free: 6.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1681, allocations: 26.72 kB / 0.5071 GB, free: 6.422 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.1683, allocations: 50.38 kB / 0.5072 GB, free: 6.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1683, allocations: 4 kB / 0.5072 GB, free: 6.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002287/0.1685, allocations: 84.11 kB / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1685, allocations: 5.094 kB / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1686, allocations: 0 / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1686, allocations: 1.219 kB / 0.5073 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1687, allocations: 10.73 kB / 0.5073 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1687, allocations: 1.719 kB / 0.5073 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.1688, allocations: 16.09 kB / 0.5073 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.1688, allocations: 0 / 0.5073 GB, free: 6.316 MB / 382.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 5.124e-05/0.1688, allocations: 112.4 kB / 0.5074 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1689, allocations: 1.469 kB / 0.5074 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.1689, allocations: 8.781 kB / 0.5074 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1689, allocations: 0 / 0.5074 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1689, allocations: 1.5 kB / 0.5074 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1689, allocations: 0 / 0.5074 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1691, allocations: 172.3 kB / 0.5076 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1691, allocations: 0 / 0.5076 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.348e-05/0.1691, allocations: 10.8 kB / 0.5076 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1692, allocations: 1.375 kB / 0.5076 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1692, allocations: 0 / 0.5076 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1692, allocations: 0 / 0.5076 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1692, allocations: 5.312 kB / 0.5076 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002575/0.1694, allocations: 183.1 kB / 0.5078 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.866e-05/0.1695, allocations: 81.06 kB / 0.5078 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.1695, allocations: 1.375 kB / 0.5078 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.1696, allocations: 8.109 kB / 0.5078 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1696, allocations: 9.297 kB / 0.5079 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.1696, allocations: 1.375 kB / 0.5079 GB, free: 5.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.579e-05/0.1697, allocations: 91.59 kB / 0.5079 GB, free: 5.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1697, allocations: 5.406 kB / 0.5079 GB, free: 5.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.1699, allocations: 4.125 kB / 0.508 GB, free: 5.605 MB / 382.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 8.718e-05/0.17, allocations: 98.31 kB / 0.508 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.1703, allocations: 60.69 kB / 0.5081 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1703, allocations: 0 / 0.5081 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1704, allocations: 27.17 kB / 0.5081 GB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1707, allocations: 10.67 kB / 0.5081 GB, free: 5.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.171, allocations: 124.8 kB / 0.5083 GB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.1711, allocations: 0.6782 MB / 0.5089 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.322e-05/0.1711, allocations: 5.438 kB / 0.5089 GB, free: 4.637 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1712, allocations: 8.812 kB / 0.5089 GB, free: 4.629 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1712, allocations: 0 / 0.5089 GB, free: 4.629 MB / 382.1 MB Notification: Performance of Templates: time 0.002661/0.1739, allocations: 0.5711 MB / 0.5095 GB, free: 4.34 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)