Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadModel(PowerSystems): time 2.396/2.396, allocations: 233 MB / 246.1 MB, free: 15.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.009e-05, allocations: 4 kB / 302.2 MB, free: 7.699 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09594/0.09599, allocations: 53.24 MB / 355.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4709, allocations: 89.09 MB / 444.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4712, allocations: 83.95 kB / 444.6 MB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.4964, allocations: 6.128 MB / 450.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.939e-06/0.4964, allocations: 0 / 450.7 MB, free: 6.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.496e-05/0.4965, allocations: 8 kB / 450.7 MB, free: 6.559 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008875/0.4974, allocations: 0.5 MB / 451.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4974, allocations: 8.031 kB / 451.3 MB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.4975, allocations: 31.62 kB / 451.3 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.5001, allocations: 0.7403 MB / 452 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.5002, allocations: 12.44 kB / 452 MB, free: 5.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/0.5003, allocations: 24 kB / 452.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.5008, allocations: 265.5 kB / 452.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5008, allocations: 4.344 kB / 452.3 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.23e-05/0.5009, allocations: 7.953 kB / 452.3 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.5009, allocations: 8 kB / 452.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.5013, allocations: 151.8 kB / 452.5 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.5031, allocations: 1.177 MB / 453.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.5033, allocations: 77.17 kB / 453.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.5034, allocations: 33.89 kB / 453.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.5034, allocations: 0 / 453.8 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.5034, allocations: 42.5 kB / 453.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.276e-06/0.5035, allocations: 1.688 kB / 453.8 MB, free: 3.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008813/0.5044, allocations: 396.8 kB / 454.2 MB, free: 2.809 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.5044, allocations: 77.11 kB / 454.3 MB, free: 2.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.5048, allocations: 226.7 kB / 454.5 MB, free: 2.484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.5048, allocations: 25.7 kB / 454.5 MB, free: 2.453 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.505, allocations: 187.6 kB / 454.7 MB, free: 2.266 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.505, allocations: 27.64 kB / 454.7 MB, free: 2.238 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.056e-05/0.5051, allocations: 4 kB / 454.7 MB, free: 2.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.5052, allocations: 330.9 kB / 455.1 MB, free: 1.902 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.5053, allocations: 28.38 kB / 455.1 MB, free: 1.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.5055, allocations: 113.4 kB / 455.2 MB, free: 1.719 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.5056, allocations: 52.05 kB / 455.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.5057, allocations: 0 / 455.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003778/0.506, allocations: 169.5 kB / 455.4 MB, free: 1.496 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5061, allocations: 12 kB / 455.4 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5061, allocations: 7.984 kB / 455.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.5061, allocations: 4 kB / 455.4 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5064, allocations: 43.92 kB / 455.5 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.5064, allocations: 13.2 kB / 455.5 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.5066, allocations: 4 kB / 455.5 MB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5066, allocations: 12 kB / 455.5 MB, free: 1.402 MB / 378.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 (22): * Single equations (assignments): 22 * 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.000107/0.5067, allocations: 119.6 kB / 455.6 MB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.286e-05/0.5068, allocations: 23.81 kB / 455.6 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.507, allocations: 95.41 kB / 455.7 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.5071, allocations: 4 kB / 455.7 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.684e-06/0.5071, allocations: 0 / 455.7 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.069e-06/0.5071, allocations: 3.953 kB / 455.8 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006514/0.5078, allocations: 415.3 kB / 456.2 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-06/0.5078, allocations: 0 / 456.2 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.5079, allocations: 15.98 kB / 456.2 MB, free: 0.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-06/0.508, allocations: 8.031 kB / 456.2 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.508, allocations: 4 kB / 456.2 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.88e-06/0.508, allocations: 7.891 kB / 456.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.018e-06/0.508, allocations: 4 kB / 456.2 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.5084, allocations: 244.5 kB / 456.4 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.5085, allocations: 96.78 kB / 456.5 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.5085, allocations: 0 / 456.5 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5087, allocations: 4 kB / 456.5 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.5087, allocations: 15.92 kB / 456.5 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5087, allocations: 4.188 kB / 456.6 MB, free: 240 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002155/0.509, allocations: 167.1 kB / 456.7 MB, free: 72 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-07/0.509, allocations: 0 / 456.7 MB, free: 72 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000456/0.5094, allocations: 40 kB / 456.8 MB, free: 32 kB / 378.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 (9): * Single equations (assignments): 8 * 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.0001748/0.5096, allocations: 107.3 kB / 456.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.5099, allocations: 75.88 kB / 456.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.801e-06/0.5099, allocations: 0 / 456.9 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.51, allocations: 27.92 kB / 457 MB, free: 15.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.5104, allocations: 65.47 kB / 457 MB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008313/0.5113, allocations: 315.8 kB / 457.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.5118, allocations: 0.7716 MB / 458.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.5119, allocations: 34 kB / 458.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.512, allocations: 19.44 kB / 458.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.605e-06/0.512, allocations: 96 / 458.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of Templates: time 0.006626/0.5187, allocations: 1.612 MB / 459.8 MB, free: 12.97 MB / 394.7 MB