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.001889/0.001889, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001856/0.001856, allocations: 165.6 kB / 24.27 MB, free: 156 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.3078/0.3078, allocations: 29.42 MB / 290.5 MB, free: 2.418 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.884e-06/1.884e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.638e-05/2.826e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.009948/0.009976, allocations: 5.343 MB / 374.2 MB, free: 5.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004141/0.01412, allocations: 2.253 MB / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.01453, allocations: 31.75 kB / 376.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.01543, allocations: 282.1 kB / 376.8 MB, free: 3.387 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008088/0.01623, allocations: 365.6 kB / 377.1 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.01735, allocations: 0.5184 MB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.01856, allocations: 1.034 MB / 378.7 MB, free: 1.473 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008342/0.0194, allocations: 0.5448 MB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008024/0.0202, allocations: 0.5766 MB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004969/0.0207, allocations: 323 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.02085, allocations: 80.05 kB / 380.2 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005495/0.02139, allocations: 315.1 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002654/0.02166, allocations: 235.2 kB / 380.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003158/0.02198, allocations: 251.3 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.02363, allocations: 1.114 MB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.02363, allocations: 0 / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.02363, allocations: 0 / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.02364, allocations: 4 kB / 382.1 MB, free: 14.04 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.002101/0.02575, allocations: 1.219 MB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.02578, allocations: 15.98 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/0.02675, allocations: 236.2 kB / 383.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.02778, allocations: 0.5494 MB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.02784, allocations: 49.67 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.02795, allocations: 64.38 kB / 384.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001412/0.02937, allocations: 0.7628 MB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.0294, allocations: 12.12 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.02946, allocations: 28.34 kB / 385 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.02951, allocations: 33.23 kB / 385.1 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.0307, allocations: 476.9 kB / 385.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/0.03583, allocations: 3.201 MB / 388.7 MB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.03721, allocations: 0.5479 MB / 389.3 MB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.03767, allocations: 192.9 kB / 389.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.03773, allocations: 12.5 kB / 389.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.03776, allocations: 45.83 kB / 389.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 1.673e-06/0.03776, allocations: 0 / 389.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.001567/0.03933, allocations: 0.6218 MB / 390.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.03945, allocations: 133 kB / 390.3 MB, free: 5.539 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008813/0.04033, allocations: 0.6472 MB / 390.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.04038, allocations: 37.64 kB / 391 MB, free: 4.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004126/0.04079, allocations: 455.4 kB / 391.4 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.04099, allocations: 194.5 kB / 391.6 MB, free: 4.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.04123, allocations: 144.1 kB / 391.7 MB, free: 4.043 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003847/0.04161, allocations: 0.5899 MB / 392.3 MB, free: 3.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.04209, allocations: 178.2 kB / 392.5 MB, free: 3.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.0428, allocations: 432.7 kB / 392.9 MB, free: 2.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.04387, allocations: 0.5397 MB / 393.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.04388, allocations: 4 kB / 393.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001724/0.0456, allocations: 0.7229 MB / 394.2 MB, free: 1.402 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.04562, allocations: 8 kB / 394.2 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.04563, allocations: 4.406 kB / 394.2 MB, free: 1.391 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005766/0.04621, allocations: 139.5 kB / 394.3 MB, free: 1.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.0468, allocations: 131.8 kB / 394.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.05065, allocations: 2.884 MB / 397.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.0511, allocations: 67.58 kB / 397.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-05/0.05115, allocations: 24 kB / 397.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006789/0.05182, allocations: 348.1 kB / 397.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000654/0.05248, allocations: 424.6 kB / 398.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001014/0.05349, allocations: 0.5281 MB / 398.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.05349, allocations: 0 / 398.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001494/0.05499, allocations: 0.6644 MB / 399.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.055, allocations: 8 kB / 399.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.05501, allocations: 4 kB / 399.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.05533, allocations: 111.1 kB / 399.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/0.05591, allocations: 131.8 kB / 399.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002883/0.05879, allocations: 2.732 MB / 402.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004162/0.05921, allocations: 59.64 kB / 402.4 MB, free: 8.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.05926, allocations: 28 kB / 402.4 MB, free: 8.719 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.0004859/0.05975, allocations: 299.9 kB / 402.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.0599, allocations: 75.62 kB / 402.8 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.06114, allocations: 0.4923 MB / 403.3 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.06115, allocations: 11.94 kB / 403.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.06115, allocations: 7.938 kB / 403.3 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.06116, allocations: 3.984 kB / 403.3 MB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.06347, allocations: 1.233 MB / 404.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.06347, allocations: 0 / 404.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.06406, allocations: 111.8 kB / 404.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.06407, allocations: 0 / 404.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.303e-05/0.06411, allocations: 12 kB / 404.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.06412, allocations: 7.984 kB / 404.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.06412, allocations: 0 / 404.7 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.06582, allocations: 0.8685 MB / 405.6 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.06607, allocations: 107.5 kB / 405.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.619e-05/0.06615, allocations: 15.98 kB / 405.7 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.06647, allocations: 23.98 kB / 405.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.0666, allocations: 48.3 kB / 405.8 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.06664, allocations: 16 kB / 405.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005744/0.06721, allocations: 410.8 kB / 406.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.06721, allocations: 0 / 406.2 MB, free: 4.922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009434/0.06815, allocations: 291.2 kB / 406.5 MB, free: 4.637 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.0001539/0.06831, allocations: 103.2 kB / 406.6 MB, free: 4.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.07056, allocations: 1.18 MB / 407.7 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.07056, allocations: 0 / 407.7 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.0711, allocations: 243.4 kB / 408 MB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/0.07191, allocations: 169.7 kB / 408.1 MB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.07453, allocations: 1.369 MB / 409.5 MB, free: 1.504 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.07517, allocations: 346.8 kB / 409.8 MB, free: 1.141 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004025/0.07558, allocations: 108.3 kB / 410 MB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.07574, allocations: 44.5 kB / 410 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.07574, allocations: 0 / 410 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of Templates: time 0.01707/0.09282, allocations: 8.05 MB / 418 MB, free: 9.031 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: 5.024381214054301]