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.001046/0.001046, allocations: 77.88 kB / 21.42 MB, free: 3.078 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.001175/0.001175, allocations: 167.1 kB / 24.82 MB, free: 8.875 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 1.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.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.258/0.258, allocations: 29.41 MB / 291.2 MB, free: 2.465 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.523e-06/1.523e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.25e-05, allocations: 6.141 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.005351/0.005374, allocations: 5.189 MB / 375.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.007912, allocations: 1.85 MB / 377.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.008319, allocations: 35.75 kB / 377.2 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.009024, allocations: 226.3 kB / 377.4 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005455/0.009569, allocations: 309.9 kB / 377.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007535/0.01032, allocations: 0.5261 MB / 378.2 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01136, allocations: 1.018 MB / 379.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.01194, allocations: 0.5487 MB / 379.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.01249, allocations: 0.5494 MB / 380.3 MB, free: 452 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003341/0.01282, allocations: 326.9 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/0.0129, allocations: 80 kB / 380.7 MB, free: 44 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003403/0.01324, allocations: 251.5 kB / 381 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.01339, allocations: 231.2 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001639/0.01356, allocations: 243.3 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006983/0.01426, allocations: 0.6927 MB / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01426, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01426, allocations: 0 / 382.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.01427, allocations: 0 / 382.1 MB, free: 14.64 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.0012/0.01547, allocations: 1.122 MB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.01551, allocations: 11.98 kB / 383.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005466/0.01605, allocations: 228.2 kB / 383.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.01662, allocations: 0.5424 MB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.01666, allocations: 53.67 kB / 384.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.01673, allocations: 64.36 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.01731, allocations: 0.5674 MB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.01733, allocations: 12.12 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.01736, allocations: 24.38 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.0174, allocations: 29.25 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.0177, allocations: 234.1 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.02019, allocations: 2.623 MB / 387.6 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.02058, allocations: 312.3 kB / 387.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.02069, allocations: 84.89 kB / 388 MB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.02072, allocations: 16.48 kB / 388 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.02075, allocations: 49.91 kB / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 2.185e-06/0.02075, allocations: 0 / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004775/0.02123, allocations: 348.7 kB / 388.4 MB, free: 8.062 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.02128, allocations: 141.1 kB / 388.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.02159, allocations: 482.3 kB / 389 MB, free: 7.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.02162, allocations: 37.7 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.02181, allocations: 411.4 kB / 389.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.233e-05/0.0219, allocations: 182.5 kB / 389.7 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.02201, allocations: 111.9 kB / 389.8 MB, free: 6.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.02216, allocations: 0.5468 MB / 390.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.02227, allocations: 66.27 kB / 390.4 MB, free: 6.031 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.02246, allocations: 303.5 kB / 390.7 MB, free: 5.652 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.02274, allocations: 309.1 kB / 391 MB, free: 5.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02275, allocations: 0 / 391 MB, free: 5.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006063/0.02335, allocations: 476.5 kB / 391.4 MB, free: 4.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.02337, allocations: 4 kB / 391.4 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.02338, allocations: 7.938 kB / 391.5 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.02364, allocations: 95.77 kB / 391.5 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.02393, allocations: 123.8 kB / 391.7 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.02562, allocations: 2.396 MB / 394.1 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.02581, allocations: 47.73 kB / 394.1 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.02584, allocations: 23.92 kB / 394.1 MB, free: 2.004 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001907/0.02603, allocations: 196.1 kB / 394.3 MB, free: 1.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001833/0.02621, allocations: 293 kB / 394.6 MB, free: 1.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002819/0.02649, allocations: 309.1 kB / 394.9 MB, free: 1.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.0265, allocations: 0 / 394.9 MB, free: 1.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.0004836/0.02698, allocations: 440.3 kB / 395.3 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.02699, allocations: 11.98 kB / 395.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.02699, allocations: 448 / 395.4 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.02715, allocations: 75.61 kB / 395.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.02741, allocations: 123.8 kB / 395.6 MB, free: 432 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.02863, allocations: 2.349 MB / 397.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.02881, allocations: 55.72 kB / 398 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.02883, allocations: 16 kB / 398 MB, free: 13.9 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.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 0.0001493/0.02898, allocations: 307.8 kB / 398.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.02906, allocations: 87.59 kB / 398.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003819/0.02944, allocations: 312 kB / 398.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.02945, allocations: 8 kB / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02945, allocations: 0 / 398.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.02945, allocations: 3.984 kB / 398.7 MB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/0.03031, allocations: 0.8039 MB / 399.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.03031, allocations: 0 / 399.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.0306, allocations: 103.9 kB / 399.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.0306, allocations: 0 / 399.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.03062, allocations: 12 kB / 399.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.03063, allocations: 7.938 kB / 399.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.03063, allocations: 0 / 399.6 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.03111, allocations: 0.5365 MB / 400.1 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.03124, allocations: 103.4 kB / 400.2 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.03128, allocations: 15.95 kB / 400.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.03142, allocations: 23.98 kB / 400.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.289e-05/0.0315, allocations: 32.44 kB / 400.3 MB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.03153, allocations: 15.98 kB / 400.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004811/0.03201, allocations: 306.7 kB / 400.6 MB, free: 11.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.03201, allocations: 3.938 kB / 400.6 MB, free: 11.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006374/0.03265, allocations: 275.3 kB / 400.9 MB, free: 10.9 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.0001158/0.03277, allocations: 111.2 kB / 401 MB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007863/0.03355, allocations: 0.8122 MB / 401.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.03356, allocations: 0 / 401.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.0337, allocations: 131.5 kB / 401.9 MB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.0342, allocations: 153.2 kB / 402.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.03605, allocations: 1.296 MB / 403.4 MB, free: 8.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.03616, allocations: 162.8 kB / 403.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.03637, allocations: 72.34 kB / 403.6 MB, free: 8.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.03661, allocations: 178.1 kB / 403.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.03661, allocations: 0 / 403.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of Templates: time 0.01157/0.04818, allocations: 8.389 MB / 412.2 MB, free: 15.61 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.1687040268443525]