Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadModel(PowerSystems): time 2.392/2.392, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.449e-05, allocations: 4 kB / 302.2 MB, free: 7.484 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1329, allocations: 53.24 MB / 355.4 MB, free: 2.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.5049, allocations: 89.71 MB / 445.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5052, allocations: 84.58 kB / 445.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0277/0.533, allocations: 6.608 MB / 451.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.149e-06/0.533, allocations: 0 / 451.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.533, allocations: 11.94 kB / 451.9 MB, free: 5.32 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009648/0.534, allocations: 0.5258 MB / 452.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5341, allocations: 8.031 kB / 452.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.5342, allocations: 39.52 kB / 452.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.5369, allocations: 0.7592 MB / 453.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.5369, allocations: 12.44 kB / 453.2 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.537, allocations: 24.52 kB / 453.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.5376, allocations: 282.3 kB / 453.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.5376, allocations: 0 / 453.5 MB, free: 3.562 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.5377, allocations: 19.94 kB / 453.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.5377, allocations: 4 kB / 453.5 MB, free: 3.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.5381, allocations: 172.6 kB / 453.7 MB, free: 3.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.54, allocations: 1.217 MB / 454.9 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.5404, allocations: 113.2 kB / 455 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.5405, allocations: 41.78 kB / 455.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.5405, allocations: 0.5625 kB / 455.1 MB, free: 1.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.5406, allocations: 42.61 kB / 455.1 MB, free: 1.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.288e-06/0.5406, allocations: 4 kB / 455.1 MB, free: 1.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001/0.5416, allocations: 463.6 kB / 455.6 MB, free: 1.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.5417, allocations: 81.11 kB / 455.6 MB, free: 1.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.542, allocations: 211.1 kB / 455.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.542, allocations: 29.7 kB / 455.9 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.5422, allocations: 199.5 kB / 456.1 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.5423, allocations: 39.45 kB / 456.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.5423, allocations: 0 / 456.1 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.5425, allocations: 342.8 kB / 456.4 MB, free: 412 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.484e-05/0.5426, allocations: 28 kB / 456.5 MB, free: 384 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.5428, allocations: 124.9 kB / 456.6 MB, free: 212 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.5429, allocations: 59.91 kB / 456.6 MB, free: 152 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-06/0.5429, allocations: 0 / 456.6 MB, free: 152 kB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004464/0.5434, allocations: 190.3 kB / 456.8 MB, free: 15.95 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5434, allocations: 16.03 kB / 456.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.5434, allocations: 8 kB / 456.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.5435, allocations: 9.828 kB / 456.9 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.5437, allocations: 47.92 kB / 456.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.5438, allocations: 4 kB / 456.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.5439, allocations: 4 kB / 456.9 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.544, allocations: 15.98 kB / 456.9 MB, free: 15.86 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 (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001102/0.5441, allocations: 116.9 kB / 457 MB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.5442, allocations: 27.72 kB / 457.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.5445, allocations: 135.4 kB / 457.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-06/0.5446, allocations: 0 / 457.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.408e-06/0.5446, allocations: 3.953 kB / 457.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.644e-06/0.5446, allocations: 0 / 457.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007866/0.5454, allocations: 471.3 kB / 457.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5454, allocations: 0 / 457.7 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.5456, allocations: 27.92 kB / 457.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.543e-06/0.5456, allocations: 7.969 kB / 457.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.5457, allocations: 7.953 kB / 457.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.495e-06/0.5457, allocations: 0 / 457.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.084e-06/0.5457, allocations: 0 / 457.7 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.5462, allocations: 305.5 kB / 458 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.5463, allocations: 96.86 kB / 458.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.5463, allocations: 0.5625 kB / 458.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.5465, allocations: 8 kB / 458.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.5465, allocations: 11.92 kB / 458.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.5465, allocations: 0 / 458.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002172/0.5468, allocations: 171.1 kB / 458.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.5468, allocations: 0 / 458.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004764/0.5473, allocations: 47.94 kB / 458.3 MB, free: 14.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001702/0.5475, allocations: 119.3 kB / 458.5 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003069/0.5478, allocations: 100.6 kB / 458.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.689e-06/0.5478, allocations: 7.938 kB / 458.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.5479, allocations: 32.66 kB / 458.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.5484, allocations: 57.47 kB / 458.7 MB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.5494, allocations: 368.5 kB / 459 MB, free: 13.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.5499, allocations: 0.7794 MB / 459.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.5501, allocations: 30.06 kB / 459.8 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.5501, allocations: 19.44 kB / 459.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.679e-06/0.5502, allocations: 0 / 459.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of Templates: time 0.007207/0.5574, allocations: 1.847 MB / 461.7 MB, free: 10.94 MB / 394.7 MB