Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1871/0.1871, allocations: 38.55 MB / 353.2 MB, free: 12.39 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 63.91 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.319, allocations: 62.47 MB / 0.5432 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.00826/0.3272, allocations: 5.577 MB / 0.5486 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005655/0.3329, allocations: 2.609 MB / 0.5512 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007678/0.3337, allocations: 35.06 kB / 0.5512 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.335, allocations: 386.5 kB / 0.5516 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.3364, allocations: 475 kB / 0.552 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.3378, allocations: 0.568 MB / 0.5526 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001648/0.3395, allocations: 1.215 MB / 0.5538 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.3405, allocations: 0.5961 MB / 0.5543 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008321/0.3413, allocations: 500 kB / 0.5548 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006857/0.342, allocations: 451.8 kB / 0.5552 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.3421, allocations: 86.47 kB / 0.5553 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008948/0.343, allocations: 460.7 kB / 0.5558 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.3433, allocations: 271.4 kB / 0.556 GB, free: 6.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003849/0.3437, allocations: 336.6 kB / 0.5563 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.3454, allocations: 1.251 MB / 0.5576 GB, free: 5.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3454, allocations: 4 kB / 0.5576 GB, free: 5.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3454, allocations: 3.938 kB / 0.5576 GB, free: 5.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3454, allocations: 0 / 0.5576 GB, free: 5.402 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002467/0.3479, allocations: 1.155 MB / 0.5587 GB, free: 4.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.348, allocations: 11.98 kB / 0.5587 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/0.3492, allocations: 212.1 kB / 0.5589 GB, free: 3.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.3505, allocations: 0.5746 MB / 0.5595 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.3505, allocations: 49.69 kB / 0.5595 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.3507, allocations: 72.36 kB / 0.5596 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.3524, allocations: 0.9371 MB / 0.5605 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.3524, allocations: 7.938 kB / 0.5605 GB, free: 2.273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.713e-05/0.3525, allocations: 31.98 kB / 0.5605 GB, free: 2.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.3525, allocations: 37.3 kB / 0.5606 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.3542, allocations: 0.7741 MB / 0.5613 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005059/0.3592, allocations: 2.847 MB / 0.5641 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.361, allocations: 0.7122 MB / 0.5648 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000627/0.3616, allocations: 287.1 kB / 0.5651 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.3617, allocations: 8.5 kB / 0.5651 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.3617, allocations: 43.06 kB / 0.5651 GB, free: 13.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.655e-06/0.3617, allocations: 0 / 0.5651 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=63): time 0.005441/0.3672, allocations: 2.316 MB / 0.5674 GB, free: 11.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3673, allocations: 137 kB / 0.5675 GB, free: 10.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.3681, allocations: 0.5145 MB / 0.568 GB, free: 10.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.3682, allocations: 37.7 kB / 0.5681 GB, free: 10.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.3685, allocations: 376.7 kB / 0.5684 GB, free: 9.934 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.3687, allocations: 238 kB / 0.5687 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.3689, allocations: 114.7 kB / 0.5688 GB, free: 9.582 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002166/0.3691, allocations: 378.8 kB / 0.5691 GB, free: 9.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.3698, allocations: 284.6 kB / 0.5694 GB, free: 8.922 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.3706, allocations: 474.2 kB / 0.5698 GB, free: 8.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.372, allocations: 0.6979 MB / 0.5705 GB, free: 7.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.372, allocations: 4 kB / 0.5705 GB, free: 7.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001822/0.3738, allocations: 0.8253 MB / 0.5713 GB, free: 6.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3738, allocations: 11.98 kB / 0.5714 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3738, allocations: 4.438 kB / 0.5714 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.3741, allocations: 60.81 kB / 0.5714 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.3749, allocations: 171.8 kB / 0.5716 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.3771, allocations: 1.681 MB / 0.5732 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.3777, allocations: 47.95 kB / 0.5733 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.3777, allocations: 31.98 kB / 0.5733 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009136/0.3786, allocations: 438 kB / 0.5737 GB, free: 4.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000754/0.3794, allocations: 462.2 kB / 0.5742 GB, free: 3.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.3807, allocations: 0.6745 MB / 0.5748 GB, free: 3.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.22e-06/0.3807, allocations: 3.938 kB / 0.5748 GB, free: 3.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001723/0.3824, allocations: 0.8063 MB / 0.5756 GB, free: 2.191 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3824, allocations: 8.031 kB / 0.5756 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3824, allocations: 8 kB / 0.5756 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.3827, allocations: 60.75 kB / 0.5757 GB, free: 2.113 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.3834, allocations: 167.8 kB / 0.5758 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.3853, allocations: 1.676 MB / 0.5775 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.3859, allocations: 43.95 kB / 0.5775 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.386, allocations: 32.06 kB / 0.5775 GB, free: 104 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.3863, allocations: 225.7 kB / 0.5778 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3864, allocations: 67.58 kB / 0.5778 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.3882, allocations: 0.7661 MB / 0.5786 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3882, allocations: 11.98 kB / 0.5786 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.3882, allocations: 3.938 kB / 0.5786 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.3882, allocations: 4 kB / 0.5786 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.3925, allocations: 1.924 MB / 0.5805 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.079e-05/0.3925, allocations: 8 kB / 0.5805 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.3931, allocations: 136.5 kB / 0.5806 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002126/0.3933, allocations: 60.75 kB / 0.5807 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.234e-05/0.3933, allocations: 20 kB / 0.5807 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001716/0.395, allocations: 1.622 MB / 0.5823 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/0.3951, allocations: 15.88 kB / 0.5823 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.3975, allocations: 1.306 MB / 0.5836 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/0.3978, allocations: 127.4 kB / 0.5837 GB, free: 9.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/0.3979, allocations: 27.98 kB / 0.5837 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.3984, allocations: 51.95 kB / 0.5838 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3985, allocations: 71.66 kB / 0.5838 GB, free: 9.328 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.3986, allocations: 27.98 kB / 0.5839 GB, free: 9.301 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006081/0.3992, allocations: 362.8 kB / 0.5842 GB, free: 8.949 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3992, allocations: 0 / 0.5842 GB, free: 8.949 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001079/0.4003, allocations: 248 kB / 0.5844 GB, free: 8.707 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/0.4004, allocations: 131.1 kB / 0.5846 GB, free: 8.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002614/0.4031, allocations: 1.221 MB / 0.5858 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4031, allocations: 128 / 0.5858 GB, free: 7.324 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009508/0.404, allocations: 475.7 kB / 0.5862 GB, free: 6.848 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009596/0.405, allocations: 173.9 kB / 0.5864 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.4084, allocations: 1.79 MB / 0.5881 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.4089, allocations: 397.4 kB / 0.5885 GB, free: 4.367 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.4092, allocations: 55.42 kB / 0.5886 GB, free: 4.312 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4092, allocations: 0 / 0.5886 GB, free: 4.312 MB / 430.1 MB Notification: Performance of Templates: time 0.01909/0.4282, allocations: 12.67 MB / 0.6009 GB, free: 7.652 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.756209279876202] Failed to read output from testmodel.py, exit status != 0: 0.43785726884379983 0.45270947800000005 0.10404429800000001 Calling exit ...