Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") Notification: Performance of loadModel(PowerSystems): time 2.179/2.179, allocations: 233 MB / 246.1 MB, free: 14.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.74e-05, allocations: 11.92 kB / 302.2 MB, free: 7.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09278, allocations: 53.22 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4747, allocations: 97.23 MB / 452.7 MB, free: 4.527 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.475, allocations: 87.94 kB / 452.7 MB, free: 4.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08398/0.559, allocations: 21.49 MB / 474.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.882e-06/0.559, allocations: 0 / 474.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.799e-05/0.5591, allocations: 19.94 kB / 474.3 MB, free: 14.78 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.002074/0.5612, allocations: 0.9054 MB / 475.2 MB, free: 13.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5612, allocations: 8.031 kB / 475.2 MB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.5627, allocations: 170.8 kB / 475.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.5641, allocations: 0.5523 MB / 475.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/0.5642, allocations: 45.83 kB / 475.9 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.5643, allocations: 59.95 kB / 476 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.5659, allocations: 0.6488 MB / 476.6 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.566, allocations: 3.906 kB / 476.6 MB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-05/0.566, allocations: 20 kB / 476.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.597e-05/0.5661, allocations: 33.3 kB / 476.7 MB, free: 12.22 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.5675, allocations: 0.5297 MB / 477.2 MB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/0.5732, allocations: 2.536 MB / 479.8 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.5747, allocations: 0.5936 MB / 480.4 MB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.5752, allocations: 191.1 kB / 480.5 MB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.483e-05/0.5753, allocations: 4.438 kB / 480.6 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.5753, allocations: 46.92 kB / 480.6 MB, free: 8.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.84e-06/0.5753, allocations: 0 / 480.6 MB, free: 8.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001199/0.5765, allocations: 439.3 kB / 481 MB, free: 7.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.5766, allocations: 111.2 kB / 481.1 MB, free: 7.598 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008174/0.5775, allocations: 449 kB / 481.6 MB, free: 7.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.5776, allocations: 41.7 kB / 481.6 MB, free: 7.102 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.5779, allocations: 325.2 kB / 481.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.5781, allocations: 177.4 kB / 482.1 MB, free: 6.605 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.5782, allocations: 12 kB / 482.1 MB, free: 6.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.5784, allocations: 366.8 kB / 482.5 MB, free: 6.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.5789, allocations: 161.1 kB / 482.6 MB, free: 6.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.5794, allocations: 264.1 kB / 482.9 MB, free: 5.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.58, allocations: 205.6 kB / 483.1 MB, free: 5.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.58, allocations: 0 / 483.1 MB, free: 5.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001809/0.5818, allocations: 0.6327 MB / 483.7 MB, free: 4.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005623/0.5824, allocations: 1.055 MB / 484.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5824, allocations: 0 / 484.8 MB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004757/0.5829, allocations: 100.8 kB / 484.9 MB, free: 3.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/0.5837, allocations: 135.8 kB / 485 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008435/0.5846, allocations: 0.6828 MB / 485.7 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.5852, allocations: 83.42 kB / 485.8 MB, free: 2.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.5853, allocations: 23.98 kB / 485.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.5854, allocations: 4 kB / 485.8 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001383/0.5867, allocations: 0.5031 MB / 486.3 MB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.155e-06/0.5868, allocations: 8.031 kB / 486.3 MB, free: 2.234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.5872, allocations: 88.75 kB / 486.4 MB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.5879, allocations: 127.9 kB / 486.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002793/0.5907, allocations: 1.928 MB / 488.5 MB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/0.5914, allocations: 71.56 kB / 488.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.5915, allocations: 20 kB / 488.5 MB, free: 15.86 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 (56): * Single equations (assignments): 55 * 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.0002179/0.5917, allocations: 135.6 kB / 488.7 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.5919, allocations: 63.25 kB / 488.7 MB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.5932, allocations: 498.3 kB / 489.2 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.5932, allocations: 4 kB / 489.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.545e-06/0.5932, allocations: 0 / 489.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.388e-06/0.5932, allocations: 0 / 489.2 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.5957, allocations: 1.181 MB / 490.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.424e-06/0.5957, allocations: 288 / 490.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008054/0.5965, allocations: 115.9 kB / 490.5 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.634e-06/0.5966, allocations: 0 / 490.5 MB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.5966, allocations: 19.92 kB / 490.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.901e-06/0.5967, allocations: 4 kB / 490.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.263e-06/0.5967, allocations: 0 / 490.5 MB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/0.5984, allocations: 0.7899 MB / 491.3 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003525/0.5987, allocations: 184.2 kB / 491.5 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.5989, allocations: 12 kB / 491.5 MB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.5994, allocations: 39.97 kB / 491.6 MB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.5996, allocations: 40.33 kB / 491.6 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.203e-05/0.5996, allocations: 16 kB / 491.6 MB, free: 12.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006531/0.6003, allocations: 365.5 kB / 492 MB, free: 12.31 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.13e-07/0.6003, allocations: 0 / 492 MB, free: 12.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001106/0.6014, allocations: 251.2 kB / 492.2 MB, free: 12.07 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 (49): * Single equations (assignments): 48 * 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.0002178/0.6017, allocations: 123.3 kB / 492.3 MB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.6036, allocations: 0.7959 MB / 493.1 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.6037, allocations: 0 / 493.1 MB, free: 11.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.6042, allocations: 209.5 kB / 493.3 MB, free: 10.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.6051, allocations: 109.2 kB / 493.4 MB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.6083, allocations: 1.14 MB / 494.6 MB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.6091, allocations: 0.9389 MB / 495.5 MB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009501/0.6101, allocations: 158.6 kB / 495.7 MB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.6103, allocations: 35.42 kB / 495.7 MB, free: 8.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.819e-06/0.6103, allocations: 4 kB / 495.7 MB, free: 8.496 MB / 426.7 MB Notification: Performance of Templates: time 0.02197/0.6323, allocations: 7.657 MB / 0.4916 GB, free: 0.8594 MB / 426.7 MB