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.001374/0.001374, allocations: 115 kB / 16.63 MB, free: 6.812 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.001505/0.001506, allocations: 186 kB / 17.55 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1734/0.1734, allocations: 38.02 MB / 329.4 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.64 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08695/0.08821, allocations: 58.06 MB / 456.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007478/0.09572, allocations: 6.521 MB / 462.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005367/0.1011, allocations: 2.883 MB / 465.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.1017, allocations: 39.75 kB / 465.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.1029, allocations: 326.5 kB / 466.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.104, allocations: 422.2 kB / 466.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1052, allocations: 0.506 MB / 467 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.1063, allocations: 1.206 MB / 468.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009185/0.1072, allocations: 0.7286 MB / 469 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00052/0.1077, allocations: 470.1 kB / 469.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000487/0.1082, allocations: 486 kB / 469.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.1084, allocations: 88 kB / 470 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007537/0.1091, allocations: 0.5301 MB / 470.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002328/0.1094, allocations: 271.1 kB / 470.8 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.1097, allocations: 429.8 kB / 471.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.111, allocations: 1.258 MB / 472.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.111, allocations: 0 / 472.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.111, allocations: 0 / 472.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.1111, allocations: 0 / 472.4 MB, free: 8.234 MB / 350.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.002104/0.1132, allocations: 1.204 MB / 473.6 MB, free: 6.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.1132, allocations: 11.89 kB / 473.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.1145, allocations: 203.7 kB / 473.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/0.1154, allocations: 0.6007 MB / 474.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.905e-05/0.1154, allocations: 49.69 kB / 474.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.1155, allocations: 72.31 kB / 474.6 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.1171, allocations: 0.8821 MB / 475.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.1171, allocations: 0 / 475.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.044e-05/0.1172, allocations: 35.98 kB / 475.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/0.1172, allocations: 33.3 kB / 475.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.1187, allocations: 0.7858 MB / 476.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004581/0.1233, allocations: 3.26 MB / 479.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.125, allocations: 0.967 MB / 480.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.1256, allocations: 315.2 kB / 480.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.1256, allocations: 16.44 kB / 480.9 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1257, allocations: 39.12 kB / 480.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.144e-06/0.1257, allocations: 0 / 480.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.00484/0.1305, allocations: 2.541 MB / 483.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.1306, allocations: 111.4 kB / 483.6 MB, free: 12.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007787/0.1314, allocations: 0.5782 MB / 484.1 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.1315, allocations: 41.7 kB / 484.2 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.1317, allocations: 368.2 kB / 484.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.1319, allocations: 220.8 kB / 484.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.1321, allocations: 114.7 kB / 484.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1323, allocations: 386.8 kB / 485.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.1329, allocations: 272.7 kB / 485.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006882/0.1336, allocations: 417.8 kB / 485.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.1348, allocations: 0.6966 MB / 486.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1348, allocations: 4 kB / 486.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001589/0.1364, allocations: 0.8228 MB / 487.4 MB, free: 8.613 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.1364, allocations: 7.984 kB / 487.4 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1365, allocations: 4 kB / 487.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002629/0.1367, allocations: 69.19 kB / 487.5 MB, free: 8.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007461/0.1375, allocations: 171.8 kB / 487.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.1392, allocations: 1.806 MB / 489.5 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004617/0.1397, allocations: 47.95 kB / 489.5 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.1398, allocations: 31.88 kB / 489.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007602/0.1405, allocations: 450 kB / 490 MB, free: 5.891 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006027/0.1412, allocations: 400.3 kB / 490.4 MB, free: 5.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.1423, allocations: 0.6694 MB / 491.1 MB, free: 4.727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.1423, allocations: 8 kB / 491.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001534/0.1438, allocations: 0.7994 MB / 491.9 MB, free: 3.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1439, allocations: 8 kB / 491.9 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1439, allocations: 4 kB / 491.9 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.1441, allocations: 69.17 kB / 492 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/0.1448, allocations: 171.7 kB / 492.1 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.1464, allocations: 1.806 MB / 493.9 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.1469, allocations: 47.95 kB / 494 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/0.147, allocations: 28 kB / 494 MB, free: 1.641 MB / 366.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.0001985/0.1472, allocations: 228 kB / 494.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1473, allocations: 67.16 kB / 494.3 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.1489, allocations: 0.7801 MB / 495.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.1489, allocations: 4 kB / 495.1 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.1489, allocations: 4 kB / 495.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.1489, allocations: 3.984 kB / 495.1 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.1529, allocations: 2.15 MB / 497.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.153, allocations: 8 kB / 497.2 MB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.1535, allocations: 127.8 kB / 497.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.1537, allocations: 60.84 kB / 497.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.904e-05/0.1538, allocations: 20 kB / 497.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.1552, allocations: 1.763 MB / 499.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.1552, allocations: 8 kB / 499.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.1573, allocations: 1.318 MB / 0.4888 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.1576, allocations: 200.1 kB / 0.489 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.351e-05/0.1577, allocations: 27.92 kB / 0.489 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.1582, allocations: 51.95 kB / 0.4891 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.1583, allocations: 71.75 kB / 0.4891 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.1584, allocations: 27.98 kB / 0.4892 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005907/0.159, allocations: 415 kB / 0.4896 GB, free: 9.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.159, allocations: 0 / 0.4896 GB, free: 9.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00107/0.16, allocations: 256 kB / 0.4898 GB, free: 9.668 MB / 382.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.0001893/0.1602, allocations: 126 kB / 0.4899 GB, free: 9.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002655/0.1629, allocations: 1.333 MB / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.1629, allocations: 128 / 0.4912 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009872/0.1639, allocations: 0.4997 MB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.165, allocations: 167.1 kB / 0.4919 GB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.1681, allocations: 2.014 MB / 0.4938 GB, free: 5.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006259/0.1688, allocations: 0.9822 MB / 0.4948 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005646/0.1694, allocations: 149 kB / 0.4949 GB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.1695, allocations: 55.42 kB / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of SimCode: time 9.11e-07/0.1695, allocations: 0 / 0.495 GB, free: 4.176 MB / 382.1 MB Notification: Performance of Templates: time 0.01446/0.184, allocations: 8.405 MB / 0.5032 GB, free: 11.82 MB / 398.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)