Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadModel(PowerSystems): time 2.284/2.284, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.482e-05, allocations: 7.938 kB / 301.3 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09158, allocations: 53.25 MB / 354.5 MB, free: 2.617 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.4914, allocations: 116.2 MB / 470.7 MB, free: 1.805 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.4918, allocations: 89.48 kB / 470.8 MB, free: 1.719 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1433/0.635, allocations: 34.8 MB / 0.4937 GB, free: 14.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.6351, allocations: 0 / 0.4937 GB, free: 14.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.976e-05/0.6352, allocations: 28 kB / 0.4938 GB, free: 14.53 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003722/0.6389, allocations: 1.303 MB / 0.495 GB, free: 13.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.639, allocations: 12.03 kB / 0.495 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008985/0.6399, allocations: 154.9 kB / 0.4952 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/0.6442, allocations: 1.199 MB / 0.4964 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.6444, allocations: 78 kB / 0.4964 GB, free: 11.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005421/0.645, allocations: 115.9 kB / 0.4966 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003186/0.6482, allocations: 1.264 MB / 0.4978 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.48e-05/0.6483, allocations: 4 kB / 0.4978 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.6484, allocations: 43.98 kB / 0.4978 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001617/0.6486, allocations: 65.97 kB / 0.4979 GB, free: 10.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002604/0.6512, allocations: 0.9839 MB / 0.4989 GB, free: 9.148 MB / 442.7 MB Notification: The following initial equation is redundant and consistent due to simplifications in RemoveSimpleEquations and therefore removed from the initialization problem: 0.0008318498358936397 * der(PMgen.generator.i_s[3]) = 0.0 -> 0.0 = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.6618, allocations: 4.903 MB / 0.5036 GB, free: 4.016 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.6633, allocations: 0.7062 MB / 0.5043 GB, free: 3.262 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006936/0.6641, allocations: 323 kB / 0.5046 GB, free: 2.941 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.844e-05/0.6642, allocations: 8.562 kB / 0.5046 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.6642, allocations: 43.45 kB / 0.5047 GB, free: 2.883 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.485e-06/0.6642, allocations: 0 / 0.5047 GB, free: 2.883 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.007008/0.6712, allocations: 2.688 MB / 0.5073 GB, free: 76 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.6714, allocations: 115.4 kB / 0.5074 GB, free: 15.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.6725, allocations: 0.5979 MB / 0.508 GB, free: 15.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.6727, allocations: 37.7 kB / 0.508 GB, free: 15.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004675/0.6732, allocations: 0.5519 MB / 0.5086 GB, free: 14.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003063/0.6735, allocations: 252.4 kB / 0.5088 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.365e-05/0.6736, allocations: 20 kB / 0.5088 GB, free: 14.46 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.6738, allocations: 346.8 kB / 0.5092 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.6744, allocations: 265.9 kB / 0.5094 GB, free: 13.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.6753, allocations: 0.5026 MB / 0.5099 GB, free: 13.24 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.6762, allocations: 369.9 kB / 0.5103 GB, free: 12.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.6762, allocations: 0 / 0.5103 GB, free: 12.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003469/0.6797, allocations: 1.16 MB / 0.5114 GB, free: 11.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001541/0.6813, allocations: 2.966 MB / 0.5143 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.6813, allocations: 8 kB / 0.5143 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001992/0.6833, allocations: 400.5 kB / 0.5147 GB, free: 8.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009137/0.6843, allocations: 163.7 kB / 0.5148 GB, free: 7.945 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.6864, allocations: 1.154 MB / 0.516 GB, free: 6.766 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/0.6874, allocations: 47.83 kB / 0.516 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6875, allocations: 36 kB / 0.5161 GB, free: 6.684 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.6875, allocations: 4 kB / 0.5161 GB, free: 6.68 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00323/0.6908, allocations: 1.1 MB / 0.5171 GB, free: 5.578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.53e-05/0.6908, allocations: 11.94 kB / 0.5171 GB, free: 5.566 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.6926, allocations: 392.8 kB / 0.5175 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.6935, allocations: 159.8 kB / 0.5177 GB, free: 5.023 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009829/0.7034, allocations: 4.567 MB / 0.5221 GB, free: 328 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.704, allocations: 39.89 kB / 0.5222 GB, free: 288 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.662e-05/0.7041, allocations: 32 kB / 0.5222 GB, free: 256 kB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (79): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {7 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002736/0.7044, allocations: 164.7 kB / 0.5224 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2492/0.9536, allocations: 90.05 kB / 0.5224 GB, free: 125 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.9558, allocations: 0.8335 MB / 0.5233 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.9558, allocations: 9.656 kB / 0.5233 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.174e-06/0.9558, allocations: 3.375 kB / 0.5233 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.9559, allocations: 3.375 kB / 0.5233 GB, free: 124.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.9603, allocations: 1.786 MB / 0.525 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.434e-06/0.9603, allocations: 3.594 kB / 0.525 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.9616, allocations: 166.9 kB / 0.5252 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.9617, allocations: 5.812 kB / 0.5252 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/0.9618, allocations: 18.75 kB / 0.5252 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.9618, allocations: 6.047 kB / 0.5252 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.9618, allocations: 3.609 kB / 0.5252 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002382/0.9642, allocations: 1.25 MB / 0.5264 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/0.9647, allocations: 216.7 kB / 0.5266 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.9649, allocations: 17.58 kB / 0.5267 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.9656, allocations: 24.64 kB / 0.5267 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.9657, allocations: 43.92 kB / 0.5267 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.298e-05/0.9658, allocations: 24.03 kB / 0.5267 GB, free: 124.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008813/0.9667, allocations: 474.4 kB / 0.5272 GB, free: 124 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.879e-06/0.9667, allocations: 1 kB / 0.5272 GB, free: 124 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001953/0.9687, allocations: 421.3 kB / 0.5276 GB, free: 124 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PMgen.generator.phi_el,PMgen.generator.w_el,PMgen.generator.i_s[1],PMgen.generator.i_s[2],capSym.capSym.cap1.v,capSym.capSym.cap2.v,zLoadDC.i,PI_vDC.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 76 * 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.000366/0.9691, allocations: 201.7 kB / 0.5278 GB, free: 123.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003844/0.9729, allocations: 1.493 MB / 0.5292 GB, free: 123.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.857e-06/0.973, allocations: 1.156 kB / 0.5293 GB, free: 123.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.9738, allocations: 333.8 kB / 0.5296 GB, free: 123.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.9753, allocations: 213.9 kB / 0.5298 GB, free: 123.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00492/0.9802, allocations: 1.989 MB / 0.5317 GB, free: 123.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.9814, allocations: 1.197 MB / 0.5329 GB, free: 122.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.9818, allocations: 65.12 kB / 0.5329 GB, free: 122.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.198e-06/0.9818, allocations: 0 / 0.5329 GB, free: 122.5 MB / 458.7 MB Notification: Performance of Templates: time 0.0345/1.016, allocations: 15.44 MB / 0.548 GB, free: 121.8 MB / 458.7 MB