Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest2") Notification: Performance of loadModel(PowerSystems): time 2.173/2.173, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.563e-05, allocations: 4 kB / 302.2 MB, free: 7.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 53.23 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.374/0.482, allocations: 97.45 MB / 452.9 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4823, allocations: 83.95 kB / 453 MB, free: 4.219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08637/0.5687, allocations: 21.63 MB / 474.6 MB, free: 14.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.596e-06/0.5687, allocations: 3.938 kB / 474.6 MB, free: 14.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.937e-05/0.5688, allocations: 16 kB / 474.6 MB, free: 14.42 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002242/0.5711, allocations: 0.9211 MB / 475.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5711, allocations: 12.03 kB / 475.6 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.5727, allocations: 166.8 kB / 475.7 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.5742, allocations: 0.5622 MB / 476.3 MB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.5743, allocations: 45.83 kB / 476.3 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.5745, allocations: 63.86 kB / 476.4 MB, free: 12.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5762, allocations: 0.6488 MB / 477 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.5762, allocations: 0 / 477 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.5763, allocations: 28 kB / 477.1 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.5764, allocations: 29.3 kB / 477.1 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.5778, allocations: 0.5297 MB / 477.6 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005918/0.5837, allocations: 2.567 MB / 480.2 MB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.5854, allocations: 0.6207 MB / 480.8 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.5859, allocations: 195.1 kB / 481 MB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.586, allocations: 8.375 kB / 481 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.586, allocations: 39 kB / 481 MB, free: 7.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 4.41e-06/0.586, allocations: 0 / 481 MB, free: 7.719 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.001226/0.5873, allocations: 451.4 kB / 481.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.5874, allocations: 107.2 kB / 481.6 MB, free: 7.141 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008431/0.5883, allocations: 453 kB / 482 MB, free: 6.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.603e-05/0.5884, allocations: 37.7 kB / 482.1 MB, free: 6.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003394/0.5887, allocations: 328.5 kB / 482.4 MB, free: 6.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.5889, allocations: 173.5 kB / 482.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.589, allocations: 12 kB / 482.6 MB, free: 6.137 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.5892, allocations: 370.8 kB / 482.9 MB, free: 5.766 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004417/0.5897, allocations: 165.1 kB / 483.1 MB, free: 5.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/0.5902, allocations: 276.1 kB / 483.4 MB, free: 5.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.5908, allocations: 201.6 kB / 483.6 MB, free: 5.105 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.828e-06/0.5908, allocations: 0 / 483.6 MB, free: 5.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001856/0.5927, allocations: 0.6442 MB / 484.2 MB, free: 4.449 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005801/0.5933, allocations: 1.057 MB / 485.3 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.5933, allocations: 4 kB / 485.3 MB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.5938, allocations: 100.8 kB / 485.4 MB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.5947, allocations: 139.8 kB / 485.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000885/0.5956, allocations: 0.6851 MB / 486.2 MB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.5964, allocations: 91.45 kB / 486.3 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.619e-05/0.5965, allocations: 16 kB / 486.3 MB, free: 2.254 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.5965, allocations: 7.953 kB / 486.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001434/0.5979, allocations: 0.5146 MB / 486.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.598, allocations: 4 kB / 486.8 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003741/0.5983, allocations: 96.7 kB / 486.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.5991, allocations: 140.1 kB / 487 MB, free: 1.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.602, allocations: 1.924 MB / 489 MB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006815/0.6027, allocations: 75.48 kB / 489 MB, free: 15.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.23e-05/0.6028, allocations: 24.06 kB / 489.1 MB, free: 15.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (57): * Single equations (assignments): 56 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.603, allocations: 136.8 kB / 489.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.6032, allocations: 63.19 kB / 489.3 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.6045, allocations: 499 kB / 489.8 MB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/0.6045, allocations: 8 kB / 489.8 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.391e-06/0.6045, allocations: 0 / 489.8 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6045, allocations: 3.984 kB / 489.8 MB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.607, allocations: 1.201 MB / 491 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.842e-06/0.6071, allocations: 0 / 491 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/0.608, allocations: 119.9 kB / 491.1 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.608, allocations: 4 kB / 491.1 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.6081, allocations: 16.28 kB / 491.1 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.654e-06/0.6081, allocations: 0 / 491.1 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6081, allocations: 4 kB / 491.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.6098, allocations: 0.8093 MB / 491.9 MB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003472/0.6102, allocations: 184.2 kB / 492.1 MB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.6103, allocations: 12 kB / 492.1 MB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005574/0.6109, allocations: 51.95 kB / 492.2 MB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.6111, allocations: 40.38 kB / 492.2 MB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.6111, allocations: 8 kB / 492.2 MB, free: 12.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006586/0.6118, allocations: 361.5 kB / 492.6 MB, free: 11.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6118, allocations: 4 kB / 492.6 MB, free: 11.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001144/0.613, allocations: 263.2 kB / 492.8 MB, free: 11.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (50): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002259/0.6132, allocations: 127.2 kB / 492.9 MB, free: 11.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.6152, allocations: 0.8154 MB / 493.8 MB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.865e-06/0.6152, allocations: 4.125 kB / 493.8 MB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.6158, allocations: 213.6 kB / 494 MB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.6166, allocations: 102 kB / 494.1 MB, free: 10.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.6197, allocations: 1.144 MB / 495.2 MB, free: 9.023 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007602/0.6205, allocations: 0.9508 MB / 496.2 MB, free: 8.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009234/0.6214, allocations: 162.7 kB / 496.3 MB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.6216, allocations: 43.42 kB / 496.4 MB, free: 7.844 MB / 426.7 MB Notification: Performance of SimCode: time 1.722e-06/0.6216, allocations: 0 / 496.4 MB, free: 7.844 MB / 426.7 MB Notification: Performance of Templates: time 0.02233/0.644, allocations: 7.822 MB / 0.4924 GB, free: 48 kB / 426.7 MB