Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadModel(PowerSystems): time 2.158/2.158, allocations: 233 MB / 246.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.421e-05/3.424e-05, allocations: 11.94 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09125, allocations: 53.24 MB / 355.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3786/0.4699, allocations: 99.25 MB / 454.7 MB, free: 2.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.4702, allocations: 83.95 kB / 454.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.108/0.5782, allocations: 27.34 MB / 482.1 MB, free: 6.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5783, allocations: 0 / 482.1 MB, free: 6.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.902e-05/0.5784, allocations: 20 kB / 482.1 MB, free: 6.828 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002212/0.5806, allocations: 0.9717 MB / 483.1 MB, free: 5.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5806, allocations: 8.031 kB / 483.1 MB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.5825, allocations: 202.7 kB / 483.3 MB, free: 5.605 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001398/0.5839, allocations: 0.586 MB / 483.9 MB, free: 4.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.584, allocations: 49.27 kB / 484 MB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.5842, allocations: 64 kB / 484 MB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.586, allocations: 0.762 MB / 484.8 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.586, allocations: 0 / 484.8 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.5861, allocations: 31.98 kB / 484.8 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.5863, allocations: 37.3 kB / 484.8 MB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.588, allocations: 0.6585 MB / 485.5 MB, free: 3.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/0.5944, allocations: 2.878 MB / 488.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.5961, allocations: 0.8378 MB / 489.2 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005717/0.5967, allocations: 265.2 kB / 489.5 MB, free: 15.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.5968, allocations: 8.547 kB / 489.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.367e-05/0.5969, allocations: 47.05 kB / 489.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 3.687e-06/0.5969, allocations: 0 / 489.5 MB, free: 15.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.004558/0.6015, allocations: 1.907 MB / 491.4 MB, free: 13.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.6016, allocations: 115.4 kB / 491.5 MB, free: 13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.6024, allocations: 445 kB / 492 MB, free: 12.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.138e-05/0.6025, allocations: 41.7 kB / 492 MB, free: 12.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.6028, allocations: 344.4 kB / 492.4 MB, free: 12.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.6031, allocations: 224.7 kB / 492.6 MB, free: 11.95 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.6031, allocations: 12 kB / 492.6 MB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.6034, allocations: 382.7 kB / 493 MB, free: 11.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.6039, allocations: 209.5 kB / 493.2 MB, free: 11.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.6046, allocations: 330.8 kB / 493.5 MB, free: 10.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006175/0.6052, allocations: 259.2 kB / 493.7 MB, free: 10.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.054e-06/0.6053, allocations: 0 / 493.7 MB, free: 10.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001776/0.607, allocations: 0.7021 MB / 494.4 MB, free: 10.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006157/0.6077, allocations: 1.136 MB / 495.6 MB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.6077, allocations: 0 / 495.6 MB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003386/0.6081, allocations: 64.81 kB / 495.6 MB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009729/0.609, allocations: 175.8 kB / 495.8 MB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.6113, allocations: 1.618 MB / 497.4 MB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006833/0.612, allocations: 51.95 kB / 497.5 MB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.612, allocations: 23.98 kB / 497.5 MB, free: 6.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.6121, allocations: 11.94 kB / 497.5 MB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/0.6136, allocations: 0.6073 MB / 498.1 MB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.6136, allocations: 4 kB / 498.1 MB, free: 6.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002941/0.614, allocations: 69.12 kB / 498.2 MB, free: 6.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009232/0.6149, allocations: 167.8 kB / 498.4 MB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.617, allocations: 1.616 MB / 500 MB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.6177, allocations: 55.97 kB / 0.4883 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.6178, allocations: 24 kB / 0.4883 GB, free: 4.031 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002187/0.618, allocations: 136.8 kB / 0.4885 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.6182, allocations: 67.16 kB / 0.4885 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/0.6199, allocations: 0.686 MB / 0.4892 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.6199, allocations: 4 kB / 0.4892 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-06/0.6199, allocations: 0 / 0.4892 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.62, allocations: 7.984 kB / 0.4892 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.625, allocations: 1.991 MB / 0.4912 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.625, allocations: 8 kB / 0.4912 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007978/0.6258, allocations: 135.8 kB / 0.4913 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/0.6261, allocations: 61.25 kB / 0.4914 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-05/0.6262, allocations: 23.98 kB / 0.4914 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/0.6282, allocations: 1.577 MB / 0.4929 GB, free: 15.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/0.6282, allocations: 12.08 kB / 0.4929 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/0.6308, allocations: 1.447 MB / 0.4943 GB, free: 13.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/0.6312, allocations: 200.3 kB / 0.4945 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.6314, allocations: 23.98 kB / 0.4946 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.6321, allocations: 55.91 kB / 0.4946 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.6323, allocations: 67.81 kB / 0.4947 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.6323, allocations: 24 kB / 0.4947 GB, free: 12.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006323/0.633, allocations: 357.5 kB / 0.495 GB, free: 12.62 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.3e-07/0.633, allocations: 3.938 kB / 0.495 GB, free: 12.62 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001372/0.6344, allocations: 256.7 kB / 0.4953 GB, free: 12.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002316/0.6346, allocations: 135.1 kB / 0.4954 GB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002399/0.637, allocations: 1.083 MB / 0.4965 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.985e-06/0.6371, allocations: 0 / 0.4965 GB, free: 11.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.6381, allocations: 446.4 kB / 0.4969 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.639, allocations: 128 kB / 0.497 GB, free: 10.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.642, allocations: 1.263 MB / 0.4983 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008502/0.6428, allocations: 0.9908 MB / 0.4992 GB, free: 8.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009949/0.6438, allocations: 191 kB / 0.4994 GB, free: 7.977 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/0.6441, allocations: 43.42 kB / 0.4994 GB, free: 7.934 MB / 442.7 MB Notification: Performance of SimCode: time 1.882e-06/0.6441, allocations: 0 / 0.4994 GB, free: 7.934 MB / 442.7 MB Notification: Performance of Templates: time 0.02362/0.6677, allocations: 8.406 MB / 0.5077 GB, free: 15.54 MB / 458.7 MB