Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007705/0.007705, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001769/0.001769, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4475/0.4475, allocations: 54.95 MB / 324.9 MB, free: 15.94 MB / 270.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.001493/0.001493, allocations: 66.91 kB / 456.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1559, allocations: 59.6 MB / 0.5037 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.002717/0.1587, allocations: 1.396 MB / 0.5051 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.1594, allocations: 362.4 kB / 0.5054 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.153e-05/0.1595, allocations: 5.688 kB / 0.5054 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.1595, allocations: 7.922 kB / 0.5054 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.487e-05/0.1596, allocations: 0 / 0.5054 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.1601, allocations: 119.6 kB / 0.5055 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.347e-05/0.1602, allocations: 25.55 kB / 0.5056 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1603, allocations: 2.75 kB / 0.5056 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.1604, allocations: 16.05 kB / 0.5056 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.342e-05/0.1604, allocations: 14.67 kB / 0.5056 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.1604, allocations: 2.75 kB / 0.5056 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003643/0.1608, allocations: 275.3 kB / 0.5059 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.266e-05/0.1608, allocations: 1.375 kB / 0.5059 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.1608, allocations: 10.69 kB / 0.5059 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.161, allocations: 111.4 kB / 0.506 GB, free: 7.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1611, allocations: 4 kB / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1611, allocations: 0 / 0.506 GB, free: 7.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.1611, allocations: 1.375 kB / 0.506 GB, free: 7.906 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.0004559/0.1615, allocations: 358.6 kB / 0.5063 GB, free: 7.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1616, allocations: 9.625 kB / 0.5063 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.1617, allocations: 2.312 kB / 0.5063 GB, free: 7.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.1617, allocations: 179 kB / 0.5065 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1618, allocations: 384 / 0.5065 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1618, allocations: 1.75 kB / 0.5065 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.162, allocations: 61.92 kB / 0.5066 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.162, allocations: 0 / 0.5066 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.162, allocations: 0 / 0.5066 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.162, allocations: 5.312 kB / 0.5066 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.1622, allocations: 33.83 kB / 0.5066 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.1625, allocations: 250.5 kB / 0.5068 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1626, allocations: 40.31 kB / 0.5069 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.002e-05/0.1627, allocations: 30.39 kB / 0.5069 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000609/0.1633, allocations: 460.2 kB / 0.5074 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.1634, allocations: 30.56 kB / 0.5074 GB, free: 6.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1634, allocations: 1.375 kB / 0.5074 GB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.1638, allocations: 81.27 kB / 0.5075 GB, free: 6.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.1638, allocations: 56.91 kB / 0.5075 GB, free: 6.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.1639, allocations: 104.7 kB / 0.5076 GB, free: 6.137 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.1639, allocations: 25.7 kB / 0.5076 GB, free: 6.105 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.1639, allocations: 85.42 kB / 0.5077 GB, free: 6.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1639, allocations: 5.375 kB / 0.5077 GB, free: 6.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.164, allocations: 12.47 kB / 0.5077 GB, free: 6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.029e-05/0.1641, allocations: 320.1 kB / 0.508 GB, free: 5.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-05/0.1641, allocations: 25.55 kB / 0.5081 GB, free: 5.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.1642, allocations: 17.55 kB / 0.5081 GB, free: 5.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.1644, allocations: 44.03 kB / 0.5081 GB, free: 5.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1644, allocations: 0 / 0.5081 GB, free: 5.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001873/0.1646, allocations: 68.92 kB / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1646, allocations: 5.844 kB / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1646, allocations: 0 / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1646, allocations: 1.188 kB / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.1647, allocations: 10.52 kB / 0.5082 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1647, allocations: 3.984 kB / 0.5082 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1648, allocations: 7.047 kB / 0.5082 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1648, allocations: 1.5 kB / 0.5082 GB, free: 5.566 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 7.311e-05/0.1649, allocations: 122.9 kB / 0.5083 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1649, allocations: 2.375 kB / 0.5083 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.1651, allocations: 71.75 kB / 0.5084 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1651, allocations: 1.281 kB / 0.5084 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.1651, allocations: 0 / 0.5084 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1652, allocations: 3.984 kB / 0.5084 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1653, allocations: 168.2 kB / 0.5086 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1653, allocations: 0 / 0.5086 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.1654, allocations: 13.95 kB / 0.5086 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.1654, allocations: 1.469 kB / 0.5086 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1654, allocations: 4 kB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1654, allocations: 0 / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1654, allocations: 1.062 kB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1656, allocations: 171.3 kB / 0.5088 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.1657, allocations: 82.36 kB / 0.5088 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1657, allocations: 1.281 kB / 0.5088 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.055e-05/0.1658, allocations: 7.797 kB / 0.5088 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.1658, allocations: 1 kB / 0.5088 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1658, allocations: 1.219 kB / 0.5088 GB, free: 4.895 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.529e-05/0.1658, allocations: 87.48 kB / 0.5089 GB, free: 4.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1658, allocations: 0 / 0.5089 GB, free: 4.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1661, allocations: 16.84 kB / 0.5089 GB, free: 4.809 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 0.0001526/0.1663, allocations: 105.2 kB / 0.509 GB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1665, allocations: 45.7 kB / 0.5091 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1665, allocations: 1.125 kB / 0.5091 GB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.986e-05/0.1666, allocations: 20.05 kB / 0.5091 GB, free: 4.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1669, allocations: 5.047 kB / 0.5091 GB, free: 4.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.1672, allocations: 117.4 kB / 0.5092 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001839/0.1674, allocations: 0.6816 MB / 0.5099 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1675, allocations: 1.438 kB / 0.5099 GB, free: 3.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.1675, allocations: 12.62 kB / 0.5099 GB, free: 3.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1675, allocations: 0 / 0.5099 GB, free: 3.848 MB / 382.1 MB Notification: Performance of Templates: time 0.003311/0.1708, allocations: 0.7325 MB / 0.5106 GB, free: 3.461 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)