Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.LocalGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.LocalGeneration") Notification: Performance of loadModel(PowerSystems): time 2.18/2.18, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.374e-05, allocations: 4 kB / 302.2 MB, free: 7.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 53.24 MB / 355.4 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5299/0.6604, allocations: 116.2 MB / 471.6 MB, free: 1.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.6607, allocations: 91.94 kB / 471.7 MB, free: 1.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.141/0.8017, allocations: 34.8 MB / 0.4946 GB, free: 14.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.086e-06/0.8018, allocations: 0 / 0.4946 GB, free: 14.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.885e-05/0.8019, allocations: 31.94 kB / 0.4947 GB, free: 14.38 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.003238/0.8051, allocations: 1.303 MB / 0.496 GB, free: 13.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.8052, allocations: 12.03 kB / 0.496 GB, free: 13.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.8059, allocations: 154.8 kB / 0.4961 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.8099, allocations: 1.202 MB / 0.4973 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.804e-05/0.81, allocations: 74 kB / 0.4974 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004558/0.8105, allocations: 123.9 kB / 0.4975 GB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/0.8135, allocations: 1.26 MB / 0.4987 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/0.8136, allocations: 4 kB / 0.4987 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/0.8137, allocations: 43.98 kB / 0.4988 GB, free: 10.04 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001575/0.8139, allocations: 69.97 kB / 0.4988 GB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/0.8164, allocations: 0.9761 MB / 0.4998 GB, free: 8.996 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.009957/0.8264, allocations: 4.911 MB / 0.5046 GB, free: 3.855 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.8278, allocations: 0.6987 MB / 0.5052 GB, free: 3.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.8285, allocations: 320.3 kB / 0.5056 GB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-05/0.8286, allocations: 16.5 kB / 0.5056 GB, free: 2.773 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.8287, allocations: 43.11 kB / 0.5056 GB, free: 2.723 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 4.172e-06/0.8287, allocations: 0 / 0.5056 GB, free: 2.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=71): time 0.006776/0.8355, allocations: 2.681 MB / 0.5082 GB, free: 15.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.516e-05/0.8356, allocations: 111.4 kB / 0.5083 GB, free: 15.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.8367, allocations: 0.6018 MB / 0.5089 GB, free: 15.18 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.8368, allocations: 37.7 kB / 0.509 GB, free: 15.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005365/0.8374, allocations: 0.5416 MB / 0.5095 GB, free: 14.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.8377, allocations: 252.4 kB / 0.5097 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.8377, allocations: 20 kB / 0.5097 GB, free: 14.31 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8379, allocations: 341.9 kB / 0.5101 GB, free: 13.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006624/0.8386, allocations: 265.9 kB / 0.5103 GB, free: 13.71 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008811/0.8395, allocations: 0.4948 MB / 0.5108 GB, free: 13.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008404/0.8404, allocations: 373.8 kB / 0.5112 GB, free: 12.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.8404, allocations: 4 kB / 0.5112 GB, free: 12.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003484/0.8439, allocations: 1.21 MB / 0.5124 GB, free: 11.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001607/0.8455, allocations: 2.968 MB / 0.5153 GB, free: 8.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.8456, allocations: 11.98 kB / 0.5153 GB, free: 8.309 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/0.8475, allocations: 408.5 kB / 0.5157 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.8484, allocations: 163.8 kB / 0.5158 GB, free: 7.746 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.8505, allocations: 1.146 MB / 0.5169 GB, free: 6.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008228/0.8513, allocations: 47.83 kB / 0.517 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.8514, allocations: 35.98 kB / 0.517 GB, free: 6.492 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.8515, allocations: 5.719 kB / 0.517 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003175/0.8546, allocations: 1.096 MB / 0.5181 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.8547, allocations: 8 kB / 0.5181 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.8565, allocations: 396.7 kB / 0.5185 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008816/0.8574, allocations: 155.8 kB / 0.5186 GB, free: 4.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009829/0.8672, allocations: 4.601 MB / 0.5231 GB, free: 100 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.8681, allocations: 39.89 kB / 0.5232 GB, free: 60 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.8682, allocations: 36 kB / 0.5232 GB, free: 24 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.2461/1.114, allocations: 147.3 kB / 0.5233 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002724/1.115, allocations: 85.47 kB / 0.5234 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/1.117, allocations: 0.8435 MB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/1.117, allocations: 8.406 kB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.267e-06/1.117, allocations: 3.594 kB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/1.117, allocations: 5.203 kB / 0.5242 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/1.121, allocations: 1.786 MB / 0.526 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.879e-06/1.121, allocations: 1.094 kB / 0.526 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.122, allocations: 168.4 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/1.122, allocations: 4.375 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/1.122, allocations: 19.16 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1e-05/1.122, allocations: 4.094 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.831e-06/1.122, allocations: 3.266 kB / 0.5262 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/1.125, allocations: 1.254 MB / 0.5274 GB, free: 123.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/1.125, allocations: 213.5 kB / 0.5276 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.126, allocations: 15.66 kB / 0.5276 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/1.126, allocations: 25.55 kB / 0.5276 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.126, allocations: 42.3 kB / 0.5277 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/1.126, allocations: 22.97 kB / 0.5277 GB, free: 123.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008394/1.127, allocations: 475.5 kB / 0.5282 GB, free: 123.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.127, allocations: 0.9375 kB / 0.5282 GB, free: 123.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001929/1.129, allocations: 418 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.0003726/1.13, allocations: 206.9 kB / 0.5288 GB, free: 123.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003956/1.134, allocations: 1.517 MB / 0.5302 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.134, allocations: 2.219 kB / 0.5302 GB, free: 123.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007591/1.134, allocations: 336.5 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.001403/1.136, allocations: 208.7 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.004539/1.14, allocations: 1.943 MB / 0.5327 GB, free: 122.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.141, allocations: 1.203 MB / 0.5338 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001725/1.143, allocations: 308.4 kB / 0.5341 GB, free: 122.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002604/1.144, allocations: 56.73 kB / 0.5342 GB, free: 122.2 MB / 458.7 MB Notification: Performance of SimCode: time 3.022e-06/1.144, allocations: 0 / 0.5342 GB, free: 122.2 MB / 458.7 MB Notification: Performance of Templates: time 0.04093/1.184, allocations: 16.33 MB / 0.5501 GB, free: 121.3 MB / 458.7 MB