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.001423/0.001424, allocations: 99.17 kB / 16.5 MB, free: 6.641 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.001492/0.001492, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.455/1.455, allocations: 222.9 MB / 241.1 MB, free: 15.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1816/0.1816, allocations: 38.03 MB / 329.3 MB, free: 9 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 62.39 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1491, allocations: 58.07 MB / 456.2 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.008527/0.1577, allocations: 6.517 MB / 462.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005213/0.1629, allocations: 2.91 MB / 465.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.1641, allocations: 35.81 kB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.1656, allocations: 334.5 kB / 465.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.1673, allocations: 430.2 kB / 466.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.169, allocations: 0.4986 MB / 466.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.1708, allocations: 1.397 MB / 468.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.1721, allocations: 0.6025 MB / 468.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.173, allocations: 394.1 kB / 469.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008656/0.1739, allocations: 457.9 kB / 469.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002085/0.1741, allocations: 44 kB / 469.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001181/0.1753, allocations: 0.5885 MB / 470.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003562/0.1757, allocations: 235.1 kB / 470.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.1763, allocations: 381.7 kB / 470.9 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.178, allocations: 1.211 MB / 472.1 MB, free: 8.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.178, allocations: 4 kB / 472.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.178, allocations: 0 / 472.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.563e-05/0.1781, allocations: 0 / 472.1 MB, free: 8.445 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.003012/0.1811, allocations: 1.208 MB / 473.3 MB, free: 7.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1811, allocations: 8.031 kB / 473.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.1826, allocations: 199.7 kB / 473.5 MB, free: 6.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.1839, allocations: 0.6084 MB / 474.2 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.184, allocations: 57.67 kB / 474.2 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.1841, allocations: 68.31 kB / 474.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.186, allocations: 0.8782 MB / 475.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.186, allocations: 0 / 475.2 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.199e-05/0.1861, allocations: 28 kB / 475.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.28e-05/0.1862, allocations: 45.3 kB / 475.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.1878, allocations: 0.7779 MB / 476 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005426/0.1933, allocations: 3.261 MB / 479.3 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.1951, allocations: 0.9671 MB / 480.2 MB, free: 20 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.1958, allocations: 315.2 kB / 480.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.1959, allocations: 16.55 kB / 480.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1959, allocations: 39.12 kB / 480.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 3.196e-06/0.1959, allocations: 4 kB / 480.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.00527/0.2012, allocations: 2.533 MB / 483.1 MB, free: 13 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.33e-05/0.2013, allocations: 115.4 kB / 483.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.2021, allocations: 0.5821 MB / 483.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.2022, allocations: 33.7 kB / 483.9 MB, free: 12.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.2025, allocations: 364.3 kB / 484.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000225/0.2027, allocations: 224.8 kB / 484.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.203, allocations: 118.7 kB / 484.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2031, allocations: 382.8 kB / 484.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/0.2038, allocations: 272.6 kB / 485.2 MB, free: 10.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.2045, allocations: 425.7 kB / 485.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.2059, allocations: 0.6928 MB / 486.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.2059, allocations: 0 / 486.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001893/0.2078, allocations: 0.8345 MB / 487.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.2078, allocations: 8 kB / 487.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.2078, allocations: 4 kB / 487.1 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.2081, allocations: 56.81 kB / 487.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008594/0.209, allocations: 184.2 kB / 487.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.2113, allocations: 1.612 MB / 489 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/0.2119, allocations: 67.92 kB / 489.1 MB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-05/0.212, allocations: 20 kB / 489.1 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008639/0.2128, allocations: 442 kB / 489.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007274/0.2136, allocations: 405.8 kB / 489.9 MB, free: 5.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001516/0.2151, allocations: 0.6733 MB / 490.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.232e-06/0.2151, allocations: 3.984 kB / 490.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001764/0.2169, allocations: 0.8037 MB / 491.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.2169, allocations: 8 kB / 491.4 MB, free: 4.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.2169, allocations: 8 kB / 491.4 MB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/0.2172, allocations: 60.81 kB / 491.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.2179, allocations: 167.8 kB / 491.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.2203, allocations: 1.636 MB / 493.3 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/0.2209, allocations: 43.95 kB / 493.3 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.221, allocations: 28 kB / 493.3 MB, free: 2.223 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.0002758/0.2213, allocations: 224.1 kB / 493.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.2215, allocations: 75.14 kB / 493.6 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/0.2233, allocations: 0.7724 MB / 494.4 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.2233, allocations: 8 kB / 494.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2233, allocations: 3.938 kB / 494.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2233, allocations: 3.984 kB / 494.4 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004546/0.2279, allocations: 2.142 MB / 496.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.2279, allocations: 8 kB / 496.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.2286, allocations: 127.8 kB / 496.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002262/0.2288, allocations: 56.81 kB / 496.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.2289, allocations: 27.92 kB / 496.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.2308, allocations: 1.584 MB / 498.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.2308, allocations: 15.88 kB / 498.4 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002468/0.2333, allocations: 1.322 MB / 499.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.2337, allocations: 200.2 kB / 499.9 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2338, allocations: 23.94 kB / 499.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005208/0.2343, allocations: 47.95 kB / 500 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.2345, allocations: 75.78 kB / 0.4883 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.2345, allocations: 24 kB / 0.4883 GB, free: 11.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006571/0.2352, allocations: 415 kB / 0.4887 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2352, allocations: 4 kB / 0.4887 GB, free: 10.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001098/0.2363, allocations: 256 kB / 0.489 GB, free: 10.43 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.0001582/0.2365, allocations: 123.9 kB / 0.4891 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.239, allocations: 1.255 MB / 0.4903 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.2391, allocations: 0 / 0.4903 GB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009626/0.24, allocations: 0.5035 MB / 0.4908 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009765/0.241, allocations: 160.6 kB / 0.491 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.2442, allocations: 2.019 MB / 0.4929 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/0.245, allocations: 0.9822 MB / 0.4939 GB, free: 5.211 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005889/0.2456, allocations: 144.8 kB / 0.494 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2458, allocations: 55.42 kB / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.2458, allocations: 0 / 0.4941 GB, free: 5.016 MB / 382.1 MB Notification: Performance of Templates: time 0.01601/0.2618, allocations: 7.964 MB / 0.5019 GB, free: 13.09 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)