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.00093/0.00093, allocations: 83.75 kB / 21.19 MB, free: 3.375 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.0009139/0.0009139, allocations: 165.4 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 1.054/1.054, allocations: 177.1 MB / 205 MB, free: 5.27 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.223/0.223, allocations: 29.41 MB / 290.9 MB, free: 2.453 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.683e-06/1.683e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.635e-05, allocations: 6.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.01227/0.01229, allocations: 5.31 MB / 374.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005969/0.01826, allocations: 1.874 MB / 376.8 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004436/0.01871, allocations: 35.75 kB / 376.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.02249, allocations: 226.3 kB / 377.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006311/0.02312, allocations: 321.8 kB / 377.4 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.02403, allocations: 0.5223 MB / 377.9 MB, free: 2.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009644/0.02499, allocations: 1.03 MB / 378.9 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00376/0.02875, allocations: 0.5409 MB / 379.5 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006923/0.02944, allocations: 0.565 MB / 380 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004042/0.02985, allocations: 330.9 kB / 380.4 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.02995, allocations: 80 kB / 380.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.03033, allocations: 263.4 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001895/0.03052, allocations: 223.2 kB / 380.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002262/0.03074, allocations: 247.3 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.03567, allocations: 0.6888 MB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.03568, allocations: 3.984 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.03568, allocations: 3.938 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.03568, allocations: 0 / 381.9 MB, free: 14.72 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.001509/0.03719, allocations: 1.142 MB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.03723, allocations: 15.98 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007877/0.03802, allocations: 232.2 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.04285, allocations: 0.5618 MB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.0429, allocations: 53.67 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.043, allocations: 64.36 kB / 383.9 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.04392, allocations: 0.6182 MB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.04394, allocations: 8.141 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.04399, allocations: 24.38 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-05/0.04404, allocations: 33.23 kB / 384.6 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006097/0.04465, allocations: 283.5 kB / 384.9 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.0477, allocations: 2.752 MB / 387.6 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007411/0.04844, allocations: 348.8 kB / 388 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.04864, allocations: 108.8 kB / 388.1 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.04868, allocations: 8.5 kB / 388.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.04872, allocations: 49.92 kB / 388.1 MB, free: 8.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.104e-06/0.04872, allocations: 0 / 388.1 MB, free: 8.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007952/0.04951, allocations: 392.8 kB / 388.5 MB, free: 7.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.04958, allocations: 137 kB / 388.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.05004, allocations: 499.3 kB / 389.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.05007, allocations: 33.7 kB / 389.2 MB, free: 7.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.05032, allocations: 419.5 kB / 389.6 MB, free: 6.645 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.05044, allocations: 182.4 kB / 389.8 MB, free: 6.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.0506, allocations: 108 kB / 389.9 MB, free: 6.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.05076, allocations: 0.547 MB / 390.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.05091, allocations: 86.25 kB / 390.5 MB, free: 5.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.05116, allocations: 324.7 kB / 390.8 MB, free: 5.297 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.05154, allocations: 352.7 kB / 391.2 MB, free: 4.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.05154, allocations: 4 kB / 391.2 MB, free: 4.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007271/0.05227, allocations: 0.5081 MB / 391.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.05229, allocations: 8 kB / 391.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.05229, allocations: 8.469 kB / 391.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.05261, allocations: 107 kB / 391.8 MB, free: 4.242 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003026/0.05291, allocations: 131.8 kB / 391.9 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/0.05447, allocations: 2.431 MB / 394.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.05466, allocations: 67.58 kB / 394.4 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.05469, allocations: 20.03 kB / 394.4 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002321/0.05492, allocations: 220.1 kB / 394.7 MB, free: 1.258 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002447/0.05517, allocations: 316.7 kB / 395 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003605/0.05553, allocations: 352.8 kB / 395.3 MB, free: 460 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.05553, allocations: 0 / 395.3 MB, free: 460 kB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0007313/0.05626, allocations: 492.3 kB / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.05627, allocations: 8 kB / 395.8 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.05627, allocations: 4 kB / 395.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/0.05646, allocations: 83.58 kB / 395.9 MB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002942/0.05676, allocations: 131.8 kB / 396 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.0581, allocations: 2.4 MB / 398.4 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.05828, allocations: 51.72 kB / 398.5 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.858e-05/0.05831, allocations: 24 kB / 398.5 MB, free: 13.14 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 (61): * Single equations (assignments): 60 * 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.0001504/0.05846, allocations: 307.8 kB / 398.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.329e-05/0.05855, allocations: 79.73 kB / 398.9 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004773/0.05902, allocations: 355.9 kB / 399.2 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.05903, allocations: 8 kB / 399.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.05903, allocations: 0 / 399.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.05904, allocations: 7.984 kB / 399.2 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000999/0.06004, allocations: 0.9089 MB / 400.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.06004, allocations: 0 / 400.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.06034, allocations: 111.8 kB / 400.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.06034, allocations: 4 kB / 400.2 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.06037, allocations: 15.98 kB / 400.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.06037, allocations: 0 / 400.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.06037, allocations: 0 / 400.3 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.06099, allocations: 0.5911 MB / 400.9 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.06113, allocations: 111.4 kB / 401 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.06117, allocations: 12 kB / 401 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.06133, allocations: 27.98 kB / 401 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.229e-05/0.06141, allocations: 40.36 kB / 401 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.06143, allocations: 19.98 kB / 401.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.06168, allocations: 322.8 kB / 401.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06168, allocations: 0 / 401.4 MB, free: 10.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005682/0.06225, allocations: 279.3 kB / 401.6 MB, free: 9.895 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 (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 0.000125/0.06237, allocations: 111.2 kB / 401.8 MB, free: 9.777 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009428/0.06332, allocations: 0.8622 MB / 402.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.06332, allocations: 0 / 402.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001924/0.06351, allocations: 152.5 kB / 402.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.06399, allocations: 154.3 kB / 402.9 MB, free: 8.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.06586, allocations: 1.318 MB / 404.2 MB, free: 7.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.06598, allocations: 166.9 kB / 404.4 MB, free: 7.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000235/0.06622, allocations: 104.4 kB / 404.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.06633, allocations: 40.5 kB / 404.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.06633, allocations: 0 / 404.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of Templates: time 0.01063/0.07696, allocations: 8.067 MB / 412.6 MB, free: 14.93 MB / 394.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.2805053549818695]