Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadModel(PowerSystems): time 2.139/2.139, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.377e-05/3.386e-05, allocations: 7.938 kB / 301.3 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08933, allocations: 53.24 MB / 354.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3628/0.4522, allocations: 91.25 MB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4525, allocations: 88.44 kB / 445.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05064/0.5032, allocations: 12.46 MB / 458.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.303e-06/0.5032, allocations: 0 / 458.3 MB, free: 14.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.987e-05/0.5033, allocations: 8 kB / 458.3 MB, free: 14.11 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.001106/0.5044, allocations: 0.6093 MB / 458.9 MB, free: 13.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.5044, allocations: 8.031 kB / 458.9 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007793/0.5052, allocations: 99.34 kB / 459 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002877/0.5081, allocations: 0.8487 MB / 459.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.5082, allocations: 25.11 kB / 459.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.141e-05/0.5083, allocations: 39.95 kB / 459.9 MB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.5093, allocations: 460.7 kB / 460.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.5093, allocations: 3.906 kB / 460.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-05/0.5094, allocations: 19.98 kB / 460.4 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.5094, allocations: 16.78 kB / 460.4 MB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007601/0.5102, allocations: 333.4 kB / 460.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.5132, allocations: 1.724 MB / 462.5 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.5135, allocations: 145.1 kB / 462.6 MB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.5138, allocations: 105.8 kB / 462.7 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5138, allocations: 0 / 462.7 MB, free: 9.453 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5139, allocations: 42.56 kB / 462.8 MB, free: 9.402 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.791e-06/0.5139, allocations: 0.6562 kB / 462.8 MB, free: 9.402 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001611/0.5155, allocations: 0.7044 MB / 463.5 MB, free: 8.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.5156, allocations: 85.03 kB / 463.5 MB, free: 8.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.516, allocations: 274.7 kB / 463.8 MB, free: 8.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.516, allocations: 33.73 kB / 463.8 MB, free: 8.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.5163, allocations: 301.8 kB / 464.1 MB, free: 7.926 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.5164, allocations: 71.09 kB / 464.2 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/0.5164, allocations: 4.562 kB / 464.2 MB, free: 7.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5166, allocations: 322.8 kB / 464.5 MB, free: 7.527 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.5168, allocations: 92.25 kB / 464.6 MB, free: 7.434 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000308/0.5171, allocations: 197.1 kB / 464.8 MB, free: 7.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002891/0.5174, allocations: 128.6 kB / 464.9 MB, free: 7.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5174, allocations: 0 / 464.9 MB, free: 7.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001164/0.5186, allocations: 445.7 kB / 465.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.5186, allocations: 11.94 kB / 465.4 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008127/0.5195, allocations: 304.7 kB / 465.7 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.5201, allocations: 132.7 kB / 465.8 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.5204, allocations: 55.91 kB / 465.9 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.524, allocations: 2.202 MB / 468.1 MB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.5243, allocations: 15.98 kB / 468.1 MB, free: 3.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.5243, allocations: 12 kB / 468.1 MB, free: 3.773 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.0001324/0.5245, allocations: 120.9 kB / 468.2 MB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.808e-05/0.5246, allocations: 39.56 kB / 468.3 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006065/0.5252, allocations: 259.4 kB / 468.5 MB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.492e-06/0.5252, allocations: 4 kB / 468.5 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-06/0.5252, allocations: 0 / 468.5 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.5253, allocations: 0 / 468.5 MB, free: 3.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.5269, allocations: 0.7505 MB / 469.3 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-06/0.5269, allocations: 0 / 469.3 MB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.5272, allocations: 31.98 kB / 469.3 MB, free: 2.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/0.5274, allocations: 36.83 kB / 469.3 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.5274, allocations: 8 kB / 469.3 MB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.5274, allocations: 7.938 kB / 469.3 MB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-06/0.5274, allocations: 0 / 469.3 MB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.5283, allocations: 478.2 kB / 469.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5284, allocations: 104.9 kB / 469.9 MB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.801e-05/0.5285, allocations: 4 kB / 469.9 MB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.5287, allocations: 15.98 kB / 469.9 MB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.5288, allocations: 7.984 kB / 469.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.5288, allocations: 4 kB / 469.9 MB, free: 1.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003186/0.5291, allocations: 222.2 kB / 470.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.5291, allocations: 3.938 kB / 470.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006617/0.5298, allocations: 96 kB / 470.3 MB, free: 1.461 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.0002324/0.53, allocations: 129.3 kB / 470.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008908/0.531, allocations: 400.1 kB / 470.8 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.531, allocations: 4.125 kB / 470.8 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.5313, allocations: 169.9 kB / 470.9 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.5318, allocations: 57.14 kB / 471 MB, free: 0.6797 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.5333, allocations: 0.7033 MB / 471.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.5339, allocations: 0.8539 MB / 472.6 MB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.534, allocations: 23.44 kB / 472.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.596e-06/0.534, allocations: 0 / 472.6 MB, free: 15.03 MB / 410.7 MB Notification: Performance of Templates: time 0.0102/0.5442, allocations: 5.621 MB / 478.2 MB, free: 9.406 MB / 410.7 MB