Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadModel(PowerSystems): time 2.335/2.335, allocations: 233 MB / 246.1 MB, free: 14.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.108e-05, allocations: 7.938 kB / 302.2 MB, free: 7.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.09182, allocations: 53.24 MB / 355.4 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3747/0.4666, allocations: 95.85 MB / 451.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4669, allocations: 87.94 kB / 451.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07722/0.5441, allocations: 12.52 MB / 463.9 MB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.988e-06/0.5442, allocations: 0 / 463.9 MB, free: 9.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.248e-05/0.5443, allocations: 8 kB / 463.9 MB, free: 9.172 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002069/0.5464, allocations: 0.6747 MB / 464.6 MB, free: 8.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5465, allocations: 8.031 kB / 464.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007722/0.5472, allocations: 95.36 kB / 464.7 MB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/0.5503, allocations: 0.838 MB / 465.5 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/0.5504, allocations: 36.97 kB / 465.6 MB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5505, allocations: 40 kB / 465.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.5518, allocations: 0.6114 MB / 466.2 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.5518, allocations: 4 kB / 466.2 MB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.5519, allocations: 16 kB / 466.2 MB, free: 6.699 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.385e-05/0.552, allocations: 36.7 kB / 466.3 MB, free: 6.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009486/0.553, allocations: 425.2 kB / 466.7 MB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.5576, allocations: 2.929 MB / 469.6 MB, free: 3.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.5581, allocations: 185.1 kB / 469.8 MB, free: 2.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.5584, allocations: 133.7 kB / 469.9 MB, free: 2.836 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.5585, allocations: 4 kB / 469.9 MB, free: 2.832 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.5585, allocations: 34.56 kB / 470 MB, free: 2.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 4.303e-06/0.5585, allocations: 8 kB / 470 MB, free: 2.781 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001965/0.5605, allocations: 0.8527 MB / 470.8 MB, free: 1.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.5606, allocations: 85.42 kB / 470.9 MB, free: 1.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.561, allocations: 290.6 kB / 471.2 MB, free: 1.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.5611, allocations: 29.7 kB / 471.2 MB, free: 1.445 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.5614, allocations: 291.7 kB / 471.5 MB, free: 1.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.5615, allocations: 98.7 kB / 471.6 MB, free: 1.059 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.5615, allocations: 8 kB / 471.6 MB, free: 1.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.5617, allocations: 346.8 kB / 471.9 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.562, allocations: 136.8 kB / 472.1 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/0.5625, allocations: 324.3 kB / 472.4 MB, free: 172 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.563, allocations: 212.1 kB / 472.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.584e-06/0.563, allocations: 0 / 472.6 MB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001413/0.5644, allocations: 0.5551 MB / 473.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.5644, allocations: 8 kB / 473.2 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008036/0.5653, allocations: 329.1 kB / 473.5 MB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004342/0.5657, allocations: 80.8 kB / 473.6 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.5662, allocations: 91.81 kB / 473.6 MB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.5683, allocations: 1.59 MB / 475.2 MB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.5688, allocations: 23.98 kB / 475.3 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.5688, allocations: 20 kB / 475.3 MB, free: 13.13 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.569, allocations: 132.8 kB / 475.4 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.193e-05/0.5691, allocations: 35.56 kB / 475.4 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.5699, allocations: 344.5 kB / 475.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.57, allocations: 4 kB / 475.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.078e-06/0.57, allocations: 4 kB / 475.8 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.57, allocations: 3.984 kB / 475.8 MB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.572, allocations: 0.8566 MB / 476.6 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.125e-06/0.572, allocations: 4.031 kB / 476.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.5725, allocations: 59.91 kB / 476.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.5725, allocations: 4 kB / 476.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.5726, allocations: 11.98 kB / 476.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-06/0.5726, allocations: 4 kB / 476.7 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.629e-06/0.5726, allocations: 0 / 476.7 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5737, allocations: 0.5844 MB / 477.3 MB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.5738, allocations: 112.7 kB / 477.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.5739, allocations: 0 / 477.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.5742, allocations: 15.98 kB / 477.4 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.5743, allocations: 27.86 kB / 477.5 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.5743, allocations: 12 kB / 477.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.5746, allocations: 218.2 kB / 477.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5746, allocations: 0 / 477.7 MB, free: 10.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007241/0.5754, allocations: 112 kB / 477.8 MB, free: 10.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0002277/0.5756, allocations: 131.3 kB / 477.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.5767, allocations: 470.4 kB / 478.4 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5767, allocations: 0.8438 kB / 478.4 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.577, allocations: 135.8 kB / 478.5 MB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.5775, allocations: 55.05 kB / 478.6 MB, free: 9.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.5793, allocations: 0.7807 MB / 479.4 MB, free: 8.867 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.58, allocations: 0.8776 MB / 480.2 MB, free: 7.957 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000451/0.5805, allocations: 111.2 kB / 480.3 MB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.5806, allocations: 27.44 kB / 480.4 MB, free: 7.816 MB / 410.7 MB Notification: Performance of SimCode: time 1.576e-06/0.5806, allocations: 0 / 480.4 MB, free: 7.816 MB / 410.7 MB Notification: Performance of Templates: time 0.01159/0.5922, allocations: 3.416 MB / 483.8 MB, free: 4.414 MB / 410.7 MB