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.001114/0.001114, allocations: 106.4 kB / 16.92 MB, free: 5.77 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.001257/0.001257, allocations: 191.3 kB / 17.85 MB, free: 5.168 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.427/1.427, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1761/0.1761, allocations: 38.02 MB / 329.7 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 64.12 kB / 398.8 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.104, allocations: 58.05 MB / 456.8 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.007012/0.1111, allocations: 5.926 MB / 462.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003907/0.115, allocations: 2.723 MB / 465.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.1154, allocations: 23.88 kB / 465.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.1166, allocations: 381.8 kB / 465.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009461/0.1176, allocations: 477.5 kB / 466.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.1187, allocations: 0.5413 MB / 466.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001128/0.1198, allocations: 1.206 MB / 468.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009408/0.1207, allocations: 0.7091 MB / 468.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005536/0.1213, allocations: 462.2 kB / 469.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005791/0.1219, allocations: 466 kB / 469.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.122, allocations: 88 kB / 469.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008262/0.1229, allocations: 0.5301 MB / 470.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.1231, allocations: 263.2 kB / 470.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.1234, allocations: 425.7 kB / 471 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.1245, allocations: 1.219 MB / 472.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1245, allocations: 0 / 472.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1245, allocations: 0 / 472.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1246, allocations: 0 / 472.2 MB, free: 8.609 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.002053/0.1266, allocations: 1.212 MB / 473.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1267, allocations: 11.89 kB / 473.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.1279, allocations: 199.7 kB / 473.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008925/0.1288, allocations: 0.6124 MB / 474.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.1288, allocations: 49.67 kB / 474.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.1289, allocations: 72.36 kB / 474.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1304, allocations: 0.886 MB / 475.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1304, allocations: 0 / 475.3 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.1305, allocations: 28 kB / 475.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.1306, allocations: 41.3 kB / 475.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.132, allocations: 0.7819 MB / 476.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.1365, allocations: 3.257 MB / 479.4 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.1382, allocations: 0.9564 MB / 480.3 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006349/0.1388, allocations: 307.4 kB / 480.6 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.1389, allocations: 8.562 kB / 480.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1389, allocations: 47.05 kB / 480.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.164e-06/0.1389, allocations: 0 / 480.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.004962/0.1439, allocations: 2.537 MB / 483.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.144, allocations: 119.3 kB / 483.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/0.1447, allocations: 0.5783 MB / 483.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.293e-05/0.1448, allocations: 37.7 kB / 483.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.145, allocations: 372.2 kB / 484.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.1452, allocations: 212.8 kB / 484.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.1454, allocations: 122.7 kB / 484.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1456, allocations: 382.8 kB / 485 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005844/0.1462, allocations: 276.7 kB / 485.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006632/0.1468, allocations: 409.8 kB / 485.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.1481, allocations: 0.7005 MB / 486.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.1481, allocations: 0 / 486.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001601/0.1497, allocations: 0.8346 MB / 487.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1497, allocations: 6.344 kB / 487.2 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1498, allocations: 4 kB / 487.2 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002538/0.15, allocations: 64.81 kB / 487.3 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.1508, allocations: 179.9 kB / 487.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/0.1524, allocations: 1.795 MB / 489.3 MB, free: 6.789 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004703/0.1529, allocations: 56.02 kB / 489.3 MB, free: 6.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.153, allocations: 27.92 kB / 489.3 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007457/0.1537, allocations: 445.9 kB / 489.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006163/0.1544, allocations: 405.7 kB / 490.2 MB, free: 5.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001139/0.1555, allocations: 0.6694 MB / 490.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.1555, allocations: 0 / 490.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001488/0.157, allocations: 0.8075 MB / 491.7 MB, free: 4.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.157, allocations: 11.94 kB / 491.7 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.157, allocations: 4 kB / 491.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002009/0.1573, allocations: 60.75 kB / 491.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.158, allocations: 171.8 kB / 491.9 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.1595, allocations: 1.82 MB / 493.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.16, allocations: 52.02 kB / 493.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.921e-05/0.16, allocations: 31.98 kB / 493.8 MB, free: 2.004 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.0001938/0.1602, allocations: 220 kB / 494 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1604, allocations: 71.16 kB / 494.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.162, allocations: 0.7724 MB / 494.9 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.162, allocations: 8 kB / 494.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.1621, allocations: 0 / 494.9 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.1621, allocations: 3.984 kB / 494.9 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/0.166, allocations: 2.153 MB / 497 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.166, allocations: 4 kB / 497 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.1666, allocations: 132.6 kB / 497.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000189/0.1668, allocations: 56.81 kB / 497.2 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.1669, allocations: 20 kB / 497.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.1683, allocations: 1.767 MB / 499 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.1683, allocations: 8 kB / 499 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.1705, allocations: 1.322 MB / 0.4886 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.1708, allocations: 208.1 kB / 0.4888 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.1709, allocations: 20 kB / 0.4888 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004856/0.1714, allocations: 47.95 kB / 0.4889 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1715, allocations: 75.67 kB / 0.4889 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.1716, allocations: 24 kB / 0.489 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005763/0.1721, allocations: 427 kB / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1722, allocations: 0 / 0.4894 GB, free: 10.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009585/0.1731, allocations: 248 kB / 0.4896 GB, free: 10.04 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.0001532/0.1733, allocations: 127.9 kB / 0.4897 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.1758, allocations: 1.324 MB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.1758, allocations: 4 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000892/0.1767, allocations: 0.4996 MB / 0.4915 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000919/0.1776, allocations: 182.2 kB / 0.4917 GB, free: 7.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.1802, allocations: 1.715 MB / 0.4934 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.1808, allocations: 0.99 MB / 0.4943 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.1813, allocations: 132.9 kB / 0.4944 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.1815, allocations: 51.42 kB / 0.4945 GB, free: 4.848 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1815, allocations: 4 kB / 0.4945 GB, free: 4.844 MB / 382.1 MB Notification: Performance of Templates: time 0.01596/0.1974, allocations: 8.519 MB / 0.5028 GB, free: 12.36 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)