Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadModel(PowerSystems): time 2.26/2.26, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.498e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09405, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3917/0.4858, allocations: 108.1 MB / 463.5 MB, free: 9.684 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.4862, allocations: 91.95 kB / 463.6 MB, free: 9.594 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1248/0.611, allocations: 29.94 MB / 493.5 MB, free: 11.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.5e-06/0.611, allocations: 4 kB / 493.5 MB, free: 11.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.351e-05/0.6111, allocations: 19.98 kB / 493.6 MB, free: 11.29 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00245/0.6136, allocations: 1.037 MB / 494.6 MB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.6136, allocations: 8.031 kB / 494.6 MB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.6152, allocations: 198.6 kB / 494.8 MB, free: 10 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.6197, allocations: 1.2 MB / 496 MB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.6198, allocations: 61.98 kB / 496.1 MB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/0.6201, allocations: 93.58 kB / 496.1 MB, free: 8.613 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.6225, allocations: 1.058 MB / 497.2 MB, free: 7.508 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.6226, allocations: 4 kB / 497.2 MB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.6227, allocations: 32 kB / 497.2 MB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.6229, allocations: 69.91 kB / 497.3 MB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.6249, allocations: 0.8199 MB / 498.1 MB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007903/0.6328, allocations: 4.016 MB / 0.4904 GB, free: 2.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008712/0.6337, allocations: 415 kB / 0.4908 GB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.6343, allocations: 279.3 kB / 0.491 GB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.6344, allocations: 4.438 kB / 0.491 GB, free: 1.645 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6344, allocations: 39 kB / 0.4911 GB, free: 1.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 4.087e-06/0.6344, allocations: 0 / 0.4911 GB, free: 1.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.004017/0.6385, allocations: 1.571 MB / 0.4926 GB, free: 15.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.997e-05/0.6386, allocations: 85.48 kB / 0.4927 GB, free: 15.88 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.6395, allocations: 0.5033 MB / 0.4932 GB, free: 15.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.975e-05/0.6396, allocations: 33.73 kB / 0.4932 GB, free: 15.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.64, allocations: 478.4 kB / 0.4937 GB, free: 14.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.6403, allocations: 185.3 kB / 0.4938 GB, free: 14.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.6404, allocations: 17.31 kB / 0.4939 GB, free: 14.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.6406, allocations: 390.7 kB / 0.4942 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.6412, allocations: 237.5 kB / 0.4945 GB, free: 14.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/0.6419, allocations: 465.7 kB / 0.4949 GB, free: 13.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.6427, allocations: 339 kB / 0.4952 GB, free: 13.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.557e-06/0.6427, allocations: 0 / 0.4952 GB, free: 13.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002806/0.6456, allocations: 1.083 MB / 0.4963 GB, free: 12.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.998e-05/0.6456, allocations: 8 kB / 0.4963 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001962/0.6476, allocations: 0.7803 MB / 0.4971 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.6486, allocations: 223.7 kB / 0.4973 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.6495, allocations: 159.7 kB / 0.4974 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007478/0.657, allocations: 5.221 MB / 0.5025 GB, free: 5.199 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/0.6578, allocations: 35.97 kB / 0.5026 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.376e-05/0.6579, allocations: 35.98 kB / 0.5026 GB, free: 5.129 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (81): * Single equations (assignments): 78 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000231/0.6582, allocations: 152.8 kB / 0.5027 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.6583, allocations: 67.16 kB / 0.5028 GB, free: 4.906 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.6597, allocations: 0.5969 MB / 0.5034 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.6598, allocations: 11.89 kB / 0.5034 GB, free: 4.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.003e-06/0.6598, allocations: 4 kB / 0.5034 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6598, allocations: 3.984 kB / 0.5034 GB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.6635, allocations: 1.483 MB / 0.5049 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.6635, allocations: 4 kB / 0.5049 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.6647, allocations: 127.8 kB / 0.505 GB, free: 2.602 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.088e-05/0.6648, allocations: 4 kB / 0.505 GB, free: 2.598 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/0.6649, allocations: 12 kB / 0.505 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/0.6649, allocations: 4 kB / 0.505 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.034e-06/0.665, allocations: 4 kB / 0.505 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.6671, allocations: 0.9883 MB / 0.506 GB, free: 1.516 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/0.6676, allocations: 188.1 kB / 0.5061 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6678, allocations: 16 kB / 0.5062 GB, free: 1.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.6682, allocations: 19.98 kB / 0.5062 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.6683, allocations: 32.39 kB / 0.5062 GB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.499e-05/0.6684, allocations: 16 kB / 0.5062 GB, free: 1.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007147/0.6691, allocations: 411.1 kB / 0.5066 GB, free: 0.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.6692, allocations: 4 kB / 0.5066 GB, free: 0.8281 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001149/0.6703, allocations: 220 kB / 0.5068 GB, free: 0.6133 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.0003903/0.6707, allocations: 150.2 kB / 0.507 GB, free: 468 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.6732, allocations: 0.9891 MB / 0.5079 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.011e-06/0.6732, allocations: 4 kB / 0.5079 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005519/0.6738, allocations: 255 kB / 0.5082 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009551/0.6747, allocations: 133.5 kB / 0.5083 GB, free: 15.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.6785, allocations: 1.67 MB / 0.5099 GB, free: 13.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.6796, allocations: 1.094 MB / 0.511 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008543/0.6805, allocations: 189.9 kB / 0.5112 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.6808, allocations: 51.44 kB / 0.5112 GB, free: 11.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.57e-06/0.6808, allocations: 0 / 0.5112 GB, free: 11.97 MB / 458.7 MB Notification: Performance of Templates: time 0.025/0.7058, allocations: 8.448 MB / 0.5195 GB, free: 3.555 MB / 458.7 MB