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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 194 kB / 22.76 MB, free: 5.477 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251.4 MB, free: 13.39 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1859/0.1859, allocations: 38.51 MB / 345 MB, free: 2.578 MB / 270.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.89 kB / 482.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3566, allocations: 61.24 MB / 0.5309 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006299/0.3629, allocations: 5.501 MB / 0.5363 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003464/0.3664, allocations: 2.268 MB / 0.5385 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005815/0.3669, allocations: 29.53 kB / 0.5385 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009411/0.3679, allocations: 276 kB / 0.5388 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009226/0.3688, allocations: 348.7 kB / 0.5391 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.37, allocations: 0.5051 MB / 0.5396 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.3712, allocations: 1.045 MB / 0.5406 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007739/0.3719, allocations: 0.4982 MB / 0.5411 GB, free: 13.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005898/0.3725, allocations: 411.6 kB / 0.5415 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000514/0.3731, allocations: 415 kB / 0.5419 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.3732, allocations: 81.12 kB / 0.542 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.3738, allocations: 364.7 kB / 0.5423 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.3741, allocations: 221.7 kB / 0.5426 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.3744, allocations: 389.1 kB / 0.5429 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3757, allocations: 1.084 MB / 0.544 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3758, allocations: 1.375 kB / 0.544 GB, free: 11.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3758, allocations: 0 / 0.544 GB, free: 11.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.3758, allocations: 0 / 0.544 GB, free: 11.95 MB / 398.1 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.002083/0.3778, allocations: 1.153 MB / 0.5451 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3779, allocations: 13.83 kB / 0.5451 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.3788, allocations: 170.6 kB / 0.5453 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.3798, allocations: 0.6046 MB / 0.5459 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.965e-05/0.3799, allocations: 46.56 kB / 0.5459 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.38, allocations: 61.66 kB / 0.546 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3813, allocations: 0.7604 MB / 0.5467 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3814, allocations: 0.9688 kB / 0.5467 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.3814, allocations: 22.5 kB / 0.5468 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-05/0.3815, allocations: 33.98 kB / 0.5468 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.3827, allocations: 0.6329 MB / 0.5474 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00429/0.387, allocations: 2.904 MB / 0.5502 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.3884, allocations: 0.6794 MB / 0.5509 GB, free: 6.777 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/0.3889, allocations: 220.3 kB / 0.5511 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.3889, allocations: 10.91 kB / 0.5511 GB, free: 6.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.3889, allocations: 37.59 kB / 0.5512 GB, free: 6.609 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 1.723e-06/0.3889, allocations: 0 / 0.5512 GB, free: 6.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001617/0.3905, allocations: 0.7127 MB / 0.5519 GB, free: 6.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.075e-05/0.3906, allocations: 111.8 kB / 0.552 GB, free: 6.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.3915, allocations: 0.578 MB / 0.5525 GB, free: 5.781 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.3915, allocations: 36.11 kB / 0.5526 GB, free: 5.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.3918, allocations: 360.5 kB / 0.5529 GB, free: 5.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.392, allocations: 183.4 kB / 0.5531 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.3922, allocations: 104.1 kB / 0.5532 GB, free: 5.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3924, allocations: 377.6 kB / 0.5535 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.3928, allocations: 222.3 kB / 0.5537 GB, free: 4.715 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.3934, allocations: 341.8 kB / 0.5541 GB, free: 4.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3945, allocations: 0.5545 MB / 0.5546 GB, free: 3.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.3945, allocations: 3.938 kB / 0.5546 GB, free: 3.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001833/0.3963, allocations: 0.785 MB / 0.5554 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3963, allocations: 4 kB / 0.5554 GB, free: 3.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3964, allocations: 4 kB / 0.5554 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.3968, allocations: 117.2 kB / 0.5555 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005774/0.3973, allocations: 131.8 kB / 0.5556 GB, free: 2.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.4005, allocations: 2.428 MB / 0.558 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.401, allocations: 83.55 kB / 0.5581 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.401, allocations: 23.98 kB / 0.5581 GB, free: 212 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006968/0.4017, allocations: 369.1 kB / 0.5585 GB, free: 15.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005323/0.4022, allocations: 328.5 kB / 0.5588 GB, free: 15.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009484/0.4032, allocations: 0.5256 MB / 0.5593 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.984e-06/0.4032, allocations: 0 / 0.5593 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001419/0.4046, allocations: 0.703 MB / 0.56 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.4046, allocations: 4 kB / 0.56 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4046, allocations: 7.938 kB / 0.56 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/0.4049, allocations: 101.2 kB / 0.5601 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.4054, allocations: 131.9 kB / 0.5602 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.4078, allocations: 2.221 MB / 0.5624 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004639/0.4082, allocations: 67.64 kB / 0.5624 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.4083, allocations: 24.25 kB / 0.5625 GB, free: 11.48 MB / 414.1 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.0002143/0.4085, allocations: 212.5 kB / 0.5627 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.4086, allocations: 79.41 kB / 0.5627 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.4099, allocations: 0.5577 MB / 0.5633 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.4099, allocations: 8 kB / 0.5633 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4099, allocations: 4 kB / 0.5633 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4099, allocations: 3.984 kB / 0.5633 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.4121, allocations: 1.318 MB / 0.5646 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4121, allocations: 0 / 0.5646 GB, free: 9.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.4127, allocations: 107.9 kB / 0.5647 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.4127, allocations: 0 / 0.5647 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.4127, allocations: 12.11 kB / 0.5647 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4127, allocations: 3.938 kB / 0.5647 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4127, allocations: 0 / 0.5647 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.4144, allocations: 0.9145 MB / 0.5656 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002696/0.4147, allocations: 204.4 kB / 0.5658 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.4147, allocations: 8 kB / 0.5658 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/0.4151, allocations: 35.97 kB / 0.5658 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.4152, allocations: 36.38 kB / 0.5659 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4152, allocations: 12 kB / 0.5659 GB, free: 7.879 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006453/0.4159, allocations: 427 kB / 0.5663 GB, free: 7.465 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4159, allocations: 4 kB / 0.5663 GB, free: 7.461 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009728/0.4168, allocations: 263.5 kB / 0.5665 GB, free: 7.203 MB / 414.1 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.000144/0.417, allocations: 115.2 kB / 0.5667 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.4191, allocations: 1.064 MB / 0.5677 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4191, allocations: 0 / 0.5677 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.4196, allocations: 238.7 kB / 0.5679 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.4204, allocations: 158.3 kB / 0.5681 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.4233, allocations: 1.578 MB / 0.5696 GB, free: 4.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.424, allocations: 0.9379 MB / 0.5705 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.4242, allocations: 51.42 kB / 0.5706 GB, free: 2.984 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4242, allocations: 0 / 0.5706 GB, free: 2.984 MB / 414.1 MB Notification: Performance of Templates: time 0.01465/0.4388, allocations: 9.872 MB / 0.5802 GB, free: 9.125 MB / 430.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480]