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.001424/0.001424, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 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.001794/0.001794, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9277/0.9277, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2243/0.2243, allocations: 29.41 MB / 290.9 MB, free: 2.484 MB / 266.7 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.724e-06/1.724e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.815e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005925/0.005953, allocations: 5.271 MB / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.008428, allocations: 1.866 MB / 376.8 MB, free: 3.824 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003997/0.008828, allocations: 35.75 kB / 376.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006926/0.00952, allocations: 234.3 kB / 377 MB, free: 3.559 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.01009, allocations: 310 kB / 377.3 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008026/0.0109, allocations: 0.5183 MB / 377.9 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008601/0.01176, allocations: 1.018 MB / 378.9 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006183/0.01237, allocations: 0.5408 MB / 379.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000568/0.01294, allocations: 0.5573 MB / 380 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003362/0.01328, allocations: 315 kB / 380.3 MB, free: 300 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.598e-05/0.01336, allocations: 87.92 kB / 380.4 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.01368, allocations: 263.4 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.01383, allocations: 227.2 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.01402, allocations: 235.4 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007352/0.01475, allocations: 0.6888 MB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01476, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01476, allocations: 0 / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.01476, allocations: 7.938 kB / 381.8 MB, free: 14.8 MB / 362.7 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.001092/0.01586, allocations: 1.114 MB / 382.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.01589, allocations: 15.98 kB / 382.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005576/0.01644, allocations: 244.1 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.017, allocations: 0.5502 MB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.01704, allocations: 49.62 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.0171, allocations: 64.36 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006639/0.01777, allocations: 0.6105 MB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.01779, allocations: 12.12 kB / 384.4 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.01782, allocations: 20.38 kB / 384.4 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-05/0.01785, allocations: 41.17 kB / 384.5 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.01829, allocations: 283.5 kB / 384.8 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.0206, allocations: 2.721 MB / 387.5 MB, free: 8.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.02108, allocations: 337.2 kB / 387.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.02122, allocations: 104.8 kB / 387.9 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.02125, allocations: 16.44 kB / 387.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.02129, allocations: 42.08 kB / 388 MB, free: 8.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.0213, allocations: 0 / 388 MB, free: 8.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005728/0.02187, allocations: 392.5 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.02193, allocations: 137 kB / 388.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/0.02227, allocations: 490.6 kB / 389 MB, free: 7.258 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.0223, allocations: 33.7 kB / 389 MB, free: 7.219 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.02248, allocations: 411.5 kB / 389.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.02258, allocations: 182.6 kB / 389.6 MB, free: 6.633 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.02268, allocations: 108 kB / 389.7 MB, free: 6.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.02283, allocations: 0.543 MB / 390.2 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.02297, allocations: 86.25 kB / 390.3 MB, free: 5.875 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.02321, allocations: 317.2 kB / 390.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.02356, allocations: 337.1 kB / 391 MB, free: 5.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.02356, allocations: 0 / 391 MB, free: 5.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006823/0.02425, allocations: 0.5002 MB / 391.5 MB, free: 4.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.02426, allocations: 11.94 kB / 391.5 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02427, allocations: 4.438 kB / 391.5 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/0.02455, allocations: 99 kB / 391.6 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.02484, allocations: 131.7 kB / 391.7 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.02633, allocations: 2.439 MB / 394.1 MB, free: 1.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.02651, allocations: 55.72 kB / 394.2 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.02653, allocations: 23.98 kB / 394.2 MB, free: 1.699 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002122/0.02675, allocations: 212.2 kB / 394.4 MB, free: 1.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002163/0.02696, allocations: 305.1 kB / 394.7 MB, free: 1.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003434/0.02731, allocations: 345.1 kB / 395.1 MB, free: 0.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.055e-06/0.02731, allocations: 4 kB / 395.1 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.000547/0.02786, allocations: 472.4 kB / 395.5 MB, free: 236 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.02787, allocations: 8 kB / 395.5 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.02787, allocations: 4 kB / 395.5 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001599/0.02803, allocations: 83.77 kB / 395.6 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.0283, allocations: 127.8 kB / 395.7 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.02957, allocations: 2.396 MB / 398.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.02974, allocations: 47.72 kB / 398.2 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.02977, allocations: 28 kB / 398.2 MB, free: 13.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (59): * Single equations (assignments): 58 * 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.0001363/0.02991, allocations: 303.8 kB / 398.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.182e-05/0.02998, allocations: 79.58 kB / 398.6 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.0304, allocations: 340 kB / 398.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.0304, allocations: 11.94 kB / 398.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.0304, allocations: 4.031 kB / 398.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.03041, allocations: 3.984 kB / 398.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009154/0.03132, allocations: 0.905 MB / 399.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.03133, allocations: 0 / 399.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00028/0.03161, allocations: 107.8 kB / 399.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.03161, allocations: 4 kB / 400 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.03164, allocations: 12 kB / 400 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.03164, allocations: 0 / 400 MB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.03164, allocations: 11.94 kB / 400 MB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.0322, allocations: 0.5755 MB / 400.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.03231, allocations: 103.5 kB / 400.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.03235, allocations: 15.95 kB / 400.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.03249, allocations: 27.97 kB / 400.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.969e-05/0.03256, allocations: 36.38 kB / 400.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.03259, allocations: 19.98 kB / 400.7 MB, free: 10.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.0328, allocations: 314.8 kB / 401.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0328, allocations: 0 / 401.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005174/0.03332, allocations: 279.3 kB / 401.3 MB, free: 10.22 MB / 378.7 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.0001072/0.03343, allocations: 107.2 kB / 401.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.03428, allocations: 0.8546 MB / 402.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03428, allocations: 0 / 402.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.03445, allocations: 147.4 kB / 402.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.03487, allocations: 166.7 kB / 402.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.03664, allocations: 1.299 MB / 403.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.03675, allocations: 166.8 kB / 404.1 MB, free: 7.402 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.03697, allocations: 100.3 kB / 404.2 MB, free: 7.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.861e-05/0.03707, allocations: 48.5 kB / 404.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.03707, allocations: 0 / 404.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of Templates: time 0.01005/0.04712, allocations: 8.089 MB / 412.3 MB, free: 15.25 MB / 394.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.949886848218739]