Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.001379/0.001379, allocations: 84.39 kB / 20.68 MB, free: 1.023 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.001576/0.001576, allocations: 162.8 kB / 23.95 MB, free: 4.156 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.487/1.487, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.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.1811/0.1811, allocations: 29.44 MB / 290.1 MB, free: 3.266 MB / 270.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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.786e-05, allocations: 9.656 kB / 430.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.007639/0.007667, allocations: 5.108 MB / 435.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.01189, allocations: 2.163 MB / 438 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007453/0.01263, allocations: 31.75 kB / 438 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.01387, allocations: 282.1 kB / 438.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00112/0.01499, allocations: 361.7 kB / 438.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.01633, allocations: 0.5357 MB / 439.2 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.0178, allocations: 1.014 MB / 440.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.01882, allocations: 0.5409 MB / 440.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.01985, allocations: 0.5572 MB / 441.3 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007029/0.02055, allocations: 307 kB / 441.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.02073, allocations: 84 kB / 441.7 MB, free: 6.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006683/0.0214, allocations: 315.1 kB / 442 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.02169, allocations: 231.2 kB / 442.2 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.02212, allocations: 247.3 kB / 442.5 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.02369, allocations: 1.106 MB / 443.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.0237, allocations: 0 / 443.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.0237, allocations: 0 / 443.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.308e-05/0.02373, allocations: 0 / 443.6 MB, free: 5.008 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002659/0.02639, allocations: 1.065 MB / 444.6 MB, free: 3.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.02644, allocations: 23.92 kB / 444.7 MB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.02746, allocations: 160.3 kB / 444.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.02871, allocations: 0.535 MB / 445.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.02877, allocations: 45.69 kB / 445.4 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.02892, allocations: 68.33 kB / 445.5 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.03048, allocations: 0.8194 MB / 446.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.0305, allocations: 192 / 446.3 MB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/0.03057, allocations: 24.38 kB / 446.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-05/0.03062, allocations: 37.23 kB / 446.3 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.03197, allocations: 0.6257 MB / 447 MB, free: 1.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1978/0.2297, allocations: 2.528 MB / 449.5 MB, free: 28.58 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.2312, allocations: 0.5926 MB / 450.1 MB, free: 28.53 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/0.2317, allocations: 219 kB / 450.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.2318, allocations: 6.703 kB / 450.3 MB, free: 28.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2318, allocations: 41.5 kB / 450.3 MB, free: 28.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.826e-06/0.2318, allocations: 0 / 450.3 MB, free: 28.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=49): time 0.001716/0.2335, allocations: 0.6983 MB / 451 MB, free: 28.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.2335, allocations: 137.7 kB / 451.2 MB, free: 28.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.2343, allocations: 0.5045 MB / 451.7 MB, free: 27.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.2343, allocations: 35.77 kB / 451.7 MB, free: 27.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.2346, allocations: 358.6 kB / 452.1 MB, free: 27.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.2347, allocations: 182.6 kB / 452.2 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.2349, allocations: 105.3 kB / 452.3 MB, free: 27.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.235, allocations: 372.7 kB / 452.7 MB, free: 27.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.2354, allocations: 211 kB / 452.9 MB, free: 26.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.236, allocations: 400.9 kB / 453.3 MB, free: 26.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.237, allocations: 0.5587 MB / 453.9 MB, free: 26.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.237, allocations: 1.469 kB / 453.9 MB, free: 26.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001764/0.2388, allocations: 0.7741 MB / 454.6 MB, free: 26.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.2388, allocations: 7.375 kB / 454.7 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2388, allocations: 4.219 kB / 454.7 MB, free: 26.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004247/0.2392, allocations: 113.9 kB / 454.8 MB, free: 26.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.2398, allocations: 132.6 kB / 454.9 MB, free: 26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002698/0.2425, allocations: 2.278 MB / 457.2 MB, free: 24.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004672/0.243, allocations: 75.41 kB / 457.3 MB, free: 24.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.243, allocations: 24.75 kB / 457.3 MB, free: 24.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006384/0.2437, allocations: 374 kB / 457.6 MB, free: 23.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004933/0.2442, allocations: 387.8 kB / 458 MB, free: 23.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009134/0.2451, allocations: 0.5329 MB / 458.6 MB, free: 23.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.2451, allocations: 1.531 kB / 458.6 MB, free: 23.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00136/0.2464, allocations: 0.6919 MB / 459.2 MB, free: 23.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.2465, allocations: 6.094 kB / 459.3 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.2465, allocations: 4.219 kB / 459.3 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.2467, allocations: 99.12 kB / 459.4 MB, free: 23.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.2473, allocations: 128.8 kB / 459.5 MB, free: 23.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.2491, allocations: 2.085 MB / 461.6 MB, free: 21.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004641/0.2496, allocations: 64.09 kB / 461.6 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.2496, allocations: 24.44 kB / 461.6 MB, free: 21.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.2498, allocations: 221.1 kB / 461.9 MB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.2499, allocations: 64.75 kB / 461.9 MB, free: 21.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.2512, allocations: 0.5598 MB / 462.5 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.2512, allocations: 9.031 kB / 462.5 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.2512, allocations: 1.094 kB / 462.5 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2512, allocations: 3.75 kB / 462.5 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.2533, allocations: 1.122 MB / 463.6 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2533, allocations: 4.562 kB / 463.6 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005944/0.2539, allocations: 109.2 kB / 463.7 MB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.2539, allocations: 2.359 kB / 463.7 MB, free: 20.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.974e-05/0.254, allocations: 13.62 kB / 463.7 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.254, allocations: 2.188 kB / 463.8 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.254, allocations: 1.188 kB / 463.8 MB, free: 20.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.2557, allocations: 0.9028 MB / 464.7 MB, free: 19.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.2559, allocations: 109.4 kB / 464.8 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.142e-05/0.256, allocations: 12.25 kB / 464.8 MB, free: 19.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000434/0.2564, allocations: 41.92 kB / 464.8 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.2565, allocations: 35.56 kB / 464.9 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.2566, allocations: 15.19 kB / 464.9 MB, free: 19.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005798/0.2571, allocations: 354.8 kB / 465.2 MB, free: 19.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2571, allocations: 0 / 465.2 MB, free: 19.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001076/0.2582, allocations: 290.8 kB / 465.5 MB, free: 19.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001591/0.2584, allocations: 108.1 kB / 465.6 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.2605, allocations: 1.051 MB / 466.7 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.2606, allocations: 3.25 kB / 466.7 MB, free: 18.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005617/0.2611, allocations: 249.5 kB / 466.9 MB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008706/0.262, allocations: 131.5 kB / 467 MB, free: 18.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.2649, allocations: 1.374 MB / 468.4 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.2654, allocations: 346 kB / 468.7 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004866/0.2659, allocations: 117 kB / 468.9 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.2661, allocations: 45.12 kB / 468.9 MB, free: 17.76 MB / 366.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2661, allocations: 0 / 468.9 MB, free: 17.76 MB / 366.1 MB Notification: Performance of Templates: time 0.0158/0.2819, allocations: 7.633 MB / 476.5 MB, free: 15.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.008454207330942] Failed to read output from testmodel.py, exit status != 0: 0.2903352528810501 0.29977369800000003 0.27375381400000004 Calling exit ...