Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 115.3 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 196 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1913/0.1913, allocations: 38.04 MB / 329.9 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 64.05 kB / 458.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 58.05 MB / 0.5041 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.006399/0.3548, allocations: 5.909 MB / 0.5099 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004213/0.3591, allocations: 2.731 MB / 0.5125 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006193/0.3597, allocations: 26.62 kB / 0.5125 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.3609, allocations: 382.9 kB / 0.5129 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.3622, allocations: 489.3 kB / 0.5134 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3637, allocations: 0.5511 MB / 0.5139 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.3653, allocations: 1.211 MB / 0.5151 GB, free: 324 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009994/0.3663, allocations: 0.7081 MB / 0.5158 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006745/0.367, allocations: 481.5 kB / 0.5163 GB, free: 15.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.3676, allocations: 471.5 kB / 0.5167 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3678, allocations: 86.28 kB / 0.5168 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.369, allocations: 0.5208 MB / 0.5173 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.3693, allocations: 263.8 kB / 0.5175 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004762/0.3698, allocations: 433.5 kB / 0.518 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.3718, allocations: 1.246 MB / 0.5192 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3719, allocations: 0 / 0.5192 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3719, allocations: 1.125 kB / 0.5192 GB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.193e-05/0.3719, allocations: 0 / 0.5192 GB, free: 14.33 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003014/0.3749, allocations: 1.209 MB / 0.5204 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.375, allocations: 13.55 kB / 0.5204 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.3766, allocations: 202.8 kB / 0.5206 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.378, allocations: 0.634 MB / 0.5212 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.3781, allocations: 48.66 kB / 0.5212 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.3782, allocations: 65.89 kB / 0.5213 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.38, allocations: 0.8899 MB / 0.5222 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.3801, allocations: 3.188 kB / 0.5222 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.3801, allocations: 25.81 kB / 0.5222 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.3802, allocations: 35.17 kB / 0.5222 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.3817, allocations: 0.7881 MB / 0.523 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/0.3873, allocations: 3.236 MB / 0.5262 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.3892, allocations: 0.958 MB / 0.5271 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.3898, allocations: 312.8 kB / 0.5274 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.3898, allocations: 15.69 kB / 0.5274 GB, free: 9.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3899, allocations: 39.11 kB / 0.5274 GB, free: 9.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 4.098e-06/0.3899, allocations: 3.984 kB / 0.5274 GB, free: 9.484 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005315/0.3952, allocations: 2.528 MB / 0.5299 GB, free: 8.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.3953, allocations: 114.6 kB / 0.53 GB, free: 7.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008535/0.3962, allocations: 0.5888 MB / 0.5306 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.3962, allocations: 40.55 kB / 0.5306 GB, free: 7.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/0.3965, allocations: 366.4 kB / 0.531 GB, free: 7.277 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.3967, allocations: 218.2 kB / 0.5312 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/0.3969, allocations: 115.6 kB / 0.5313 GB, free: 7.016 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.397, allocations: 382.8 kB / 0.5317 GB, free: 6.648 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.3976, allocations: 278.2 kB / 0.5319 GB, free: 6.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006644/0.3983, allocations: 418.7 kB / 0.5323 GB, free: 6.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3996, allocations: 0.6989 MB / 0.533 GB, free: 5.754 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3996, allocations: 1.125 kB / 0.533 GB, free: 5.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001757/0.4014, allocations: 0.8291 MB / 0.5338 GB, free: 5.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4014, allocations: 6.469 kB / 0.5338 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4015, allocations: 4.406 kB / 0.5338 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.4017, allocations: 58.16 kB / 0.5339 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007713/0.4025, allocations: 180 kB / 0.5341 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.4043, allocations: 1.811 MB / 0.5358 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.4049, allocations: 49.52 kB / 0.5359 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/0.405, allocations: 35.73 kB / 0.5359 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008431/0.4058, allocations: 440.1 kB / 0.5363 GB, free: 3.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006546/0.4065, allocations: 400.8 kB / 0.5367 GB, free: 2.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001382/0.4079, allocations: 0.6696 MB / 0.5374 GB, free: 2.477 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/0.4079, allocations: 1.125 kB / 0.5374 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001824/0.4097, allocations: 0.811 MB / 0.5382 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4098, allocations: 7.219 kB / 0.5382 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4098, allocations: 4 kB / 0.5382 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002202/0.41, allocations: 66.16 kB / 0.5382 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.4107, allocations: 169 kB / 0.5384 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001615/0.4124, allocations: 1.805 MB / 0.5402 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.4129, allocations: 48.55 kB / 0.5402 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.413, allocations: 27.61 kB / 0.5402 GB, free: 224 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.4132, allocations: 217.2 kB / 0.5404 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.4134, allocations: 78.03 kB / 0.5405 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001818/0.4152, allocations: 0.7699 MB / 0.5413 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4153, allocations: 10.75 kB / 0.5413 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4153, allocations: 0.9688 kB / 0.5413 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.4153, allocations: 3.984 kB / 0.5413 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.4198, allocations: 2.14 MB / 0.5434 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4198, allocations: 7.5 kB / 0.5434 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006092/0.4205, allocations: 132.2 kB / 0.5435 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002177/0.4207, allocations: 55.59 kB / 0.5436 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.4208, allocations: 23.91 kB / 0.5436 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.4223, allocations: 1.764 MB / 0.5453 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.4223, allocations: 6.812 kB / 0.5453 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002455/0.4248, allocations: 1.317 MB / 0.5466 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.4252, allocations: 213.5 kB / 0.5468 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.4253, allocations: 18.78 kB / 0.5468 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.4259, allocations: 50.16 kB / 0.5469 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.426, allocations: 79.8 kB / 0.5469 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.4261, allocations: 24.47 kB / 0.547 GB, free: 11.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007328/0.4268, allocations: 421.1 kB / 0.5474 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4269, allocations: 0 / 0.5474 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001302/0.4282, allocations: 254 kB / 0.5476 GB, free: 10.58 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001859/0.4284, allocations: 123.1 kB / 0.5477 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.4312, allocations: 1.267 MB / 0.549 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4312, allocations: 0 / 0.549 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009987/0.4322, allocations: 0.5076 MB / 0.5495 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4333, allocations: 178.5 kB / 0.5496 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.4369, allocations: 1.69 MB / 0.5513 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006538/0.4375, allocations: 0.986 MB / 0.5522 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005324/0.4381, allocations: 153 kB / 0.5524 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.4383, allocations: 55.42 kB / 0.5524 GB, free: 5.461 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4383, allocations: 7.938 kB / 0.5524 GB, free: 5.453 MB / 414.1 MB Notification: Performance of Templates: time 0.01594/0.4542, allocations: 8.68 MB / 0.5609 GB, free: 12.82 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)