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.006751/0.006756, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001211/0.001211, allocations: 199 kB / 16.68 MB, free: 5.914 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.572/1.572, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4062/0.4062, allocations: 54.95 MB / 324.8 MB, free: 68 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.001757/0.001757, allocations: 69.17 kB / 456.3 MB, free: 38.64 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1567, allocations: 59.59 MB / 0.5038 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.003308/0.1601, allocations: 1.409 MB / 0.5052 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008249/0.1609, allocations: 360.1 kB / 0.5055 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.692e-05/0.161, allocations: 0 / 0.5055 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.161, allocations: 0 / 0.5055 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.895e-05/0.1611, allocations: 9.25 kB / 0.5055 GB, free: 8.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.1617, allocations: 111.4 kB / 0.5056 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1618, allocations: 25.8 kB / 0.5057 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1619, allocations: 11.36 kB / 0.5057 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.863e-05/0.162, allocations: 7.516 kB / 0.5057 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.162, allocations: 15.42 kB / 0.5057 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1621, allocations: 2.219 kB / 0.5057 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.1626, allocations: 280.2 kB / 0.506 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1626, allocations: 5.406 kB / 0.506 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1626, allocations: 18.47 kB / 0.506 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.1629, allocations: 98.88 kB / 0.5061 GB, free: 7.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1629, allocations: 0 / 0.5061 GB, free: 7.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1629, allocations: 1.406 kB / 0.5061 GB, free: 7.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.1629, allocations: 0 / 0.5061 GB, free: 7.957 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.0005841/0.1635, allocations: 371 kB / 0.5064 GB, free: 7.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.1636, allocations: 12.72 kB / 0.5064 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.905e-05/0.1636, allocations: 7.812 kB / 0.5065 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.989e-05/0.1638, allocations: 165.5 kB / 0.5066 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.1638, allocations: 1.875 kB / 0.5066 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.1638, allocations: 384 / 0.5066 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.164, allocations: 58.23 kB / 0.5067 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.164, allocations: 0 / 0.5067 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.164, allocations: 0 / 0.5067 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.164, allocations: 1 kB / 0.5067 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.1642, allocations: 38.67 kB / 0.5067 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1645, allocations: 253.9 kB / 0.5069 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1646, allocations: 40.45 kB / 0.507 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.262e-05/0.1647, allocations: 23.06 kB / 0.507 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005711/0.1653, allocations: 455 kB / 0.5074 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.1653, allocations: 35.98 kB / 0.5075 GB, free: 6.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.1653, allocations: 0 / 0.5075 GB, free: 6.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003889/0.1657, allocations: 86.47 kB / 0.5076 GB, free: 6.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.1657, allocations: 55.39 kB / 0.5076 GB, free: 6.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.1658, allocations: 102.1 kB / 0.5077 GB, free: 6.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1658, allocations: 25.7 kB / 0.5077 GB, free: 6.156 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.1659, allocations: 97.39 kB / 0.5078 GB, free: 6.059 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.1659, allocations: 1.375 kB / 0.5078 GB, free: 6.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1659, allocations: 15.22 kB / 0.5078 GB, free: 6.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.473e-05/0.166, allocations: 320.2 kB / 0.5081 GB, free: 5.719 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.864e-05/0.1661, allocations: 13.61 kB / 0.5082 GB, free: 5.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.1662, allocations: 21.59 kB / 0.5082 GB, free: 5.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1663, allocations: 40.14 kB / 0.5082 GB, free: 5.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1663, allocations: 1.375 kB / 0.5082 GB, free: 5.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002018/0.1665, allocations: 72.88 kB / 0.5083 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1666, allocations: 5.5 kB / 0.5083 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1666, allocations: 3.938 kB / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/0.1666, allocations: 0 / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1667, allocations: 10.86 kB / 0.5083 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.567e-06/0.1667, allocations: 0 / 0.5083 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1668, allocations: 8.156 kB / 0.5083 GB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1668, allocations: 5.625 kB / 0.5083 GB, free: 5.609 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 6.767e-05/0.1669, allocations: 111.2 kB / 0.5084 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/0.1669, allocations: 5.359 kB / 0.5084 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002617/0.1672, allocations: 80.44 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.1672, allocations: 1.375 kB / 0.5085 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.1672, allocations: 8.031 kB / 0.5085 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1672, allocations: 0 / 0.5085 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/0.1674, allocations: 163.1 kB / 0.5087 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1674, allocations: 0 / 0.5087 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.1674, allocations: 6.875 kB / 0.5087 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1674, allocations: 0 / 0.5087 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.1675, allocations: 1.375 kB / 0.5087 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1675, allocations: 7.922 kB / 0.5087 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1675, allocations: 0 / 0.5087 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1677, allocations: 168.1 kB / 0.5088 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.1678, allocations: 86.45 kB / 0.5089 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.1678, allocations: 1.375 kB / 0.5089 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1679, allocations: 2.75 kB / 0.5089 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.1679, allocations: 5.359 kB / 0.5089 GB, free: 4.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.1679, allocations: 5.312 kB / 0.5089 GB, free: 4.938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.168, allocations: 87.44 kB / 0.509 GB, free: 4.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.168, allocations: 1.375 kB / 0.509 GB, free: 4.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002409/0.1682, allocations: 11 kB / 0.509 GB, free: 4.855 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.0002202/0.1685, allocations: 106.6 kB / 0.5091 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.1687, allocations: 41.91 kB / 0.5092 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1688, allocations: 0 / 0.5092 GB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.1689, allocations: 23.03 kB / 0.5092 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.1692, allocations: 6.75 kB / 0.5092 GB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.1696, allocations: 116.6 kB / 0.5093 GB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.1698, allocations: 0.6784 MB / 0.51 GB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.1699, allocations: 5.344 kB / 0.51 GB, free: 3.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.1699, allocations: 8.812 kB / 0.51 GB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1699, allocations: 0 / 0.51 GB, free: 3.898 MB / 382.1 MB Notification: Performance of Templates: time 0.003461/0.1734, allocations: 0.7103 MB / 0.5107 GB, free: 3.438 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)