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.001646/0.001646, allocations: 84.34 kB / 20.96 MB, free: 3.449 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.002307/0.002307, allocations: 165.7 kB / 24.27 MB, free: 144 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3018/0.3018, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.734e-06/1.734e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.181e-05/3.354e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.008743/0.008776, allocations: 5.151 MB / 374 MB, free: 6.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005481/0.01426, allocations: 2.163 MB / 376.2 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009486/0.01521, allocations: 39.69 kB / 376.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001419/0.01663, allocations: 278.1 kB / 376.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.01834, allocations: 357.7 kB / 376.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001632/0.01997, allocations: 0.5262 MB / 377.4 MB, free: 2.758 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001811/0.02178, allocations: 1.038 MB / 378.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.02288, allocations: 0.5487 MB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.02381, allocations: 0.5611 MB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.02433, allocations: 322.9 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.02446, allocations: 84 kB / 379.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006498/0.02511, allocations: 319.1 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.02537, allocations: 227.2 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.0257, allocations: 247.3 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.02724, allocations: 1.118 MB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.02724, allocations: 0 / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.02724, allocations: 0 / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.02725, allocations: 0 / 381.8 MB, free: 14.3 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.002511/0.02976, allocations: 1.088 MB / 382.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.02981, allocations: 11.98 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.03089, allocations: 244.2 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.03213, allocations: 0.5662 MB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003329/0.03246, allocations: 45.67 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.03262, allocations: 60.38 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.0351, allocations: 0.8272 MB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/0.03513, allocations: 4.188 kB / 384.7 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.03523, allocations: 28.34 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.182e-05/0.03531, allocations: 33.25 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.03738, allocations: 0.6608 MB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/0.04201, allocations: 2.568 MB / 388 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.04364, allocations: 0.6364 MB / 388.6 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005785/0.04422, allocations: 235.2 kB / 388.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/0.04427, allocations: 12.5 kB / 388.8 MB, free: 7.062 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.04432, allocations: 39.06 kB / 388.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.245e-06/0.04432, allocations: 3.938 kB / 388.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.002002/0.04632, allocations: 0.7701 MB / 389.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.04644, allocations: 141 kB / 389.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/0.04725, allocations: 0.4996 MB / 390.3 MB, free: 5.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.0473, allocations: 29.7 kB / 390.3 MB, free: 5.523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.04767, allocations: 360.8 kB / 390.7 MB, free: 5.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.04787, allocations: 190.4 kB / 390.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004514/0.04832, allocations: 98.3 kB / 390.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002548/0.04858, allocations: 374.8 kB / 391.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.04917, allocations: 239.3 kB / 391.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007833/0.04995, allocations: 404.9 kB / 391.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/0.05123, allocations: 0.5728 MB / 392.5 MB, free: 3.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.05124, allocations: 0 / 392.5 MB, free: 3.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002116/0.05335, allocations: 0.8333 MB / 393.3 MB, free: 2.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.05337, allocations: 4 kB / 393.3 MB, free: 2.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.05338, allocations: 4 kB / 393.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.05405, allocations: 157 kB / 393.5 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.0547, allocations: 139.8 kB / 393.6 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003635/0.05833, allocations: 2.279 MB / 395.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/0.0589, allocations: 83.62 kB / 396 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.05896, allocations: 20 kB / 396 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008486/0.05981, allocations: 385.3 kB / 396.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000713/0.06052, allocations: 396.9 kB / 396.8 MB, free: 14.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001185/0.0617, allocations: 0.5533 MB / 397.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.347e-06/0.06171, allocations: 4 kB / 397.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.002031/0.06374, allocations: 0.7438 MB / 398.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.06375, allocations: 8 kB / 398.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.06376, allocations: 4 kB / 398.1 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.06412, allocations: 112.6 kB / 398.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006273/0.06475, allocations: 140.1 kB / 398.3 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.0675, allocations: 2.091 MB / 400.4 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.06801, allocations: 75.77 kB / 400.5 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.06807, allocations: 23.98 kB / 400.5 MB, free: 10.82 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.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.0002893/0.06836, allocations: 216.1 kB / 400.7 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001977/0.06855, allocations: 83.56 kB / 400.8 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.07015, allocations: 0.5897 MB / 401.4 MB, free: 9.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.07016, allocations: 8 kB / 401.4 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.07016, allocations: 112 / 401.4 MB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.07017, allocations: 3.938 kB / 401.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.07276, allocations: 1.175 MB / 402.6 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.07276, allocations: 0 / 402.6 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.07342, allocations: 119.9 kB / 402.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.07343, allocations: 0 / 402.7 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.07348, allocations: 12 kB / 402.7 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.07348, allocations: 4 kB / 402.7 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.07348, allocations: 0 / 402.7 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.07559, allocations: 0.9824 MB / 403.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.07584, allocations: 107.5 kB / 403.8 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.969e-05/0.07593, allocations: 15.95 kB / 403.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004346/0.07637, allocations: 39.95 kB / 403.9 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.07656, allocations: 48.36 kB / 403.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.209e-05/0.07662, allocations: 12 kB / 403.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006719/0.07729, allocations: 358.8 kB / 404.3 MB, free: 7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07729, allocations: 0 / 404.3 MB, free: 7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001112/0.07841, allocations: 279.3 kB / 404.6 MB, free: 6.727 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.0001849/0.07859, allocations: 111.3 kB / 404.7 MB, free: 6.609 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00283/0.08142, allocations: 1.105 MB / 405.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.08142, allocations: 0 / 405.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.0821, allocations: 266.8 kB / 406 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.08292, allocations: 165.1 kB / 406.2 MB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.08621, allocations: 1.415 MB / 407.6 MB, free: 3.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.08671, allocations: 354.7 kB / 408 MB, free: 3.258 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000509/0.08722, allocations: 116.3 kB / 408.1 MB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.08739, allocations: 44.44 kB / 408.1 MB, free: 3.098 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.08739, allocations: 4 kB / 408.1 MB, free: 3.094 MB / 378.7 MB Notification: Performance of Templates: time 0.01792/0.1053, allocations: 7.94 MB / 416.1 MB, free: 11.25 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0559743019985035]