Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadModel(PowerSystems): time 2.289/2.289, allocations: 233 MB / 246.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.477e-05, allocations: 8 kB / 302.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09391/0.09396, allocations: 53.24 MB / 355.4 MB, free: 2.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.464, allocations: 91.26 MB / 446.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4643, allocations: 87.94 kB / 446.8 MB, free: 10.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05141/0.5158, allocations: 12.46 MB / 459.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.025e-06/0.5158, allocations: 0 / 459.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.635e-05/0.5159, allocations: 9.875 kB / 459.3 MB, free: 13.96 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001137/0.517, allocations: 0.6093 MB / 459.9 MB, free: 13.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.5171, allocations: 8.031 kB / 459.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/0.5179, allocations: 95.36 kB / 460 MB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.5209, allocations: 0.8526 MB / 460.8 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.521, allocations: 25.12 kB / 460.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.431e-05/0.5211, allocations: 35.95 kB / 460.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009709/0.5221, allocations: 456.7 kB / 461.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5221, allocations: 0 / 461.3 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.5222, allocations: 19.98 kB / 461.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-05/0.5223, allocations: 28.7 kB / 461.4 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.5233, allocations: 329.4 kB / 461.7 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.5285, allocations: 1.728 MB / 463.4 MB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005201/0.5291, allocations: 141.1 kB / 463.6 MB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/0.5294, allocations: 113.7 kB / 463.7 MB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.5295, allocations: 4 kB / 463.7 MB, free: 9.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.5296, allocations: 36.25 kB / 463.7 MB, free: 9.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 5.058e-06/0.5296, allocations: 0 / 463.7 MB, free: 9.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002641/0.5322, allocations: 0.6998 MB / 464.4 MB, free: 8.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.87e-05/0.5324, allocations: 89.05 kB / 464.5 MB, free: 8.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.533, allocations: 274.7 kB / 464.8 MB, free: 8.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.5331, allocations: 29.7 kB / 464.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.5335, allocations: 251.4 kB / 465 MB, free: 7.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.5336, allocations: 67.09 kB / 465.1 MB, free: 7.758 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.5337, allocations: 4 kB / 465.1 MB, free: 7.754 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.5339, allocations: 342.8 kB / 465.4 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.5343, allocations: 96.28 kB / 465.5 MB, free: 7.312 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.5349, allocations: 189.1 kB / 465.7 MB, free: 7.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.5354, allocations: 135.8 kB / 465.9 MB, free: 6.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.405e-06/0.5354, allocations: 0 / 465.9 MB, free: 6.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00215/0.5376, allocations: 468.2 kB / 466.3 MB, free: 6.488 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5377, allocations: 4 kB / 466.3 MB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008424/0.5385, allocations: 308.4 kB / 466.6 MB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.5392, allocations: 136.7 kB / 466.7 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.5395, allocations: 53.39 kB / 466.8 MB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.5432, allocations: 2.207 MB / 469 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.5436, allocations: 15.91 kB / 469 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.5436, allocations: 8 kB / 469 MB, free: 3.633 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.5438, allocations: 128.8 kB / 469.2 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.5439, allocations: 27.72 kB / 469.2 MB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.5445, allocations: 257.2 kB / 469.4 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.5446, allocations: 3.984 kB / 469.4 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.954e-06/0.5446, allocations: 4 kB / 469.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.838e-06/0.5446, allocations: 0 / 469.4 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.5463, allocations: 0.7428 MB / 470.2 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.232e-06/0.5463, allocations: 4.062 kB / 470.2 MB, free: 2.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.5467, allocations: 39.97 kB / 470.2 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001695/0.5468, allocations: 32.83 kB / 470.3 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/0.5469, allocations: 8 kB / 470.3 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.394e-06/0.5469, allocations: 0 / 470.3 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.79e-06/0.5469, allocations: 8.062 kB / 470.3 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/0.5482, allocations: 475.4 kB / 470.7 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002603/0.5485, allocations: 104.7 kB / 470.8 MB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.5486, allocations: 4 kB / 470.8 MB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/0.5492, allocations: 12.03 kB / 470.9 MB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.351e-05/0.5493, allocations: 11.98 kB / 470.9 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.5494, allocations: 7.938 kB / 470.9 MB, free: 1.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007028/0.5501, allocations: 222.1 kB / 471.1 MB, free: 1.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.294e-06/0.5501, allocations: 0 / 471.1 MB, free: 1.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001659/0.5518, allocations: 92 kB / 471.2 MB, free: 1.324 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004088/0.5523, allocations: 133 kB / 471.3 MB, free: 1.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.5542, allocations: 398.2 kB / 471.7 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.143e-06/0.5542, allocations: 0 / 471.7 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.5549, allocations: 177.9 kB / 471.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009796/0.5559, allocations: 57.89 kB / 471.9 MB, free: 0.5352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.5591, allocations: 0.6554 MB / 472.6 MB, free: 15.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.5604, allocations: 0.8499 MB / 473.4 MB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006608/0.5611, allocations: 66.91 kB / 473.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.5613, allocations: 23.44 kB / 473.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.904e-06/0.5613, allocations: 3.938 kB / 473.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of Templates: time 0.02385/0.5852, allocations: 3.795 MB / 477.3 MB, free: 11.1 MB / 410.7 MB