Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadModel(PowerSystems): time 2.31/2.31, allocations: 233 MB / 246.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.539e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09615/0.09623, allocations: 53.23 MB / 355.4 MB, free: 2.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5196, allocations: 90.16 MB / 445.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.5199, allocations: 83.95 kB / 445.7 MB, free: 11.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03163/0.5515, allocations: 7.381 MB / 453.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.915e-06/0.5516, allocations: 0 / 453.1 MB, free: 4.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.792e-05/0.5516, allocations: 4 kB / 453.1 MB, free: 4.078 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001026/0.5527, allocations: 0.5783 MB / 453.6 MB, free: 3.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5527, allocations: 8.031 kB / 453.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.5528, allocations: 39.53 kB / 453.7 MB, free: 3.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.5555, allocations: 0.7947 MB / 454.5 MB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.5556, allocations: 20.55 kB / 454.5 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.5557, allocations: 32.52 kB / 454.5 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.5563, allocations: 328 kB / 454.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5564, allocations: 4 kB / 454.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.5564, allocations: 19.92 kB / 454.9 MB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.5565, allocations: 10.16 kB / 454.9 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006497/0.5571, allocations: 225 kB / 455.1 MB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.5617, allocations: 1.364 MB / 456.5 MB, free: 480 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/0.5626, allocations: 165 kB / 456.6 MB, free: 296 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.5632, allocations: 101.7 kB / 456.7 MB, free: 188 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.5633, allocations: 4 kB / 456.7 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.038e-05/0.5634, allocations: 38.75 kB / 456.8 MB, free: 136 kB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 5.292e-06/0.5634, allocations: 0 / 456.8 MB, free: 136 kB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.002868/0.5663, allocations: 0.601 MB / 457.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.5665, allocations: 81.11 kB / 457.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/0.5673, allocations: 266.6 kB / 457.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.5674, allocations: 25.7 kB / 457.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003739/0.5678, allocations: 215.7 kB / 457.9 MB, free: 14.87 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.5679, allocations: 55.28 kB / 458 MB, free: 14.81 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.568, allocations: 4 kB / 458 MB, free: 14.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000321/0.5683, allocations: 342.8 kB / 458.3 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/0.5687, allocations: 59.98 kB / 458.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.5692, allocations: 160.8 kB / 458.6 MB, free: 14.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/0.5697, allocations: 87.91 kB / 458.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5698, allocations: 0 / 458.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001527/0.5713, allocations: 306 kB / 458.9 MB, free: 13.81 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5714, allocations: 4 kB / 458.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.5714, allocations: 4 kB / 458.9 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.5719, allocations: 54.03 kB / 459 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/0.5725, allocations: 43.92 kB / 459 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.5758, allocations: 1.456 MB / 460.5 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.5763, allocations: 11.98 kB / 460.5 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/0.5764, allocations: 11.98 kB / 460.5 MB, free: 12.09 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 (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.5767, allocations: 128.9 kB / 460.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.5769, allocations: 27.72 kB / 460.7 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.5781, allocations: 221.1 kB / 460.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.5782, allocations: 4 kB / 460.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.438e-06/0.5782, allocations: 0 / 460.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.5782, allocations: 3.953 kB / 460.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.5808, allocations: 0.6184 MB / 461.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.138e-06/0.5808, allocations: 7.969 kB / 461.5 MB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.5812, allocations: 25.02 kB / 461.5 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005275/0.5818, allocations: 60.66 kB / 461.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.5818, allocations: 7.938 kB / 461.6 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.5852, allocations: 1.464 MB / 463.1 MB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.843e-06/0.5852, allocations: 4.031 kB / 463.1 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.5868, allocations: 411 kB / 463.5 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002183/0.5871, allocations: 96.83 kB / 463.6 MB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5872, allocations: 11.98 kB / 463.6 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.5877, allocations: 0 / 463.6 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.5878, allocations: 23.81 kB / 463.6 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.5879, allocations: 4 kB / 463.6 MB, free: 8.727 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006261/0.5885, allocations: 215.6 kB / 463.8 MB, free: 8.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.408e-06/0.5885, allocations: 0 / 463.8 MB, free: 8.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001328/0.5899, allocations: 72 kB / 463.9 MB, free: 8.445 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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): 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000322/0.5902, allocations: 107.2 kB / 464 MB, free: 8.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.5915, allocations: 270.2 kB / 464.3 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.905e-06/0.5915, allocations: 128 / 464.3 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008871/0.5924, allocations: 189.7 kB / 464.5 MB, free: 7.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5935, allocations: 62.36 kB / 464.5 MB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.596, allocations: 0.5253 MB / 465 MB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009279/0.5969, allocations: 0.8184 MB / 465.9 MB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000397/0.5973, allocations: 42.95 kB / 465.9 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.5975, allocations: 19.44 kB / 465.9 MB, free: 6.344 MB / 394.7 MB Notification: Performance of SimCode: time 1.957e-06/0.5975, allocations: 0 / 465.9 MB, free: 6.344 MB / 394.7 MB Notification: Performance of Templates: time 0.01478/0.6123, allocations: 2.685 MB / 468.6 MB, free: 3.672 MB / 394.7 MB