Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadModel(PowerSystems): time 2.242/2.242, allocations: 233 MB / 246.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.145e-05/3.16e-05, allocations: 8 kB / 302.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09476/0.09481, allocations: 53.24 MB / 355.4 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5025, allocations: 116.2 MB / 471.6 MB, free: 1.652 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.5029, allocations: 91.94 kB / 471.7 MB, free: 1.562 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1804/0.6833, allocations: 34.79 MB / 0.4947 GB, free: 14.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.257e-06/0.6834, allocations: 0 / 0.4947 GB, free: 14.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.6835, allocations: 31.94 kB / 0.4947 GB, free: 14.37 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.003499/0.687, allocations: 1.299 MB / 0.496 GB, free: 13.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.687, allocations: 11.97 kB / 0.496 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000852/0.6879, allocations: 154.8 kB / 0.4961 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003996/0.6919, allocations: 1.206 MB / 0.4973 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.6921, allocations: 78 kB / 0.4974 GB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/0.6925, allocations: 115.9 kB / 0.4975 GB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003087/0.6957, allocations: 1.268 MB / 0.4987 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.6957, allocations: 0 / 0.4987 GB, free: 10.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.6959, allocations: 47.98 kB / 0.4988 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.6961, allocations: 65.97 kB / 0.4988 GB, free: 9.969 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.6987, allocations: 0.9761 MB / 0.4998 GB, free: 8.992 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.01054/0.7092, allocations: 4.911 MB / 0.5046 GB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.7107, allocations: 0.6986 MB / 0.5053 GB, free: 3.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.7114, allocations: 323 kB / 0.5056 GB, free: 2.785 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.335e-05/0.7115, allocations: 8.672 kB / 0.5056 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.7115, allocations: 43.06 kB / 0.5056 GB, free: 2.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.957e-06/0.7116, allocations: 4 kB / 0.5056 GB, free: 2.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.006987/0.7186, allocations: 2.689 MB / 0.5082 GB, free: 15.91 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.7187, allocations: 111.4 kB / 0.5083 GB, free: 15.78 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/0.7198, allocations: 0.5939 MB / 0.5089 GB, free: 15.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/0.7199, allocations: 37.7 kB / 0.509 GB, free: 15.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005179/0.7204, allocations: 0.5377 MB / 0.5095 GB, free: 14.59 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.7207, allocations: 260.4 kB / 0.5097 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/0.7208, allocations: 16 kB / 0.5097 GB, free: 14.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.721, allocations: 345.9 kB / 0.5101 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006493/0.7217, allocations: 265.9 kB / 0.5103 GB, free: 13.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00087/0.7226, allocations: 0.4987 MB / 0.5108 GB, free: 13.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.7234, allocations: 373.8 kB / 0.5112 GB, free: 12.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.712e-06/0.7234, allocations: 0 / 0.5112 GB, free: 12.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003678/0.7271, allocations: 1.21 MB / 0.5124 GB, free: 11.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0016/0.7288, allocations: 2.968 MB / 0.5153 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/0.7288, allocations: 8 kB / 0.5153 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/0.7308, allocations: 404.5 kB / 0.5157 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009446/0.7318, allocations: 163.7 kB / 0.5158 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.7339, allocations: 1.146 MB / 0.5169 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008952/0.7348, allocations: 43.83 kB / 0.517 GB, free: 6.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.7349, allocations: 35.98 kB / 0.517 GB, free: 6.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.735, allocations: 4 kB / 0.517 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003189/0.7382, allocations: 1.101 MB / 0.5181 GB, free: 5.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.7382, allocations: 8 kB / 0.5181 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.74, allocations: 388.5 kB / 0.5185 GB, free: 5.004 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009248/0.741, allocations: 171.8 kB / 0.5186 GB, free: 4.836 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00988/0.7509, allocations: 4.597 MB / 0.5231 GB, free: 104 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008307/0.7517, allocations: 31.89 kB / 0.5231 GB, free: 72 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/0.7518, allocations: 40 kB / 0.5232 GB, free: 32 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.2582/1.01, allocations: 150.9 kB / 0.5233 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/1.01, allocations: 85.88 kB / 0.5234 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/1.012, allocations: 0.8448 MB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.012, allocations: 8.906 kB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.012, allocations: 5.625 kB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.012, allocations: 4.641 kB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004211/1.017, allocations: 1.788 MB / 0.526 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.017, allocations: 1.625 kB / 0.526 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.018, allocations: 164.8 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/1.018, allocations: 3.344 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/1.018, allocations: 17.06 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.815e-06/1.018, allocations: 3.844 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.61e-06/1.018, allocations: 3.656 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00231/1.02, allocations: 1.252 MB / 0.5274 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000455/1.021, allocations: 214.2 kB / 0.5276 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/1.021, allocations: 15.81 kB / 0.5276 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/1.022, allocations: 25.78 kB / 0.5276 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.022, allocations: 49.66 kB / 0.5277 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/1.022, allocations: 19.31 kB / 0.5277 GB, free: 123.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008539/1.023, allocations: 474.3 kB / 0.5282 GB, free: 123.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.13e-07/1.023, allocations: 0 / 0.5282 GB, free: 123.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001905/1.025, allocations: 422.4 kB / 0.5286 GB, free: 123.7 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.0003441/1.025, allocations: 203.7 kB / 0.5288 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004/1.029, allocations: 1.521 MB / 0.5302 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.836e-06/1.029, allocations: 0 / 0.5302 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007554/1.03, allocations: 327.8 kB / 0.5306 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/1.031, allocations: 213.3 kB / 0.5308 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/1.036, allocations: 1.945 MB / 0.5327 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/1.037, allocations: 1.198 MB / 0.5338 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001678/1.039, allocations: 309.5 kB / 0.5341 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/1.039, allocations: 60.56 kB / 0.5342 GB, free: 122.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.822e-06/1.039, allocations: 0 / 0.5342 GB, free: 122.2 MB / 458.7 MB Notification: Performance of Templates: time 0.0401/1.079, allocations: 16.34 MB / 0.5501 GB, free: 121.3 MB / 458.7 MB