Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.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.000885/0.000885, 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.001031/0.001031, allocations: 167.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.9897/0.9897, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1157/0.1157, allocations: 29.42 MB / 292 MB, free: 2.605 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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.136e-05, allocations: 8.781 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.003724/0.003735, allocations: 5.229 MB / 376.1 MB, free: 27.04 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.005775, allocations: 1.854 MB / 378 MB, free: 25.18 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003347/0.00611, allocations: 31.75 kB / 378 MB, free: 25.15 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.006673, allocations: 238.2 kB / 378.2 MB, free: 24.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004197/0.007093, allocations: 309.9 kB / 378.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006332/0.007726, allocations: 0.5262 MB / 379.1 MB, free: 24.08 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006872/0.008413, allocations: 1.026 MB / 380.1 MB, free: 23.05 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.008925, allocations: 0.5448 MB / 380.6 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004578/0.009382, allocations: 0.5611 MB / 381.2 MB, free: 21.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003265/0.009709, allocations: 334.9 kB / 381.5 MB, free: 21.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.009781, allocations: 80 kB / 381.6 MB, free: 21.53 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.01003, allocations: 263.4 kB / 381.8 MB, free: 21.27 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.01014, allocations: 235.2 kB / 382.1 MB, free: 21.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01028, allocations: 235.4 kB / 382.3 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.01075, allocations: 0.7005 MB / 383 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01075, allocations: 0 / 383 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.52e-07/0.01075, allocations: 0 / 383 MB, free: 20.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.01076, allocations: 0 / 383 MB, free: 20.11 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.0008779/0.01164, allocations: 1.145 MB / 384.2 MB, free: 18.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.01166, allocations: 12.03 kB / 384.2 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004716/0.01214, allocations: 224.2 kB / 384.4 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004391/0.01257, allocations: 0.5501 MB / 384.9 MB, free: 18.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.0126, allocations: 49.69 kB / 385 MB, free: 18.06 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.01266, allocations: 64.36 kB / 385 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004445/0.0131, allocations: 0.5791 MB / 385.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.01312, allocations: 4.188 kB / 385.6 MB, free: 17.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.356e-05/0.01315, allocations: 28.36 kB / 385.7 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.01318, allocations: 33.19 kB / 385.7 MB, free: 17.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.01343, allocations: 230.1 kB / 385.9 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.01508, allocations: 2.643 MB / 388.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003855/0.01547, allocations: 315 kB / 388.9 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.283e-05/0.01556, allocations: 92.89 kB / 389 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.01559, allocations: 8.5 kB / 389 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.615e-05/0.0156, allocations: 45.88 kB / 389 MB, free: 13.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.953e-06/0.0156, allocations: 0 / 389 MB, free: 13.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0004063/0.01601, allocations: 352.8 kB / 389.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.01604, allocations: 137 kB / 389.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01625, allocations: 495 kB / 390 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.01627, allocations: 33.7 kB / 390 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.01639, allocations: 411.6 kB / 390.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.01646, allocations: 194.3 kB / 390.6 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.222e-05/0.01655, allocations: 107.9 kB / 390.7 MB, free: 12.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.01662, allocations: 0.5507 MB / 391.3 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.0167, allocations: 74.25 kB / 391.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.01683, allocations: 285 kB / 391.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.01705, allocations: 317.1 kB / 391.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01705, allocations: 0 / 391.9 MB, free: 10.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005055/0.01756, allocations: 480.2 kB / 392.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.01757, allocations: 8.438 kB / 392.4 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01757, allocations: 8 kB / 392.4 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.0178, allocations: 95.23 kB / 392.5 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.01805, allocations: 135.8 kB / 392.6 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009538/0.01901, allocations: 2.381 MB / 395 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.01917, allocations: 71.64 kB / 395.1 MB, free: 7.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.01919, allocations: 16 kB / 395.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001411/0.01933, allocations: 196.1 kB / 395.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001283/0.01946, allocations: 293 kB / 395.6 MB, free: 6.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002085/0.01967, allocations: 317 kB / 395.9 MB, free: 6.449 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.264e-06/0.01967, allocations: 4 kB / 395.9 MB, free: 6.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0004002/0.02007, allocations: 440.4 kB / 396.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/0.02008, allocations: 8 kB / 396.3 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.02008, allocations: 4 kB / 396.3 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.02021, allocations: 86.83 kB / 396.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.02046, allocations: 123.9 kB / 396.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007716/0.02123, allocations: 2.346 MB / 398.9 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001608/0.02139, allocations: 55.66 kB / 398.9 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.02141, allocations: 19.98 kB / 398.9 MB, free: 3.254 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 (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 7.696e-05/0.02149, allocations: 302.2 kB / 399.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.02156, allocations: 83.52 kB / 399.3 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.02187, allocations: 328 kB / 399.6 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.02188, allocations: 4 kB / 399.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.02188, allocations: 0 / 399.6 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.02188, allocations: 3.984 kB / 399.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006412/0.02252, allocations: 0.8193 MB / 400.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.02253, allocations: 0 / 400.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.02279, allocations: 107.9 kB / 400.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.02279, allocations: 0 / 400.6 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.02281, allocations: 16 kB / 400.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.02281, allocations: 4 kB / 400.6 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.02281, allocations: 0 / 400.6 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.0232, allocations: 0.5482 MB / 401.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.402e-05/0.02329, allocations: 99.47 kB / 401.2 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.02333, allocations: 16 kB / 401.3 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.02347, allocations: 27.97 kB / 401.3 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.02352, allocations: 40.44 kB / 401.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02354, allocations: 15.98 kB / 401.3 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.02365, allocations: 298.7 kB / 401.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02365, allocations: 0 / 401.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004323/0.02409, allocations: 291.2 kB / 401.9 MB, free: 216 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 (51): * Single equations (assignments): 50 * 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 6.868e-05/0.02416, allocations: 115.6 kB / 402 MB, free: 92 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.02481, allocations: 0.8152 MB / 402.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.02482, allocations: 0 / 402.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.02496, allocations: 136.5 kB / 403 MB, free: 15.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.02535, allocations: 152.5 kB / 403.1 MB, free: 14.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.02684, allocations: 1.289 MB / 404.4 MB, free: 13.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.885e-05/0.02694, allocations: 174.8 kB / 404.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.02713, allocations: 68.38 kB / 404.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.02736, allocations: 182.1 kB / 404.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02736, allocations: 0 / 404.8 MB, free: 13.19 MB / 330.7 MB Notification: Performance of Templates: time 0.01042/0.03779, allocations: 8.88 MB / 413.7 MB, free: 4.422 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1089628688059747]