Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadModel(PowerSystems): time 2.161/2.161, allocations: 233 MB / 245.6 MB, free: 14.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.464e-05/3.478e-05, allocations: 4 kB / 301.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09027, allocations: 53.24 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4831, allocations: 111.7 MB / 466.2 MB, free: 6.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.4834, allocations: 83.95 kB / 466.3 MB, free: 6.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.159/0.6424, allocations: 38.04 MB / 0.4925 GB, free: 15.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.841e-06/0.6425, allocations: 0 / 0.4925 GB, free: 15.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.044e-05/0.6426, allocations: 24 kB / 0.4925 GB, free: 15.69 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003243/0.6458, allocations: 1.284 MB / 0.4938 GB, free: 14.35 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6459, allocations: 16.03 kB / 0.4938 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002125/0.648, allocations: 250.1 kB / 0.494 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005633/0.6537, allocations: 1.549 MB / 0.4956 GB, free: 12.49 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.6538, allocations: 82.06 kB / 0.4956 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003838/0.6542, allocations: 123.9 kB / 0.4958 GB, free: 12.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.6576, allocations: 1.428 MB / 0.4971 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.627e-05/0.6577, allocations: 17.11 kB / 0.4972 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.6578, allocations: 40 kB / 0.4972 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/0.658, allocations: 82.19 kB / 0.4973 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.6611, allocations: 1.191 MB / 0.4984 GB, free: 9.461 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.6728, allocations: 5.661 MB / 0.504 GB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6741, allocations: 0.5654 MB / 0.5045 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008241/0.6749, allocations: 395.8 kB / 0.5049 GB, free: 2.484 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.675, allocations: 4.562 kB / 0.5049 GB, free: 2.48 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.6751, allocations: 43.12 kB / 0.5049 GB, free: 2.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 4.341e-06/0.6751, allocations: 0 / 0.5049 GB, free: 2.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.008622/0.6837, allocations: 2.88 MB / 0.5078 GB, free: 15.47 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.6838, allocations: 89.92 kB / 0.5078 GB, free: 15.37 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.685, allocations: 0.629 MB / 0.5085 GB, free: 14.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.767e-05/0.6852, allocations: 38.36 kB / 0.5085 GB, free: 14.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/0.6857, allocations: 0.6022 MB / 0.5091 GB, free: 14.08 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.686, allocations: 268.1 kB / 0.5093 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.6861, allocations: 23.94 kB / 0.5094 GB, free: 13.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.6864, allocations: 359.2 kB / 0.5097 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008863/0.6873, allocations: 377.9 kB / 0.5101 GB, free: 13.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.6884, allocations: 0.6397 MB / 0.5107 GB, free: 12.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.6895, allocations: 0.4994 MB / 0.5112 GB, free: 11.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.6895, allocations: 0 / 0.5112 GB, free: 11.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004478/0.694, allocations: 1.604 MB / 0.5127 GB, free: 10.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.6941, allocations: 15.95 kB / 0.5128 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003657/0.6977, allocations: 1.281 MB / 0.514 GB, free: 8.871 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/0.7004, allocations: 0.5875 MB / 0.5146 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.7013, allocations: 167.7 kB / 0.5147 GB, free: 8.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.264/0.9654, allocations: 9.417 MB / 0.5239 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.9665, allocations: 54.97 kB / 0.524 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.9666, allocations: 41.14 kB / 0.524 GB, free: 120.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (94): * Single equations (assignments): 90 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002438/0.9669, allocations: 162 kB / 0.5242 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.9671, allocations: 93.28 kB / 0.5243 GB, free: 120.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.9702, allocations: 1.236 MB / 0.5255 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.9703, allocations: 10.66 kB / 0.5255 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.9703, allocations: 5.156 kB / 0.5255 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/0.9703, allocations: 4.734 kB / 0.5255 GB, free: 120.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006087/0.9764, allocations: 2.38 MB / 0.5278 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.9765, allocations: 2.062 kB / 0.5278 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007255/0.9772, allocations: 107.5 kB / 0.5279 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.9789, allocations: 373.4 kB / 0.5283 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.9791, allocations: 30.62 kB / 0.5283 GB, free: 119.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00874/0.9878, allocations: 8.475 MB / 0.5366 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.44e-06/0.9879, allocations: 5.594 kB / 0.5366 GB, free: 113.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003633/0.9915, allocations: 1.74 MB / 0.5383 GB, free: 113 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.9921, allocations: 232.6 kB / 0.5385 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.9923, allocations: 23.48 kB / 0.5385 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.993, allocations: 24.34 kB / 0.5386 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.9931, allocations: 70.7 kB / 0.5386 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/0.9932, allocations: 24.14 kB / 0.5387 GB, free: 112.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008724/0.9941, allocations: 0.4898 MB / 0.5391 GB, free: 112.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.9941, allocations: 0 / 0.5391 GB, free: 112.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001858/0.996, allocations: 362.3 kB / 0.5395 GB, free: 112.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003659/0.9964, allocations: 206.2 kB / 0.5397 GB, free: 112.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002952/0.9994, allocations: 1.506 MB / 0.5411 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.803e-06/0.9994, allocations: 0 / 0.5411 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001978/1.001, allocations: 1.04 MB / 0.5422 GB, free: 111.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/1.003, allocations: 186 kB / 0.5423 GB, free: 111.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/1.008, allocations: 2.295 MB / 0.5446 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/1.009, allocations: 1.279 MB / 0.5458 GB, free: 110.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/1.009, allocations: 69.22 kB / 0.5459 GB, free: 110.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.68e-06/1.009, allocations: 4 kB / 0.5459 GB, free: 110.4 MB / 458.7 MB Notification: Performance of Templates: time 0.03907/1.048, allocations: 31.05 MB / 0.5762 GB, free: 106.3 MB / 458.7 MB