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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 107.4 kB / 17.06 MB, free: 5.82 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.001435/0.001435, allocations: 195.9 kB / 18 MB, free: 4.965 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1705/0.1705, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 72.03 kB / 457.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3206, allocations: 58.05 MB / 0.5036 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005998/0.3267, allocations: 5.914 MB / 0.5094 GB, free: 3.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.3304, allocations: 2.727 MB / 0.512 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.3309, allocations: 26.94 kB / 0.5121 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.3321, allocations: 377.2 kB / 0.5124 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.3331, allocations: 477.6 kB / 0.5129 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.3344, allocations: 0.556 MB / 0.5134 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.3356, allocations: 1.207 MB / 0.5146 GB, free: 28 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.3367, allocations: 0.7061 MB / 0.5153 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007151/0.3374, allocations: 469.8 kB / 0.5157 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.3381, allocations: 475 kB / 0.5162 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001455/0.3383, allocations: 86.22 kB / 0.5163 GB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3393, allocations: 0.5205 MB / 0.5168 GB, free: 15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003238/0.3397, allocations: 264.9 kB / 0.517 GB, free: 14.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.3402, allocations: 428.1 kB / 0.5174 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.3423, allocations: 1.25 MB / 0.5187 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3423, allocations: 5.469 kB / 0.5187 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3423, allocations: 0 / 0.5187 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.3423, allocations: 0 / 0.5187 GB, free: 14.04 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.002394/0.3447, allocations: 1.231 MB / 0.5199 GB, free: 13.19 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3448, allocations: 13.17 kB / 0.5199 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3449, allocations: 109.9 kB / 0.52 GB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3461, allocations: 210.1 kB / 0.5202 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3472, allocations: 0.6411 MB / 0.5208 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.021e-05/0.3473, allocations: 48.59 kB / 0.5209 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3474, allocations: 78.58 kB / 0.5209 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.349, allocations: 0.8822 MB / 0.5218 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.349, allocations: 2.25 kB / 0.5218 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.3491, allocations: 29.34 kB / 0.5218 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/0.3491, allocations: 40.89 kB / 0.5219 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.3507, allocations: 0.7837 MB / 0.5226 GB, free: 11.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00493/0.3556, allocations: 3.24 MB / 0.5258 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.3574, allocations: 0.9674 MB / 0.5267 GB, free: 9.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000624/0.358, allocations: 308.3 kB / 0.527 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.3581, allocations: 8.547 kB / 0.527 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.3581, allocations: 43.08 kB / 0.5271 GB, free: 9.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.194e-06/0.3581, allocations: 0 / 0.5271 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005124/0.3633, allocations: 2.548 MB / 0.5296 GB, free: 7.648 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.3634, allocations: 110.8 kB / 0.5297 GB, free: 7.523 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008101/0.3642, allocations: 0.5876 MB / 0.5303 GB, free: 7.262 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.3642, allocations: 35.48 kB / 0.5303 GB, free: 7.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.3645, allocations: 373.7 kB / 0.5306 GB, free: 6.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.3648, allocations: 237.1 kB / 0.5309 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.365, allocations: 118.2 kB / 0.531 GB, free: 6.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.3652, allocations: 386.2 kB / 0.5314 GB, free: 6.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.3657, allocations: 277.3 kB / 0.5316 GB, free: 6.191 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/0.3664, allocations: 418.4 kB / 0.532 GB, free: 5.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.3677, allocations: 0.6906 MB / 0.5327 GB, free: 5.445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3677, allocations: 1.188 kB / 0.5327 GB, free: 5.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001662/0.3694, allocations: 0.842 MB / 0.5335 GB, free: 5.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3694, allocations: 6.562 kB / 0.5335 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3694, allocations: 4.219 kB / 0.5335 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002547/0.3697, allocations: 61.06 kB / 0.5336 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.3704, allocations: 180.4 kB / 0.5338 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.3724, allocations: 1.802 MB / 0.5355 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.3729, allocations: 57.56 kB / 0.5356 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.3729, allocations: 23.44 kB / 0.5356 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007852/0.3737, allocations: 444.7 kB / 0.536 GB, free: 2.891 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006645/0.3744, allocations: 408.2 kB / 0.5364 GB, free: 2.59 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001194/0.3756, allocations: 0.6696 MB / 0.5371 GB, free: 2.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.3756, allocations: 1.438 kB / 0.5371 GB, free: 2.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001539/0.3772, allocations: 0.8087 MB / 0.5378 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3772, allocations: 6 kB / 0.5379 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.3772, allocations: 12.25 kB / 0.5379 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002087/0.3774, allocations: 66.25 kB / 0.5379 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.3781, allocations: 173.4 kB / 0.5381 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.3798, allocations: 1.799 MB / 0.5399 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.3803, allocations: 48.45 kB / 0.5399 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.3804, allocations: 23.72 kB / 0.5399 GB, free: 15.9 MB / 414.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.0002449/0.3806, allocations: 219.9 kB / 0.5401 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3807, allocations: 74.09 kB / 0.5402 GB, free: 15.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.3825, allocations: 0.7816 MB / 0.541 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3825, allocations: 10.66 kB / 0.541 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3825, allocations: 1.75 kB / 0.541 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3825, allocations: 3.984 kB / 0.541 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.3866, allocations: 2.136 MB / 0.5431 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.3866, allocations: 7.094 kB / 0.5431 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.3872, allocations: 132.7 kB / 0.5432 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.3874, allocations: 54.69 kB / 0.5433 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.3875, allocations: 23.61 kB / 0.5433 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.3891, allocations: 1.772 MB / 0.545 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/0.3891, allocations: 10.94 kB / 0.545 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3914, allocations: 1.322 MB / 0.5463 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.3917, allocations: 200.7 kB / 0.5465 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/0.3918, allocations: 27.33 kB / 0.5465 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3923, allocations: 46.52 kB / 0.5466 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001422/0.3924, allocations: 75.78 kB / 0.5466 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.3925, allocations: 28.45 kB / 0.5467 GB, free: 10.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000629/0.3931, allocations: 417.5 kB / 0.5471 GB, free: 10.49 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3931, allocations: 3.938 kB / 0.5471 GB, free: 10.49 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3942, allocations: 248.5 kB / 0.5473 GB, free: 10.46 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.002614/0.3968, allocations: 1.89 MB / 0.5492 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002434/0.3993, allocations: 1.27 MB / 0.5504 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.3993, allocations: 0 / 0.5504 GB, free: 7.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000931/0.4002, allocations: 0.5195 MB / 0.5509 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/0.4011, allocations: 171.9 kB / 0.5511 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.4117, allocations: 6.705 MB / 0.5576 GB, free: 15.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.4124, allocations: 0.9937 MB / 0.5586 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005038/0.4129, allocations: 136.8 kB / 0.5587 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.4133, allocations: 287.3 kB / 0.559 GB, free: 13.97 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4133, allocations: 0 / 0.559 GB, free: 13.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04799/0.4613, allocations: 15.93 MB / 0.5745 GB, free: 14.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.86, allocations: 8 kB / 0.5745 GB, free: 14.21 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)