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.001697/0.001697, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001661/0.00166, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3858/0.3858, allocations: 54.98 MB / 325.4 MB, free: 0.7461 MB / 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.0009497/0.00095, allocations: 20 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.343, allocations: 60.72 MB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.001323/0.3443, allocations: 1.125 MB / 458.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000607/0.345, allocations: 335.9 kB / 458.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.345, allocations: 0 / 458.8 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.467e-05/0.345, allocations: 3.938 kB / 458.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.3451, allocations: 2.969 kB / 458.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3455, allocations: 71.84 kB / 458.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.3456, allocations: 17.41 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.3457, allocations: 8.312 kB / 458.9 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3457, allocations: 6.906 kB / 458.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.3458, allocations: 14.39 kB / 458.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3458, allocations: 2.844 kB / 458.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.3461, allocations: 253.3 kB / 459.1 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.3461, allocations: 7.125 kB / 459.1 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.3462, allocations: 33.95 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.3463, allocations: 64.45 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3463, allocations: 0 / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3463, allocations: 3.125 kB / 459.2 MB, free: 38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3463, allocations: 0 / 459.2 MB, free: 38 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.0003877/0.3467, allocations: 358.2 kB / 459.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3468, allocations: 10.38 kB / 459.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3468, allocations: 7.312 kB / 459.6 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.056e-05/0.3469, allocations: 171.2 kB / 459.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3469, allocations: 6.719 kB / 459.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.3469, allocations: 0 / 459.8 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.3471, allocations: 57.17 kB / 459.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3471, allocations: 3.938 kB / 459.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3471, allocations: 0 / 459.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3471, allocations: 1.125 kB / 459.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.3473, allocations: 47.47 kB / 459.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.3476, allocations: 256.9 kB / 460.1 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.3477, allocations: 43.11 kB / 460.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/0.3482, allocations: 462.4 kB / 460.6 MB, free: 36.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.3483, allocations: 40.52 kB / 460.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3483, allocations: 0.5 kB / 460.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003657/0.3486, allocations: 100.3 kB / 460.8 MB, free: 36.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.3487, allocations: 55.77 kB / 460.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.3487, allocations: 100.2 kB / 460.9 MB, free: 36.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.3487, allocations: 25.7 kB / 460.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.3488, allocations: 94.56 kB / 461 MB, free: 36.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.3488, allocations: 0.6562 kB / 461 MB, free: 36.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.3488, allocations: 1 kB / 461 MB, free: 36.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.62e-05/0.3489, allocations: 317.6 kB / 461.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.349, allocations: 24.41 kB / 461.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.349, allocations: 21.25 kB / 461.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.3491, allocations: 29.95 kB / 461.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3491, allocations: 0 / 461.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001914/0.3493, allocations: 83.62 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3494, allocations: 5.469 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3494, allocations: 0 / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3494, allocations: 1 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.54e-05/0.3495, allocations: 16.92 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/0.3495, allocations: 0 / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.3496, allocations: 8.828 kB / 461.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3496, allocations: 7.031 kB / 461.5 MB, free: 35.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.3496, allocations: 106.6 kB / 461.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.3497, allocations: 7.875 kB / 461.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.3499, allocations: 85.08 kB / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3499, allocations: 0 / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3499, allocations: 3.953 kB / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3499, allocations: 4.344 kB / 461.7 MB, free: 35.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.35, allocations: 161.4 kB / 461.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3501, allocations: 0 / 461.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.3501, allocations: 11.45 kB / 461.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3501, allocations: 3.938 kB / 461.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3501, allocations: 5.312 kB / 461.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3501, allocations: 0 / 461.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3501, allocations: 256 / 461.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3504, allocations: 184.7 kB / 462.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.798e-05/0.3504, allocations: 78.8 kB / 462.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3504, allocations: 0 / 462.2 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.3505, allocations: 16.33 kB / 462.2 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.3505, allocations: 1.453 kB / 462.2 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.3505, allocations: 2.219 kB / 462.2 MB, free: 35.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.687e-05/0.3506, allocations: 88.17 kB / 462.3 MB, free: 35.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3506, allocations: 0 / 462.3 MB, free: 35.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3508, allocations: 23.67 kB / 462.3 MB, free: 35.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.3509, allocations: 107.7 kB / 462.4 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.3512, allocations: 48.88 kB / 462.5 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3512, allocations: 0 / 462.5 MB, free: 35.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.3513, allocations: 27.59 kB / 462.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.3515, allocations: 6.438 kB / 462.5 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.3517, allocations: 113.4 kB / 462.6 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.3518, allocations: 0.6814 MB / 463.3 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.3518, allocations: 0 / 463.3 MB, free: 34.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.3519, allocations: 14.16 kB / 463.3 MB, free: 34.36 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3519, allocations: 0 / 463.3 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Templates: time 0.002451/0.3543, allocations: 0.6117 MB / 463.9 MB, free: 34.33 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: