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.00166/0.001665, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.461/1.461, allocations: 205.1 MB / 222.4 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4107/0.4107, allocations: 54.94 MB / 324.7 MB, free: 15.96 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.001523/0.001523, allocations: 63.91 kB / 395.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1667, allocations: 59.59 MB / 454.9 MB, free: 144 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.3019/0.4687, allocations: 1.407 MB / 456.3 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006336/0.4693, allocations: 363.7 kB / 456.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.4694, allocations: 2.562 kB / 456.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.4694, allocations: 1.688 kB / 456.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.4695, allocations: 3.469 kB / 456.7 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.4699, allocations: 113.4 kB / 456.8 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.47, allocations: 26.67 kB / 456.8 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.4701, allocations: 9.781 kB / 456.8 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.988e-05/0.4702, allocations: 8.953 kB / 456.8 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.941e-05/0.4702, allocations: 9.734 kB / 456.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4702, allocations: 2.625 kB / 456.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.4706, allocations: 274.8 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.718e-05/0.4706, allocations: 6.594 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.4706, allocations: 19.58 kB / 457.1 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.4709, allocations: 106.5 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4709, allocations: 0.6562 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4709, allocations: 1.375 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.4709, allocations: 0 / 457.3 MB, free: 38.82 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.0004437/0.4713, allocations: 364.5 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4714, allocations: 6.812 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.112e-05/0.4715, allocations: 4.688 kB / 457.6 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.903e-05/0.4716, allocations: 168.3 kB / 457.8 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.4716, allocations: 9.281 kB / 457.8 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.4716, allocations: 384 / 457.8 MB, free: 38.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.4718, allocations: 53.38 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4718, allocations: 0 / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4718, allocations: 3.344 kB / 457.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4718, allocations: 0 / 457.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.472, allocations: 37.03 kB / 457.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.4723, allocations: 265.5 kB / 458.1 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.4724, allocations: 38.53 kB / 458.2 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.357e-05/0.4725, allocations: 26.17 kB / 458.2 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/0.4731, allocations: 457.4 kB / 458.7 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.4731, allocations: 31.25 kB / 458.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4731, allocations: 0 / 458.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003683/0.4735, allocations: 85.36 kB / 458.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.4735, allocations: 52.38 kB / 458.8 MB, free: 37.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.587e-05/0.4736, allocations: 108.7 kB / 458.9 MB, free: 37.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.765e-06/0.4736, allocations: 26.58 kB / 459 MB, free: 37.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.4736, allocations: 85.98 kB / 459 MB, free: 37.11 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.4737, allocations: 4.406 kB / 459 MB, free: 37.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.4737, allocations: 13.47 kB / 459.1 MB, free: 37.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.042e-05/0.4738, allocations: 324.5 kB / 459.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.838e-05/0.4738, allocations: 16.05 kB / 459.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.4739, allocations: 15.72 kB / 459.4 MB, free: 36.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.4741, allocations: 43.38 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4741, allocations: 0.875 kB / 459.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000199/0.4743, allocations: 67.97 kB / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4743, allocations: 6.438 kB / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4743, allocations: 0 / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4743, allocations: 0 / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.266e-05/0.4744, allocations: 16.14 kB / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.4744, allocations: 1.469 kB / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.4745, allocations: 5.969 kB / 459.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.4745, allocations: 0 / 459.5 MB, free: 36.73 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.216e-05/0.4746, allocations: 117.7 kB / 459.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4746, allocations: 6.656 kB / 459.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.4748, allocations: 78.11 kB / 459.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4748, allocations: 0 / 459.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4748, allocations: 0 / 459.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4748, allocations: 0 / 459.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.475, allocations: 169.5 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.475, allocations: 5.75 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.475, allocations: 9.844 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.475, allocations: 0 / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.4751, allocations: 6.109 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4751, allocations: 0.625 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4751, allocations: 1.625 kB / 459.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.4753, allocations: 168.9 kB / 460.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.729e-05/0.4753, allocations: 77.11 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4753, allocations: 3.656 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.4754, allocations: 6.562 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.4755, allocations: 10.44 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4755, allocations: 0 / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.594e-05/0.4755, allocations: 81.81 kB / 460.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4755, allocations: 0 / 460.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002257/0.4757, allocations: 15.12 kB / 460.3 MB, free: 36.07 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.0001354/0.4759, allocations: 108.8 kB / 460.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.4761, allocations: 39.86 kB / 460.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.4761, allocations: 5.281 kB / 460.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.15e-05/0.4762, allocations: 23.33 kB / 460.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4765, allocations: 6.156 kB / 460.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.4768, allocations: 109.8 kB / 460.6 MB, free: 35.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.4769, allocations: 0.6782 MB / 461.2 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.385e-05/0.4769, allocations: 4.062 kB / 461.3 MB, free: 35.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.477, allocations: 10.47 kB / 461.3 MB, free: 35.17 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.477, allocations: 0.9375 kB / 461.3 MB, free: 35.17 MB / 382.1 MB Notification: Performance of Templates: time 0.00297/0.4799, allocations: 0.7013 MB / 462 MB, free: 35.14 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)