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.0008767/0.0008765, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00737/0.00737, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 205.4 MB / 222.5 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4093/0.4093, allocations: 55.03 MB / 325.8 MB, free: 0.5469 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.0005564/0.0005566, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4381, allocations: 60.72 MB / 458 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0008852/0.4391, allocations: 290 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003574/0.4395, allocations: 88.16 kB / 458.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.114e-05/0.4395, allocations: 0 / 458.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.752e-05/0.4395, allocations: 0 / 458.4 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/0.4396, allocations: 3.938 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.4398, allocations: 18.22 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.535e-05/0.4398, allocations: 6.156 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.982e-05/0.4399, allocations: 0 / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.4399, allocations: 9.328 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.932e-05/0.44, allocations: 6.125 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.44, allocations: 0 / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.419e-05/0.4401, allocations: 12.8 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.4401, allocations: 6.438 kB / 458.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.4401, allocations: 29.2 kB / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.476e-05/0.4402, allocations: 15.02 kB / 458.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4402, allocations: 0 / 458.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4402, allocations: 1.062 kB / 458.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.4402, allocations: 0 / 458.5 MB, free: 38.2 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.0002863/0.4405, allocations: 314.7 kB / 458.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4406, allocations: 11.22 kB / 458.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.4408, allocations: 10.27 kB / 458.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.325e-05/0.4408, allocations: 162.4 kB / 458.9 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.4409, allocations: 1.828 kB / 458.9 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.4409, allocations: 4.031 kB / 459 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.441, allocations: 45.8 kB / 459 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.441, allocations: 0.9062 kB / 459 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4411, allocations: 0.75 kB / 459 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4411, allocations: 5.734 kB / 459 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.4412, allocations: 14.45 kB / 459 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001209/0.4413, allocations: 154.7 kB / 459.2 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.4415, allocations: 42.14 kB / 459.2 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.4415, allocations: 19.58 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.4415, allocations: 0.8438 kB / 459.2 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.4416, allocations: 37.19 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.334e-06/0.4416, allocations: 0.625 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002046/0.4418, allocations: 53.44 kB / 459.3 MB, free: 37.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4418, allocations: 55.23 kB / 459.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.32e-05/0.4418, allocations: 96.27 kB / 459.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.4419, allocations: 25.7 kB / 459.5 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.039e-05/0.4419, allocations: 80.77 kB / 459.6 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.4419, allocations: 9.062 kB / 459.6 MB, free: 37.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.4419, allocations: 15.25 kB / 459.6 MB, free: 37.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.442, allocations: 314 kB / 459.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/0.4421, allocations: 12.2 kB / 459.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.77e-05/0.4421, allocations: 6.406 kB / 459.9 MB, free: 36.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.321e-05/0.4422, allocations: 22.31 kB / 459.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4422, allocations: 0 / 459.9 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.777e-05/0.4423, allocations: 52.45 kB / 460 MB, free: 36.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4423, allocations: 9.688 kB / 460 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.4423, allocations: 0.5938 kB / 460 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4424, allocations: 1.156 kB / 460 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.4427, allocations: 42.72 kB / 460 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.4439, allocations: 1.313 MB / 461.4 MB, free: 35.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.4439, allocations: 7.625 kB / 461.4 MB, free: 35.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4439, allocations: 3.094 kB / 461.4 MB, free: 35.34 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.111e-05/0.444, allocations: 112.5 kB / 461.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.444, allocations: 2.875 kB / 461.5 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.186e-05/0.444, allocations: 5.375 kB / 461.5 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.4441, allocations: 0 / 461.5 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/0.4441, allocations: 1.125 kB / 461.5 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4441, allocations: 3.453 kB / 461.5 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.981e-05/0.4442, allocations: 159.8 kB / 461.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4442, allocations: 1.125 kB / 461.6 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.4445, allocations: 54.14 kB / 461.7 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4445, allocations: 0.6562 kB / 461.7 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.4446, allocations: 0 / 461.7 MB, free: 35.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008002/0.4454, allocations: 1.305 MB / 463 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4454, allocations: 8.672 kB / 463 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.4455, allocations: 81.89 kB / 463.1 MB, free: 33.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.4455, allocations: 77.11 kB / 463.2 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-06/0.4455, allocations: 0 / 463.2 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.577e-05/0.4456, allocations: 7.594 kB / 463.2 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.4456, allocations: 0 / 463.2 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4456, allocations: 10.91 kB / 463.2 MB, free: 33.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.711e-05/0.4456, allocations: 82.38 kB / 463.3 MB, free: 33.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4456, allocations: 0 / 463.3 MB, free: 33.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.4458, allocations: 3.156 kB / 463.3 MB, free: 33.45 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001212/0.4459, allocations: 95.22 kB / 463.4 MB, free: 33.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.4464, allocations: 62.55 kB / 463.4 MB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.4464, allocations: 0 / 463.4 MB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002541/0.4467, allocations: 40.75 kB / 463.5 MB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.4468, allocations: 1.125 kB / 463.5 MB, free: 33.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.4472, allocations: 100.7 kB / 463.6 MB, free: 33.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.4474, allocations: 0.6766 MB / 464.2 MB, free: 32.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.4474, allocations: 2.969 kB / 464.2 MB, free: 32.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.4474, allocations: 7.438 kB / 464.3 MB, free: 32.56 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4475, allocations: 0 / 464.3 MB, free: 32.56 MB / 382.1 MB Notification: Performance of Templates: time 0.002656/0.4501, allocations: 392 kB / 464.6 MB, free: 32.52 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: