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.001109/0.001109, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00124/0.00124, allocations: 160.5 kB / 24.99 MB, free: 9.32 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.9733/0.9733, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2487/0.2487, allocations: 29.42 MB / 291.2 MB, free: 2.5 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.743e-06/1.743e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.91e-05, allocations: 6.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.01388/0.01391, allocations: 5.377 MB / 375 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00662/0.02053, allocations: 2.233 MB / 377.2 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/0.02425, allocations: 39.75 kB / 377.3 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009583/0.02521, allocations: 278.1 kB / 377.5 MB, free: 3.336 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008604/0.02607, allocations: 353.7 kB / 377.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.03012, allocations: 0.5222 MB / 378.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.03129, allocations: 1.026 MB / 379.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008021/0.03209, allocations: 0.5486 MB / 380 MB, free: 0.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.03586, allocations: 0.5611 MB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.0363, allocations: 315 kB / 380.8 MB, free: 4 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.03642, allocations: 84.05 kB / 380.9 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005094/0.03693, allocations: 315.1 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.03714, allocations: 227.2 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.03738, allocations: 243.3 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009521/0.03833, allocations: 0.7082 MB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.03834, allocations: 7.938 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.03834, allocations: 0 / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.03835, allocations: 4 kB / 382.4 MB, free: 14.43 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.001257/0.03961, allocations: 1.122 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.03965, allocations: 11.98 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.04033, allocations: 248.1 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.04096, allocations: 0.554 MB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.04099, allocations: 57.67 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/0.04107, allocations: 64.31 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.04179, allocations: 0.6138 MB / 385.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.04181, allocations: 4.141 kB / 385.1 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.04185, allocations: 28.36 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.333e-05/0.04189, allocations: 37.23 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004853/0.04238, allocations: 283.5 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002441/0.04482, allocations: 2.736 MB / 388.2 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.04537, allocations: 329.2 kB / 388.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.04554, allocations: 100.9 kB / 388.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.04557, allocations: 8.5 kB / 388.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.04561, allocations: 46.11 kB / 388.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.806e-06/0.04561, allocations: 0 / 388.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.000654/0.04626, allocations: 392.6 kB / 389 MB, free: 7.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.04633, allocations: 133 kB / 389.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003831/0.04671, allocations: 494.6 kB / 389.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.04674, allocations: 33.83 kB / 389.7 MB, free: 6.836 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.04694, allocations: 411.5 kB / 390.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.04705, allocations: 186.4 kB / 390.2 MB, free: 6.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.04716, allocations: 111.9 kB / 390.4 MB, free: 6.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.04733, allocations: 0.543 MB / 390.9 MB, free: 5.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.04749, allocations: 82.27 kB / 391 MB, free: 5.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.04775, allocations: 321 kB / 391.3 MB, free: 5.086 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.04814, allocations: 352.7 kB / 391.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.04814, allocations: 4 kB / 391.6 MB, free: 4.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0007703/0.04891, allocations: 0.5046 MB / 392.1 MB, free: 4.156 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.04893, allocations: 11.94 kB / 392.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.04894, allocations: 0 / 392.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000338/0.04927, allocations: 95.55 kB / 392.3 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.04959, allocations: 131.9 kB / 392.4 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.05141, allocations: 2.435 MB / 394.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.05164, allocations: 63.64 kB / 394.9 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.05167, allocations: 23.98 kB / 394.9 MB, free: 1.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002579/0.05193, allocations: 208.1 kB / 395.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002563/0.05219, allocations: 320.7 kB / 395.4 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003851/0.05257, allocations: 340.8 kB / 395.8 MB, free: 276 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.05258, allocations: 4 kB / 395.8 MB, free: 272 kB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.0006366/0.05321, allocations: 488.3 kB / 396.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.05322, allocations: 8.469 kB / 396.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.05323, allocations: 4 kB / 396.2 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.05342, allocations: 79.02 kB / 396.3 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002918/0.05371, allocations: 127.8 kB / 396.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.05516, allocations: 2.404 MB / 398.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.05536, allocations: 55.66 kB / 398.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.05539, allocations: 20 kB / 398.9 MB, free: 12.97 MB / 378.7 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.0001921/0.05559, allocations: 303.9 kB / 399.2 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.05567, allocations: 83.61 kB / 399.3 MB, free: 12.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.05618, allocations: 343.8 kB / 399.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.05619, allocations: 4 kB / 399.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.05619, allocations: 4 kB / 399.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.0562, allocations: 3.984 kB / 399.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.05726, allocations: 0.9011 MB / 400.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.05726, allocations: 0 / 400.6 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003234/0.05759, allocations: 111.8 kB / 400.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.05759, allocations: 0 / 400.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.05762, allocations: 12 kB / 400.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.05762, allocations: 7.984 kB / 400.7 MB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.05762, allocations: 3.938 kB / 400.7 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006485/0.05827, allocations: 0.5755 MB / 401.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.05841, allocations: 103.5 kB / 401.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.05845, allocations: 12 kB / 401.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.05861, allocations: 31.97 kB / 401.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.606e-05/0.05869, allocations: 36.38 kB / 401.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.05872, allocations: 15.98 kB / 401.5 MB, free: 10.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002478/0.05896, allocations: 314.8 kB / 401.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05896, allocations: 0 / 401.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006613/0.05962, allocations: 287.2 kB / 402 MB, free: 9.766 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.0001412/0.05977, allocations: 114.5 kB / 402.2 MB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.06085, allocations: 0.8592 MB / 403 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.06085, allocations: 3.938 kB / 403 MB, free: 8.742 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.06105, allocations: 143.6 kB / 403.2 MB, free: 8.598 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.06159, allocations: 159.6 kB / 403.3 MB, free: 8.453 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.06368, allocations: 1.295 MB / 404.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.06381, allocations: 162.9 kB / 404.8 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002599/0.06407, allocations: 100.3 kB / 404.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.06417, allocations: 44.48 kB / 404.9 MB, free: 6.801 MB / 378.7 MB Notification: Performance of SimCode: time 1.613e-06/0.06418, allocations: 0 / 404.9 MB, free: 6.801 MB / 378.7 MB Notification: Performance of Templates: time 0.01097/0.07515, allocations: 7.773 MB / 412.7 MB, free: 15.11 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: 3.1966244229115546]