Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00114/0.00114, allocations: 194 kB / 16.25 MB, free: 6.617 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.1 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3874/0.3874, allocations: 54.93 MB / 324.4 MB, free: 36 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.002394/0.002394, allocations: 71.91 kB / 394.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1289, allocations: 59.59 MB / 454.5 MB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.2163/0.3453, allocations: 0.6104 MB / 455.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.346, allocations: 315.7 kB / 455.4 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.309e-05/0.346, allocations: 0 / 455.4 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3461, allocations: 0 / 455.4 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.3461, allocations: 0 / 455.4 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.3466, allocations: 93.3 kB / 455.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.584e-05/0.3467, allocations: 2.781 kB / 455.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3467, allocations: 0.9688 kB / 455.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.581e-05/0.3467, allocations: 0 / 455.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.632e-05/0.3468, allocations: 4.906 kB / 455.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.3468, allocations: 1 kB / 455.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.3472, allocations: 270.3 kB / 455.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.024e-05/0.3472, allocations: 0 / 455.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.116e-05/0.3472, allocations: 4.562 kB / 455.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.3474, allocations: 91.56 kB / 455.9 MB, free: 39.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3474, allocations: 2.25 kB / 455.9 MB, free: 39.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3474, allocations: 0 / 455.9 MB, free: 39.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.3474, allocations: 0 / 455.9 MB, free: 39.03 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002334/0.3477, allocations: 333 kB / 456.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3477, allocations: 11.31 kB / 456.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3478, allocations: 2.312 kB / 456.2 MB, free: 38.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.999e-05/0.3478, allocations: 162.8 kB / 456.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3478, allocations: 384 / 456.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.3479, allocations: 4.828 kB / 456.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.065e-05/0.3479, allocations: 35.55 kB / 456.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.3479, allocations: 0.5625 kB / 456.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.348, allocations: 2.516 kB / 456.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.348, allocations: 0 / 456.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.989e-05/0.348, allocations: 5.219 kB / 456.4 MB, free: 38.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.907e-05/0.3481, allocations: 149.7 kB / 456.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.897e-05/0.3481, allocations: 17.39 kB / 456.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.3481, allocations: 12.02 kB / 456.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/0.3485, allocations: 425.1 kB / 457 MB, free: 37.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.3486, allocations: 36.31 kB / 457.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.3486, allocations: 0 / 457.1 MB, free: 37.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001361/0.3487, allocations: 36.61 kB / 457.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/0.3487, allocations: 52.78 kB / 457.2 MB, free: 37.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.849e-05/0.3488, allocations: 89.86 kB / 457.2 MB, free: 37.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.874e-06/0.3488, allocations: 29.02 kB / 457.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.102e-05/0.3488, allocations: 81.67 kB / 457.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.255e-05/0.3488, allocations: 5.344 kB / 457.4 MB, free: 37.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.3489, allocations: 14.88 kB / 457.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.653e-05/0.3489, allocations: 311.7 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.3489, allocations: 1.625 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.3489, allocations: 10.45 kB / 457.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.039e-05/0.349, allocations: 11.86 kB / 457.7 MB, free: 37.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.349, allocations: 0.7188 kB / 457.7 MB, free: 37.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.433e-05/0.349, allocations: 33.41 kB / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3491, allocations: 9.594 kB / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3491, allocations: 0 / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.3491, allocations: 0.8438 kB / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.357e-05/0.3491, allocations: 4.531 kB / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3491, allocations: 1.438 kB / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-06/0.3492, allocations: 0.8438 kB / 457.7 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3492, allocations: 0 / 457.7 MB, free: 37.04 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 (1): * Single equations (assignments): 1 * 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 4.521e-05/0.3492, allocations: 110.4 kB / 457.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.3493, allocations: 8.484 kB / 457.9 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.809e-05/0.3493, allocations: 39.14 kB / 457.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3493, allocations: 0 / 457.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3494, allocations: 0 / 457.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3494, allocations: 1.5 kB / 457.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.508e-05/0.3494, allocations: 148.2 kB / 458 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3494, allocations: 0.8438 kB / 458 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.3495, allocations: 4.344 kB / 458.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3495, allocations: 4.438 kB / 458.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.3495, allocations: 3.25 kB / 458.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3495, allocations: 2.438 kB / 458.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3495, allocations: 0 / 458.1 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.603e-05/0.3496, allocations: 64.42 kB / 458.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3496, allocations: 84.17 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.3496, allocations: 1.188 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.3496, allocations: 2.875 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.3496, allocations: 4.188 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.3496, allocations: 1.562 kB / 458.2 MB, free: 36.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.917e-05/0.3497, allocations: 79.28 kB / 458.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3497, allocations: 0 / 458.3 MB, free: 36.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001939/0.3499, allocations: 8.594 kB / 458.3 MB, free: 36.46 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 (1): * Single equations (assignments): 1 * 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.0001841/0.3501, allocations: 111.3 kB / 458.4 MB, free: 36.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.81e-05/0.3502, allocations: 13 kB / 458.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3502, allocations: 0 / 458.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.156e-06/0.3502, allocations: 4.938 kB / 458.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.3503, allocations: 4.125 kB / 458.4 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002017/0.3506, allocations: 79.66 kB / 458.5 MB, free: 36.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001323/0.3507, allocations: 0.6726 MB / 459.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.3507, allocations: 2.625 kB / 459.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.3507, allocations: 7.438 kB / 459.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3507, allocations: 0 / 459.2 MB, free: 35.58 MB / 382.1 MB Notification: Performance of Templates: time 0.002375/0.3531, allocations: 453 kB / 459.6 MB, free: 35.55 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)