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.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.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 111.6 kB / 17.06 MB, free: 5.824 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.001142/0.001142, allocations: 192 kB / 18 MB, free: 4.977 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.392/1.392, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1731/0.1731, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 55.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3662, allocations: 58.06 MB / 0.5041 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2): time 0.00618/0.3724, allocations: 5.449 MB / 0.5094 GB, free: 3.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.3754, allocations: 2.257 MB / 0.5116 GB, free: 2.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003657/0.3758, allocations: 25.22 kB / 0.5116 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.3767, allocations: 271.8 kB / 0.5119 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007113/0.3774, allocations: 351.5 kB / 0.5122 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000965/0.3784, allocations: 0.5019 MB / 0.5127 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001068/0.3794, allocations: 1.061 MB / 0.5138 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007568/0.3802, allocations: 0.6205 MB / 0.5144 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006128/0.3808, allocations: 407.9 kB / 0.5148 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.3814, allocations: 412 kB / 0.5151 GB, free: 384 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3816, allocations: 81.75 kB / 0.5152 GB, free: 384 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005687/0.3821, allocations: 361.7 kB / 0.5156 GB, free: 264 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.3824, allocations: 222 kB / 0.5158 GB, free: 128 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003855/0.3827, allocations: 397.4 kB / 0.5162 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.3841, allocations: 1.089 MB / 0.5172 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3841, allocations: 0.6562 kB / 0.5172 GB, free: 15.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3841, allocations: 0 / 0.5172 GB, free: 15.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.3841, allocations: 0 / 0.5172 GB, free: 15.39 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.002424/0.3866, allocations: 1.138 MB / 0.5183 GB, free: 14.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3866, allocations: 13.53 kB / 0.5184 GB, free: 14.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009902/0.3876, allocations: 156.3 kB / 0.5185 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.3888, allocations: 0.6093 MB / 0.5191 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.55e-05/0.3889, allocations: 47.55 kB / 0.5191 GB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.389, allocations: 72.8 kB / 0.5192 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.3905, allocations: 0.7683 MB / 0.52 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/0.3905, allocations: 1.188 kB / 0.52 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.761e-05/0.3906, allocations: 20.88 kB / 0.52 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.44e-05/0.3907, allocations: 33.8 kB / 0.52 GB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.3921, allocations: 0.665 MB / 0.5207 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004635/0.3967, allocations: 2.907 MB / 0.5235 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.3984, allocations: 0.7382 MB / 0.5242 GB, free: 11.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.399, allocations: 251.6 kB / 0.5245 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.503e-05/0.3991, allocations: 9.875 kB / 0.5245 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.3991, allocations: 38.45 kB / 0.5245 GB, free: 11.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.284e-06/0.3991, allocations: 1.375 kB / 0.5245 GB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.002055/0.4012, allocations: 0.7551 MB / 0.5252 GB, free: 10.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.784e-05/0.4013, allocations: 108.9 kB / 0.5254 GB, free: 10.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.4023, allocations: 0.5818 MB / 0.5259 GB, free: 10.37 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.4024, allocations: 36.2 kB / 0.526 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/0.4027, allocations: 351.6 kB / 0.5263 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.4029, allocations: 179.1 kB / 0.5265 GB, free: 9.91 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.4031, allocations: 101.4 kB / 0.5266 GB, free: 9.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.4034, allocations: 381.4 kB / 0.5269 GB, free: 9.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.404, allocations: 228.7 kB / 0.5271 GB, free: 9.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.4047, allocations: 360.2 kB / 0.5275 GB, free: 9.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.4059, allocations: 0.5833 MB / 0.5281 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.4059, allocations: 5.922 kB / 0.5281 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001974/0.4079, allocations: 0.8264 MB / 0.5289 GB, free: 8.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4079, allocations: 7.094 kB / 0.5289 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4079, allocations: 4.594 kB / 0.5289 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004365/0.4083, allocations: 123.2 kB / 0.529 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.409, allocations: 136.9 kB / 0.5291 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.4121, allocations: 2.416 MB / 0.5315 GB, free: 6.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.4126, allocations: 89.05 kB / 0.5316 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.4127, allocations: 22.66 kB / 0.5316 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007804/0.4134, allocations: 379.3 kB / 0.532 GB, free: 6.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006011/0.414, allocations: 349.7 kB / 0.5323 GB, free: 6.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001107/0.4152, allocations: 0.5604 MB / 0.5328 GB, free: 5.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.367e-06/0.4152, allocations: 1.062 kB / 0.5328 GB, free: 5.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001598/0.4168, allocations: 0.7366 MB / 0.5336 GB, free: 5.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4168, allocations: 6.5 kB / 0.5336 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4168, allocations: 11.19 kB / 0.5336 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.4171, allocations: 99.34 kB / 0.5337 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.4177, allocations: 136.3 kB / 0.5338 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.42, allocations: 2.229 MB / 0.536 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.4205, allocations: 71.89 kB / 0.536 GB, free: 3.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.229e-05/0.4206, allocations: 20.56 kB / 0.5361 GB, free: 3.156 MB / 398.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 (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.0002153/0.4208, allocations: 216.9 kB / 0.5363 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4209, allocations: 72.02 kB / 0.5363 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.4224, allocations: 0.5967 MB / 0.5369 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.4224, allocations: 5.062 kB / 0.5369 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4224, allocations: 1.344 kB / 0.5369 GB, free: 2.566 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.4224, allocations: 3.984 kB / 0.5369 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.4247, allocations: 1.356 MB / 0.5383 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4247, allocations: 0 / 0.5383 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006386/0.4253, allocations: 119.9 kB / 0.5384 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.4254, allocations: 2.469 kB / 0.5384 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.4254, allocations: 12.09 kB / 0.5384 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4254, allocations: 2.375 kB / 0.5384 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4254, allocations: 9.469 kB / 0.5384 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.4274, allocations: 0.9532 MB / 0.5393 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.4276, allocations: 192.1 kB / 0.5395 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.4277, allocations: 12.22 kB / 0.5395 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.4282, allocations: 44.83 kB / 0.5396 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4283, allocations: 34.2 kB / 0.5396 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.4283, allocations: 22.52 kB / 0.5396 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006603/0.429, allocations: 417.2 kB / 0.54 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.429, allocations: 0 / 0.54 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001109/0.4301, allocations: 268 kB / 0.5403 GB, free: 480 kB / 398.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 (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.0001571/0.4303, allocations: 128.5 kB / 0.5404 GB, free: 360 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002529/0.4328, allocations: 1.139 MB / 0.5415 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4328, allocations: 0 / 0.5415 GB, free: 15.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006661/0.4335, allocations: 273.7 kB / 0.5418 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008139/0.4343, allocations: 147 kB / 0.5419 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.4374, allocations: 1.527 MB / 0.5434 GB, free: 14.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.4379, allocations: 0.9453 MB / 0.5443 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000458/0.4384, allocations: 120.3 kB / 0.5444 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.4386, allocations: 46.52 kB / 0.5445 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4386, allocations: 0 / 0.5445 GB, free: 13.63 MB / 414.1 MB Notification: Performance of Templates: time 0.01588/0.4545, allocations: 8.602 MB / 0.5529 GB, free: 5.66 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2.makefile (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)