Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadModel(PowerSystems): time 2.121/2.121, allocations: 233 MB / 246.1 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.298e-05, allocations: 3.984 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1163, allocations: 53.23 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5453, allocations: 99.27 MB / 454.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.5456, allocations: 83.95 kB / 454.8 MB, free: 2.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1045/0.6501, allocations: 27.34 MB / 482.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.6502, allocations: 0 / 482.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.516e-05/0.6502, allocations: 20 kB / 482.1 MB, free: 6.73 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.002248/0.6525, allocations: 0.9756 MB / 483.1 MB, free: 5.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.6526, allocations: 8.031 kB / 483.1 MB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.6545, allocations: 206.7 kB / 483.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.6559, allocations: 0.5821 MB / 483.9 MB, free: 4.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.656, allocations: 49.27 kB / 484 MB, free: 4.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.6561, allocations: 71.98 kB / 484 MB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.6579, allocations: 0.7503 MB / 484.8 MB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.658, allocations: 0 / 484.8 MB, free: 3.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.6581, allocations: 27.98 kB / 484.8 MB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001404/0.6582, allocations: 45.28 kB / 484.8 MB, free: 3.906 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.6599, allocations: 0.6546 MB / 485.5 MB, free: 3.254 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006315/0.6662, allocations: 2.882 MB / 488.4 MB, free: 272 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.668, allocations: 0.8378 MB / 489.2 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.6686, allocations: 259.4 kB / 489.5 MB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.6687, allocations: 16.56 kB / 489.5 MB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.6688, allocations: 39.12 kB / 489.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 3.814e-06/0.6688, allocations: 0 / 489.5 MB, free: 15.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.004528/0.6733, allocations: 1.907 MB / 491.4 MB, free: 13.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.6734, allocations: 115.3 kB / 491.5 MB, free: 12.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008043/0.6742, allocations: 449 kB / 492 MB, free: 12.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.6743, allocations: 37.7 kB / 492 MB, free: 12.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003358/0.6747, allocations: 348.4 kB / 492.4 MB, free: 12.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.6749, allocations: 220.7 kB / 492.6 MB, free: 11.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.372e-05/0.675, allocations: 16 kB / 492.6 MB, free: 11.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.6753, allocations: 378.7 kB / 493 MB, free: 11.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.6759, allocations: 217.5 kB / 493.2 MB, free: 11.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.6765, allocations: 322.8 kB / 493.5 MB, free: 10.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.6772, allocations: 259.2 kB / 493.7 MB, free: 10.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.544e-06/0.6772, allocations: 7.938 kB / 493.7 MB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001756/0.679, allocations: 0.6863 MB / 494.4 MB, free: 9.922 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006357/0.6796, allocations: 1.146 MB / 495.6 MB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.6797, allocations: 4 kB / 495.6 MB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/0.68, allocations: 56.81 kB / 495.6 MB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.681, allocations: 179.8 kB / 495.8 MB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.6833, allocations: 1.609 MB / 497.4 MB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007031/0.684, allocations: 68 kB / 497.5 MB, free: 6.641 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.262e-05/0.6841, allocations: 20 kB / 497.5 MB, free: 6.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.6841, allocations: 4 kB / 497.5 MB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001577/0.6857, allocations: 0.6151 MB / 498.1 MB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.787e-06/0.6858, allocations: 4 kB / 498.1 MB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.6861, allocations: 56.81 kB / 498.2 MB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009417/0.687, allocations: 180.1 kB / 498.4 MB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.6891, allocations: 1.608 MB / 500 MB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006675/0.6898, allocations: 55.97 kB / 0.4883 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.6899, allocations: 27.98 kB / 0.4883 GB, free: 3.934 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.0002243/0.6902, allocations: 140.9 kB / 0.4885 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6904, allocations: 71.14 kB / 0.4885 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.6921, allocations: 0.6782 MB / 0.4892 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.6922, allocations: 8 kB / 0.4892 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.802e-06/0.6922, allocations: 0 / 0.4892 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.6922, allocations: 3.984 kB / 0.4892 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.6973, allocations: 1.991 MB / 0.4912 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.6974, allocations: 8.156 kB / 0.4912 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008385/0.6982, allocations: 135.8 kB / 0.4913 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.6985, allocations: 56.81 kB / 0.4913 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-05/0.6986, allocations: 20 kB / 0.4914 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/0.7006, allocations: 1.584 MB / 0.4929 GB, free: 14.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.7006, allocations: 12 kB / 0.4929 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.7032, allocations: 1.451 MB / 0.4943 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003906/0.7036, allocations: 188.4 kB / 0.4945 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.7038, allocations: 24 kB / 0.4945 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/0.7045, allocations: 59.91 kB / 0.4946 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.7047, allocations: 71.8 kB / 0.4947 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.972e-05/0.7047, allocations: 27.98 kB / 0.4947 GB, free: 12.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006239/0.7054, allocations: 357.6 kB / 0.495 GB, free: 12.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.7054, allocations: 0 / 0.495 GB, free: 12.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001387/0.7068, allocations: 256.7 kB / 0.4953 GB, free: 12.27 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.0002403/0.707, allocations: 141 kB / 0.4954 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002389/0.7094, allocations: 1.074 MB / 0.4965 GB, free: 11.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.11e-06/0.7095, allocations: 4 kB / 0.4965 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.7105, allocations: 448.5 kB / 0.4969 GB, free: 10.58 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008681/0.7114, allocations: 136.2 kB / 0.497 GB, free: 10.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/0.7144, allocations: 1.259 MB / 0.4983 GB, free: 9.086 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.7153, allocations: 0.9908 MB / 0.4992 GB, free: 8.066 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001002/0.7163, allocations: 187 kB / 0.4994 GB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.7166, allocations: 47.42 kB / 0.4994 GB, free: 7.836 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7166, allocations: 0 / 0.4994 GB, free: 7.836 MB / 442.7 MB Notification: Performance of Templates: time 0.02409/0.7407, allocations: 8.409 MB / 0.5077 GB, free: 15.44 MB / 458.7 MB