Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadModel(PowerSystems): time 2.46/2.46, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.285e-05, allocations: 4 kB / 302.2 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.09198, allocations: 53.24 MB / 355.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.4847, allocations: 108.1 MB / 463.5 MB, free: 9.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.485, allocations: 91.94 kB / 463.6 MB, free: 9.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1265/0.6116, allocations: 29.95 MB / 493.5 MB, free: 11.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.6116, allocations: 0 / 493.5 MB, free: 11.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.856e-05/0.6117, allocations: 19.94 kB / 493.6 MB, free: 11.42 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.002708/0.6144, allocations: 1.043 MB / 494.6 MB, free: 10.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.6145, allocations: 8.031 kB / 494.6 MB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.6161, allocations: 190.6 kB / 494.8 MB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/0.6206, allocations: 1.208 MB / 496 MB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.392e-05/0.6208, allocations: 65.94 kB / 496.1 MB, free: 8.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/0.6211, allocations: 91.89 kB / 496.2 MB, free: 8.734 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.6235, allocations: 1.05 MB / 497.2 MB, free: 7.637 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.216e-05/0.6236, allocations: 3.938 kB / 497.2 MB, free: 7.633 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.6237, allocations: 32 kB / 497.2 MB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.6239, allocations: 69.97 kB / 497.3 MB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.6259, allocations: 0.8159 MB / 498.1 MB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00827/0.6342, allocations: 4.013 MB / 0.4904 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008726/0.6351, allocations: 429.3 kB / 0.4908 GB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005591/0.6357, allocations: 270.6 kB / 0.491 GB, free: 1.785 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.6358, allocations: 8.438 kB / 0.491 GB, free: 1.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.6358, allocations: 42.94 kB / 0.4911 GB, free: 1.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 4.142e-06/0.6358, allocations: 0 / 0.4911 GB, free: 1.727 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.00421/0.6401, allocations: 1.563 MB / 0.4926 GB, free: 116 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/0.6402, allocations: 85.55 kB / 0.4927 GB, free: 12 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000957/0.6411, allocations: 0.5071 MB / 0.4932 GB, free: 15.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/0.6413, allocations: 45.62 kB / 0.4932 GB, free: 15.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.6417, allocations: 466.4 kB / 0.4937 GB, free: 14.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002471/0.642, allocations: 197.4 kB / 0.4939 GB, free: 14.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.642, allocations: 12 kB / 0.4939 GB, free: 14.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002461/0.6423, allocations: 386.7 kB / 0.4942 GB, free: 14.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.6429, allocations: 241.5 kB / 0.4945 GB, free: 14.15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007537/0.6436, allocations: 457.7 kB / 0.4949 GB, free: 13.61 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007355/0.6444, allocations: 343 kB / 0.4952 GB, free: 13.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.736e-06/0.6444, allocations: 0 / 0.4952 GB, free: 13.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002791/0.6472, allocations: 1.083 MB / 0.4963 GB, free: 12.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.6473, allocations: 8 kB / 0.4963 GB, free: 12.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00194/0.6492, allocations: 0.7882 MB / 0.4971 GB, free: 11.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009658/0.6502, allocations: 218.3 kB / 0.4973 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.6511, allocations: 151.8 kB / 0.4974 GB, free: 10.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007473/0.6586, allocations: 5.228 MB / 0.5025 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007717/0.6594, allocations: 39.97 kB / 0.5026 GB, free: 5.285 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.6595, allocations: 32 kB / 0.5026 GB, free: 5.254 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.0002202/0.6597, allocations: 152.8 kB / 0.5027 GB, free: 5.098 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.6599, allocations: 71.22 kB / 0.5028 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.6613, allocations: 0.5969 MB / 0.5034 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6613, allocations: 8 kB / 0.5034 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-06/0.6613, allocations: 3.953 kB / 0.5034 GB, free: 4.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.6613, allocations: 3.984 kB / 0.5034 GB, free: 4.406 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/0.6649, allocations: 1.483 MB / 0.5049 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.665, allocations: 0 / 0.5049 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008793/0.6659, allocations: 132 kB / 0.505 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.4e-05/0.6659, allocations: 4 kB / 0.505 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/0.666, allocations: 12 kB / 0.505 GB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.88e-06/0.666, allocations: 3.984 kB / 0.505 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.666, allocations: 4 kB / 0.505 GB, free: 2.703 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.6679, allocations: 0.9844 MB / 0.506 GB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.6684, allocations: 192.1 kB / 0.5062 GB, free: 1.438 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.6685, allocations: 8 kB / 0.5062 GB, free: 1.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.669, allocations: 27.97 kB / 0.5062 GB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.6691, allocations: 28.41 kB / 0.5062 GB, free: 1.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.6692, allocations: 23.92 kB / 0.5062 GB, free: 1.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007184/0.6699, allocations: 407.2 kB / 0.5066 GB, free: 0.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.6699, allocations: 0 / 0.5066 GB, free: 0.957 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001135/0.6711, allocations: 216 kB / 0.5068 GB, free: 0.7461 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.0003057/0.6714, allocations: 165.1 kB / 0.507 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002199/0.6736, allocations: 0.9817 MB / 0.5079 GB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.576e-06/0.6737, allocations: 0 / 0.5079 GB, free: 15.56 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005604/0.6742, allocations: 257.4 kB / 0.5082 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009736/0.6752, allocations: 128.3 kB / 0.5083 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.679, allocations: 1.67 MB / 0.5099 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.6801, allocations: 1.09 MB / 0.511 GB, free: 12.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0008531/0.681, allocations: 193.9 kB / 0.5112 GB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.6812, allocations: 59.42 kB / 0.5113 GB, free: 12.09 MB / 458.7 MB Notification: Performance of SimCode: time 4.167e-06/0.6813, allocations: 0 / 0.5113 GB, free: 12.09 MB / 458.7 MB Notification: Performance of Templates: time 0.0252/0.7065, allocations: 8.447 MB / 0.5195 GB, free: 3.68 MB / 458.7 MB