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.0007593/0.0007593, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008532/0.0008532, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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.9729/0.9729, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.1228/0.1228, allocations: 29.43 MB / 292 MB, free: 2.617 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.253e-06/1.253e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.553e-05, allocations: 9.797 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.004037/0.004052, allocations: 5.191 MB / 376.1 MB, free: 27.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.006201, allocations: 1.85 MB / 377.9 MB, free: 25.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.006571, allocations: 35.69 kB / 378 MB, free: 25.21 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.007154, allocations: 230.3 kB / 378.2 MB, free: 24.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.007567, allocations: 309.9 kB / 378.5 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.00817, allocations: 0.534 MB / 379 MB, free: 24.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.00878, allocations: 1.014 MB / 380 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005039/0.009284, allocations: 0.5409 MB / 380.6 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.009722, allocations: 0.5572 MB / 381.1 MB, free: 22.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.009985, allocations: 315 kB / 381.4 MB, free: 21.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.01005, allocations: 83.94 kB / 381.5 MB, free: 21.62 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002124/0.01026, allocations: 259.4 kB / 381.8 MB, free: 21.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.01037, allocations: 235.2 kB / 382 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.0105, allocations: 243.3 kB / 382.2 MB, free: 20.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004651/0.01096, allocations: 0.681 MB / 382.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.01097, allocations: 7.984 kB / 382.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.01097, allocations: 0 / 382.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.01097, allocations: 0 / 382.9 MB, free: 20.21 MB / 314.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.0008943/0.01187, allocations: 1.122 MB / 384.1 MB, free: 19.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.0119, allocations: 12.03 kB / 384.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004798/0.01238, allocations: 232.1 kB / 384.3 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.01283, allocations: 0.5424 MB / 384.8 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.01286, allocations: 45.69 kB / 384.9 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.01293, allocations: 68.34 kB / 384.9 MB, free: 18.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004635/0.01339, allocations: 0.5713 MB / 385.5 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.01341, allocations: 192 / 385.5 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.01344, allocations: 28.36 kB / 385.5 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/0.01347, allocations: 33.23 kB / 385.6 MB, free: 17.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01372, allocations: 234.1 kB / 385.8 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.01535, allocations: 2.623 MB / 388.4 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.01567, allocations: 302.4 kB / 388.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.649e-05/0.01576, allocations: 88.92 kB / 388.8 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.01578, allocations: 8.5 kB / 388.8 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.0158, allocations: 41.89 kB / 388.9 MB, free: 14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.573e-06/0.0158, allocations: 0 / 388.9 MB, free: 14 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003923/0.01619, allocations: 356.7 kB / 389.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.01622, allocations: 137 kB / 389.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.01643, allocations: 482.5 kB / 389.8 MB, free: 12.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01645, allocations: 37.69 kB / 389.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01658, allocations: 407.5 kB / 390.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.01664, allocations: 182.4 kB / 390.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-05/0.01673, allocations: 115.9 kB / 390.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.353e-05/0.01681, allocations: 0.5468 MB / 391.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.01689, allocations: 66.25 kB / 391.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01702, allocations: 293 kB / 391.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.01724, allocations: 309.1 kB / 391.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01725, allocations: 4 kB / 391.7 MB, free: 10.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005162/0.01776, allocations: 472.7 kB / 392.2 MB, free: 10.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.01778, allocations: 10.19 kB / 392.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.01778, allocations: 11.88 kB / 392.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.01802, allocations: 87.53 kB / 392.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.01827, allocations: 127.9 kB / 392.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009924/0.01926, allocations: 2.391 MB / 394.8 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01942, allocations: 63.75 kB / 394.9 MB, free: 7.605 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.01944, allocations: 23.88 kB / 394.9 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001396/0.01958, allocations: 196.1 kB / 395.1 MB, free: 7.387 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001249/0.01971, allocations: 289 kB / 395.4 MB, free: 7.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002032/0.01991, allocations: 309.1 kB / 395.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.01991, allocations: 3.938 kB / 395.7 MB, free: 6.656 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0003938/0.02031, allocations: 436.4 kB / 396.1 MB, free: 6.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.673e-06/0.02031, allocations: 8 kB / 396.1 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.02032, allocations: 4 kB / 396.1 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001357/0.02045, allocations: 79 kB / 396.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.02068, allocations: 119.8 kB / 396.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007776/0.02146, allocations: 2.349 MB / 398.7 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.02161, allocations: 51.72 kB / 398.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.02163, allocations: 16 kB / 398.7 MB, free: 3.484 MB / 314.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.hotwellLevel.local_reset,powerPlant.throttleCosts.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 7.754e-05/0.02171, allocations: 303.8 kB / 399 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/0.02177, allocations: 79.58 kB / 399.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002983/0.02207, allocations: 323.9 kB / 399.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.02207, allocations: 4 kB / 399.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.02207, allocations: 0 / 399.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02208, allocations: 3.984 kB / 399.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.02271, allocations: 0.8116 MB / 400.2 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02271, allocations: 4 kB / 400.3 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.02296, allocations: 99.83 kB / 400.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.02296, allocations: 4 kB / 400.4 MB, free: 1.812 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.02298, allocations: 15.98 kB / 400.4 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.02298, allocations: 4 kB / 400.4 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02298, allocations: 3.984 kB / 400.4 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003661/0.02335, allocations: 0.5327 MB / 400.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.373e-05/0.02344, allocations: 103.5 kB / 401 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.02348, allocations: 19.92 kB / 401 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.02361, allocations: 15.98 kB / 401 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.062e-05/0.02366, allocations: 40.44 kB / 401.1 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.02368, allocations: 11.98 kB / 401.1 MB, free: 1.047 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.02379, allocations: 302.7 kB / 401.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02379, allocations: 0 / 401.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.02423, allocations: 283.2 kB / 401.7 MB, free: 488 kB / 314.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 8.489e-05/0.02432, allocations: 111.7 kB / 401.8 MB, free: 368 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006511/0.02497, allocations: 0.8188 MB / 402.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.02497, allocations: 1.375 kB / 402.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.02511, allocations: 131.5 kB / 402.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.02552, allocations: 145.7 kB / 402.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.02707, allocations: 1.285 MB / 404.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.795e-05/0.02717, allocations: 170.8 kB / 404.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002226/0.02739, allocations: 64.34 kB / 404.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.02761, allocations: 178.1 kB / 404.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02761, allocations: 0 / 404.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01032/0.03793, allocations: 8.574 MB / 413.1 MB, free: 5.02 MB / 330.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: 3.1294646002352238]