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) 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.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 115.4 kB / 17.07 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.00174/0.00174, allocations: 190.9 kB / 18 MB, free: 5.082 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.388/1.388, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1985/0.1985, allocations: 38.03 MB / 329.9 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 63.89 kB / 458.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3578, allocations: 58.05 MB / 0.5041 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.006612/0.3644, allocations: 5.429 MB / 0.5094 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004436/0.3689, allocations: 2.242 MB / 0.5116 GB, free: 2.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005025/0.3694, allocations: 29.72 kB / 0.5116 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009/0.3703, allocations: 271.7 kB / 0.5119 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009441/0.3713, allocations: 345.4 kB / 0.5122 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.3726, allocations: 0.4988 MB / 0.5127 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3736, allocations: 1.05 MB / 0.5137 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008122/0.3745, allocations: 0.6171 MB / 0.5143 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005091/0.375, allocations: 406.2 kB / 0.5147 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004443/0.3754, allocations: 401.4 kB / 0.5151 GB, free: 476 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.3755, allocations: 80.22 kB / 0.5152 GB, free: 476 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.3761, allocations: 360 kB / 0.5155 GB, free: 356 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.3763, allocations: 218.5 kB / 0.5157 GB, free: 224 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.3767, allocations: 391.6 kB / 0.5161 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3782, allocations: 1.079 MB / 0.5171 GB, free: 15.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3782, allocations: 4 kB / 0.5171 GB, free: 15.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3782, allocations: 1.031 kB / 0.5171 GB, free: 15.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.3783, allocations: 0 / 0.5171 GB, free: 15.48 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.002199/0.3805, allocations: 1.117 MB / 0.5182 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3805, allocations: 13.27 kB / 0.5182 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.3814, allocations: 164.8 kB / 0.5184 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3824, allocations: 0.6034 MB / 0.519 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.929e-05/0.3825, allocations: 46.62 kB / 0.519 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3826, allocations: 65.23 kB / 0.5191 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.3839, allocations: 0.7587 MB / 0.5198 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.384, allocations: 2.641 kB / 0.5198 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.384, allocations: 25.41 kB / 0.5199 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.062e-05/0.3841, allocations: 29.09 kB / 0.5199 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.3853, allocations: 0.6335 MB / 0.5205 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.3894, allocations: 2.891 MB / 0.5233 GB, free: 11.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/0.3908, allocations: 0.699 MB / 0.524 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.3913, allocations: 233.2 kB / 0.5242 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.3914, allocations: 6.922 kB / 0.5242 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.3914, allocations: 38.64 kB / 0.5243 GB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.104e-06/0.3914, allocations: 96 / 0.5243 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.001534/0.3929, allocations: 0.707 MB / 0.525 GB, free: 10.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.393, allocations: 114.4 kB / 0.5251 GB, free: 10.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/0.3938, allocations: 0.5858 MB / 0.5257 GB, free: 10.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/0.3939, allocations: 36.36 kB / 0.5257 GB, free: 10.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.3941, allocations: 355.1 kB / 0.526 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.3943, allocations: 172.3 kB / 0.5262 GB, free: 10.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3945, allocations: 99.11 kB / 0.5263 GB, free: 9.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3946, allocations: 380.4 kB / 0.5266 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.3951, allocations: 214.6 kB / 0.5269 GB, free: 9.566 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/0.3956, allocations: 339.9 kB / 0.5272 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009818/0.3966, allocations: 0.5606 MB / 0.5277 GB, free: 9.004 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.3966, allocations: 5.156 kB / 0.5277 GB, free: 9 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00178/0.3984, allocations: 0.7845 MB / 0.5285 GB, free: 8.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3985, allocations: 6.906 kB / 0.5285 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.3985, allocations: 4.469 kB / 0.5285 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004319/0.3989, allocations: 114.3 kB / 0.5286 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.3995, allocations: 127.6 kB / 0.5287 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.4025, allocations: 2.42 MB / 0.5311 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.403, allocations: 78.78 kB / 0.5312 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4031, allocations: 28.36 kB / 0.5312 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006371/0.4037, allocations: 360.6 kB / 0.5315 GB, free: 6.434 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005092/0.4043, allocations: 333.7 kB / 0.5319 GB, free: 6.207 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008743/0.4051, allocations: 0.526 MB / 0.5324 GB, free: 5.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.4052, allocations: 1.062 kB / 0.5324 GB, free: 5.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.00139/0.4066, allocations: 0.7033 MB / 0.5331 GB, free: 5.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.4066, allocations: 12.09 kB / 0.5331 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4066, allocations: 7.312 kB / 0.5331 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.4069, allocations: 103.3 kB / 0.5332 GB, free: 5.527 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.4074, allocations: 132.4 kB / 0.5333 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.4095, allocations: 2.229 MB / 0.5355 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.4099, allocations: 56.59 kB / 0.5355 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.41, allocations: 25.31 kB / 0.5356 GB, free: 3.434 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 (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.0001928/0.4102, allocations: 216.2 kB / 0.5358 GB, free: 3.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4103, allocations: 75.28 kB / 0.5358 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.4115, allocations: 0.5604 MB / 0.5364 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.4116, allocations: 5.781 kB / 0.5364 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4116, allocations: 0 / 0.5364 GB, free: 2.859 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4116, allocations: 5.078 kB / 0.5364 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002097/0.4137, allocations: 1.314 MB / 0.5377 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4137, allocations: 1.156 kB / 0.5377 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.4142, allocations: 107.2 kB / 0.5378 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.4143, allocations: 6.969 kB / 0.5378 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.4143, allocations: 10.88 kB / 0.5378 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.4143, allocations: 2.375 kB / 0.5378 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4143, allocations: 1.125 kB / 0.5378 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.416, allocations: 0.907 MB / 0.5387 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.4162, allocations: 190.8 kB / 0.5389 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.4163, allocations: 12.91 kB / 0.5389 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003836/0.4167, allocations: 38.19 kB / 0.5389 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.4168, allocations: 37.03 kB / 0.539 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.4168, allocations: 13.81 kB / 0.539 GB, free: 1.129 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006458/0.4175, allocations: 422.7 kB / 0.5394 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4175, allocations: 0 / 0.5394 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001014/0.4185, allocations: 259.3 kB / 0.5396 GB, free: 0.8242 MB / 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 (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.0001688/0.4187, allocations: 129.1 kB / 0.5397 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.4209, allocations: 1.101 MB / 0.5408 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4209, allocations: 1.344 kB / 0.5408 GB, free: 48 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.4214, allocations: 255.8 kB / 0.5411 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008237/0.4223, allocations: 143.3 kB / 0.5412 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/0.4251, allocations: 1.514 MB / 0.5427 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.4257, allocations: 0.9437 MB / 0.5436 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004182/0.4261, allocations: 115.8 kB / 0.5437 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.4263, allocations: 44.42 kB / 0.5438 GB, free: 14.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4263, allocations: 0 / 0.5438 GB, free: 14.02 MB / 414.1 MB Notification: Performance of Templates: time 0.01535/0.4416, allocations: 8.391 MB / 0.552 GB, free: 6.59 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile (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)