Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadModel(PowerSystems): time 2.352/2.352, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.353e-05, allocations: 7.984 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 53.22 MB / 355.4 MB, free: 2.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4287/0.5376, allocations: 91.27 MB / 446.7 MB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.538, allocations: 91.94 kB / 446.8 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05316/0.5912, allocations: 12.44 MB / 459.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.433e-06/0.5912, allocations: 0 / 459.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.904e-05/0.5913, allocations: 8 kB / 459.2 MB, free: 13.84 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.001191/0.5925, allocations: 0.6131 MB / 459.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.5926, allocations: 16.03 kB / 459.9 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.5934, allocations: 91.36 kB / 460 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.5967, allocations: 0.8526 MB / 460.8 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.5968, allocations: 25.12 kB / 460.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.795e-05/0.5969, allocations: 35.95 kB / 460.9 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5979, allocations: 464.7 kB / 461.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.5979, allocations: 3.906 kB / 461.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.598, allocations: 12 kB / 461.3 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.488e-05/0.5981, allocations: 24.78 kB / 461.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007454/0.5988, allocations: 325.4 kB / 461.7 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.6021, allocations: 1.732 MB / 463.4 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000367/0.6025, allocations: 145.1 kB / 463.6 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.6027, allocations: 105.8 kB / 463.7 MB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.6028, allocations: 8 kB / 463.7 MB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.6028, allocations: 34.56 kB / 463.7 MB, free: 9.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 3.792e-06/0.6028, allocations: 0 / 463.7 MB, free: 9.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001707/0.6045, allocations: 0.7076 MB / 464.4 MB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.6046, allocations: 81.14 kB / 464.5 MB, free: 8.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/0.6051, allocations: 274.7 kB / 464.8 MB, free: 7.988 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.6051, allocations: 25.7 kB / 464.8 MB, free: 7.957 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6054, allocations: 259.4 kB / 465 MB, free: 7.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.6055, allocations: 67.09 kB / 465.1 MB, free: 7.629 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.6055, allocations: 4 kB / 465.1 MB, free: 7.625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.6057, allocations: 340.7 kB / 465.4 MB, free: 7.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.6059, allocations: 96.25 kB / 465.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002988/0.6062, allocations: 189.1 kB / 465.7 MB, free: 6.957 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002945/0.6066, allocations: 138.3 kB / 465.8 MB, free: 6.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.6066, allocations: 4 kB / 465.8 MB, free: 6.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001246/0.6078, allocations: 456.2 kB / 466.3 MB, free: 6.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.6079, allocations: 16.03 kB / 466.3 MB, free: 6.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007911/0.6087, allocations: 304.6 kB / 466.6 MB, free: 6.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.6094, allocations: 132.7 kB / 466.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003075/0.6097, allocations: 63.84 kB / 466.8 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/0.6134, allocations: 2.189 MB / 469 MB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000331/0.6137, allocations: 19.89 kB / 469 MB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.6138, allocations: 12 kB / 469 MB, free: 3.512 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.0001457/0.614, allocations: 128.9 kB / 469.1 MB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/0.6141, allocations: 27.67 kB / 469.2 MB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.6147, allocations: 263 kB / 469.4 MB, free: 3.082 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.562e-06/0.6147, allocations: 4 kB / 469.4 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-06/0.6148, allocations: 0 / 469.4 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6148, allocations: 0 / 469.4 MB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.6165, allocations: 0.7449 MB / 470.2 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.307e-06/0.6165, allocations: 0 / 470.2 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.6168, allocations: 31.98 kB / 470.2 MB, free: 2.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.617, allocations: 40.83 kB / 470.3 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.617, allocations: 0 / 470.3 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.129e-05/0.617, allocations: 11.92 kB / 470.3 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.6171, allocations: 0 / 470.3 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.6179, allocations: 478.6 kB / 470.7 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.6181, allocations: 104.8 kB / 470.8 MB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.144e-05/0.6182, allocations: 12 kB / 470.8 MB, free: 1.539 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.6184, allocations: 11.98 kB / 470.9 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/0.6185, allocations: 11.92 kB / 470.9 MB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.6185, allocations: 8 kB / 470.9 MB, free: 1.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003374/0.6188, allocations: 218.2 kB / 471.1 MB, free: 1.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.6189, allocations: 0 / 471.1 MB, free: 1.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000698/0.6196, allocations: 99.94 kB / 471.2 MB, free: 1.199 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.0002412/0.6198, allocations: 131.8 kB / 471.3 MB, free: 1.062 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009239/0.6208, allocations: 393.6 kB / 471.7 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.294e-06/0.6208, allocations: 0 / 471.7 MB, free: 0.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.6211, allocations: 173.9 kB / 471.9 MB, free: 488 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.6217, allocations: 57.89 kB / 471.9 MB, free: 428 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.6233, allocations: 0.6623 MB / 472.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/0.6239, allocations: 0.846 MB / 473.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.6242, allocations: 70.91 kB / 473.5 MB, free: 14.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.218e-05/0.6243, allocations: 23.44 kB / 473.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.937e-06/0.6243, allocations: 0 / 473.5 MB, free: 14.76 MB / 410.7 MB Notification: Performance of Templates: time 0.01227/0.6366, allocations: 3.799 MB / 477.3 MB, free: 10.97 MB / 410.7 MB