Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007994/0.0007999, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.0008712/0.0008713, allocations: 168.7 kB / 15.95 MB, free: 204 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.61/1.61, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4215/0.4215, allocations: 55.02 MB / 325.4 MB, free: 0.6172 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.0005644/0.0005646, allocations: 20 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3983, allocations: 60.72 MB / 457.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007651/0.3991, allocations: 283.4 kB / 457.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00028/0.3994, allocations: 87.55 kB / 457.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.887e-05/0.3994, allocations: 0.625 kB / 457.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.159e-05/0.3995, allocations: 3.438 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.3995, allocations: 0 / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001917/0.3997, allocations: 14.16 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.3998, allocations: 0 / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.508e-05/0.3998, allocations: 2.781 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.3999, allocations: 7.125 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.4, allocations: 6.938 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.4, allocations: 0 / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.4001, allocations: 19.55 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.4001, allocations: 1.281 kB / 457.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.4001, allocations: 25.7 kB / 457.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.186e-05/0.4002, allocations: 9.281 kB / 457.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4002, allocations: 0.5312 kB / 457.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4002, allocations: 3.734 kB / 457.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.4002, allocations: 0.5625 kB / 457.8 MB, free: 38.19 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.0002958/0.4005, allocations: 316.6 kB / 458.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4006, allocations: 9.812 kB / 458.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.4007, allocations: 9.797 kB / 458.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.824e-05/0.4008, allocations: 163.8 kB / 458.3 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.4008, allocations: 4.891 kB / 458.3 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4009, allocations: 2.844 kB / 458.3 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.401, allocations: 43.39 kB / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.401, allocations: 0 / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.401, allocations: 2.531 kB / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.401, allocations: 0 / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.4011, allocations: 15.33 kB / 458.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.4013, allocations: 157.6 kB / 458.5 MB, free: 37.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.4014, allocations: 37.25 kB / 458.6 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.4014, allocations: 9.297 kB / 458.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.4015, allocations: 10 kB / 458.6 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.4015, allocations: 35.31 kB / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.4015, allocations: 0 / 458.6 MB, free: 37.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001975/0.4017, allocations: 52.27 kB / 458.7 MB, free: 37.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4017, allocations: 51.41 kB / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.437e-05/0.4018, allocations: 94.3 kB / 458.8 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.4018, allocations: 26.73 kB / 458.9 MB, free: 37.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.572e-05/0.4018, allocations: 80.84 kB / 458.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.4019, allocations: 12.47 kB / 459 MB, free: 37.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.4019, allocations: 0 / 459 MB, free: 37.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.383e-05/0.4019, allocations: 323.1 kB / 459.3 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.414e-05/0.402, allocations: 5.562 kB / 459.3 MB, free: 36.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.402, allocations: 14.7 kB / 459.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.806e-05/0.4021, allocations: 7.375 kB / 459.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4021, allocations: 2.688 kB / 459.3 MB, free: 36.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.048e-05/0.4022, allocations: 49.55 kB / 459.3 MB, free: 36.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4022, allocations: 7.062 kB / 459.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4022, allocations: 1.016 kB / 459.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4022, allocations: 0.5312 kB / 459.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.4025, allocations: 42.58 kB / 459.4 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/0.4035, allocations: 1.312 MB / 460.7 MB, free: 35.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.4035, allocations: 7.891 kB / 460.7 MB, free: 35.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.4035, allocations: 6.188 kB / 460.7 MB, free: 35.36 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 5.475e-05/0.4036, allocations: 109.1 kB / 460.8 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.4036, allocations: 2.781 kB / 460.8 MB, free: 35.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.111e-05/0.4036, allocations: 5.438 kB / 460.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4036, allocations: 1.562 kB / 460.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.4036, allocations: 0 / 460.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4036, allocations: 1 kB / 460.8 MB, free: 35.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.395e-05/0.4037, allocations: 156 kB / 461 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.4037, allocations: 2.75 kB / 461 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.404, allocations: 47.25 kB / 461 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.404, allocations: 0.6094 kB / 461 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.404, allocations: 0.8125 kB / 461 MB, free: 35.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007452/0.4048, allocations: 1.318 MB / 462.4 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4048, allocations: 0 / 462.4 MB, free: 33.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.4049, allocations: 77.89 kB / 462.4 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.4049, allocations: 77.11 kB / 462.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.4049, allocations: 4.812 kB / 462.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.313e-05/0.405, allocations: 0 / 462.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.405, allocations: 7.594 kB / 462.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.405, allocations: 0 / 462.5 MB, free: 33.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.523e-05/0.405, allocations: 75.28 kB / 462.6 MB, free: 33.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.405, allocations: 0.6562 kB / 462.6 MB, free: 33.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001913/0.4052, allocations: 3.719 kB / 462.6 MB, free: 33.49 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 (3): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.73e-05/0.4053, allocations: 98.72 kB / 462.7 MB, free: 33.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004038/0.4057, allocations: 69.28 kB / 462.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4057, allocations: 0 / 462.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.406, allocations: 39.11 kB / 462.8 MB, free: 33.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.4061, allocations: 16.88 kB / 462.8 MB, free: 33.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.4064, allocations: 97.08 kB / 462.9 MB, free: 33.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.4065, allocations: 0.6721 MB / 463.6 MB, free: 32.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.412e-05/0.4066, allocations: 3.141 kB / 463.6 MB, free: 32.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.4066, allocations: 9.906 kB / 463.6 MB, free: 32.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4066, allocations: 4 kB / 463.6 MB, free: 32.58 MB / 382.1 MB Notification: Performance of Templates: time 0.002287/0.4089, allocations: 379.3 kB / 464 MB, free: 32.55 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: