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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 107.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 207.6 MB / 231.3 MB, free: 3.145 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4145/0.4145, allocations: 55.71 MB / 339.1 MB, free: 11.98 MB / 270.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "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.002181/0.002181, allocations: 77.36 kB / 479.9 MB, free: 36.54 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1434, allocations: 62.85 MB / 0.53 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002102/0.1455, allocations: 0.5626 MB / 0.5306 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000346/0.1458, allocations: 92.06 kB / 0.5306 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.1459, allocations: 0 / 0.5306 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.779e-05/0.1459, allocations: 3.938 kB / 0.5307 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.001e-05/0.1459, allocations: 0 / 0.5307 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.1462, allocations: 15.98 kB / 0.5307 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.819e-05/0.1462, allocations: 4 kB / 0.5307 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1463, allocations: 4 kB / 0.5307 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.1463, allocations: 11.98 kB / 0.5307 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.1464, allocations: 7.922 kB / 0.5307 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.1464, allocations: 0 / 0.5307 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.806e-05/0.1465, allocations: 15.98 kB / 0.5307 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.1465, allocations: 0 / 0.5307 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1465, allocations: 7.938 kB / 0.5307 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.163e-05/0.1466, allocations: 11.98 kB / 0.5307 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1466, allocations: 0 / 0.5307 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1466, allocations: 0 / 0.5307 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1466, allocations: 0 / 0.5307 GB, free: 10.91 MB / 398.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.0004412/0.1471, allocations: 327.5 kB / 0.531 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1471, allocations: 8.031 kB / 0.531 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.1473, allocations: 12.88 kB / 0.5311 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.1474, allocations: 160.4 kB / 0.5312 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1474, allocations: 384 / 0.5312 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1475, allocations: 4.375 kB / 0.5312 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1476, allocations: 45.61 kB / 0.5313 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1476, allocations: 0 / 0.5313 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1476, allocations: 0 / 0.5313 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1476, allocations: 7.938 kB / 0.5313 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.971e-05/0.1477, allocations: 19.91 kB / 0.5313 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001749/0.1479, allocations: 149.7 kB / 0.5314 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1481, allocations: 38.59 kB / 0.5315 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.1481, allocations: 12.92 kB / 0.5315 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.1482, allocations: 15.92 kB / 0.5315 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.1482, allocations: 34.55 kB / 0.5315 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.1482, allocations: 0 / 0.5315 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002409/0.1484, allocations: 53.62 kB / 0.5316 GB, free: 9.875 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.1485, allocations: 51.41 kB / 0.5316 GB, free: 9.812 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.448e-05/0.1485, allocations: 97.84 kB / 0.5317 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.1485, allocations: 25.7 kB / 0.5317 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.604e-05/0.1486, allocations: 84.14 kB / 0.5318 GB, free: 9.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.909e-05/0.1486, allocations: 7.953 kB / 0.5318 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1487, allocations: 17.66 kB / 0.5318 GB, free: 9.559 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1488, allocations: 310.8 kB / 0.5321 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.1489, allocations: 7.984 kB / 0.5322 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.1489, allocations: 4 kB / 0.5322 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.149, allocations: 24.84 kB / 0.5322 GB, free: 9.207 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.149, allocations: 4 kB / 0.5322 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001174/0.1491, allocations: 53.56 kB / 0.5322 GB, free: 9.145 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.1491, allocations: 10.17 kB / 0.5322 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1491, allocations: 0 / 0.5322 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1492, allocations: 0 / 0.5322 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1495, allocations: 43.94 kB / 0.5323 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/0.1513, allocations: 1.4 MB / 0.5337 GB, free: 7.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.737e-05/0.1514, allocations: 11.89 kB / 0.5337 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.1514, allocations: 4.031 kB / 0.5337 GB, free: 7.539 MB / 398.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 0.0001077/0.1515, allocations: 110.5 kB / 0.5338 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.1515, allocations: 336 / 0.5338 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.269e-05/0.1515, allocations: 3.5 kB / 0.5338 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1515, allocations: 8 kB / 0.5338 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.1515, allocations: 3.984 kB / 0.5338 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1515, allocations: 7.922 kB / 0.5338 GB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.1517, allocations: 153.6 kB / 0.5339 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1517, allocations: 0 / 0.5339 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.152, allocations: 55.86 kB / 0.534 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.152, allocations: 0 / 0.534 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.1521, allocations: 0 / 0.534 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.1534, allocations: 1.408 MB / 0.5354 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1534, allocations: 0 / 0.5354 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000144/0.1536, allocations: 73.06 kB / 0.5354 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1536, allocations: 85.03 kB / 0.5355 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-06/0.1536, allocations: 0 / 0.5355 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.1537, allocations: 4 kB / 0.5355 GB, free: 5.398 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.1537, allocations: 4.062 kB / 0.5355 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.1537, allocations: 0 / 0.5355 GB, free: 5.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.1537, allocations: 75.28 kB / 0.5356 GB, free: 5.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1537, allocations: 4 kB / 0.5356 GB, free: 5.316 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001984/0.1539, allocations: 4 kB / 0.5356 GB, free: 5.312 MB / 398.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.0002069/0.1541, allocations: 99.23 kB / 0.5357 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005461/0.1547, allocations: 59.92 kB / 0.5358 GB, free: 5.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1547, allocations: 4 kB / 0.5358 GB, free: 5.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.1549, allocations: 35.89 kB / 0.5358 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.1551, allocations: 11.94 kB / 0.5358 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.1556, allocations: 104.8 kB / 0.5359 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.156, allocations: 0.6768 MB / 0.5366 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.16e-05/0.156, allocations: 0 / 0.5366 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.156, allocations: 11.44 kB / 0.5366 GB, free: 4.25 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.156, allocations: 0 / 0.5366 GB, free: 4.25 MB / 398.1 MB Notification: Performance of Templates: time 0.003239/0.1593, allocations: 428.7 kB / 0.537 GB, free: 3.832 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.048217059113085]