Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadModel(PowerSystems): time 2.225/2.225, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.588e-05, allocations: 7.938 kB / 301.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.08964, allocations: 53.23 MB / 354.5 MB, free: 2.625 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4036/0.4933, allocations: 89.09 MB / 443.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4936, allocations: 83.95 kB / 443.7 MB, free: 12.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.5178, allocations: 6.12 MB / 449.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5178, allocations: 0 / 449.8 MB, free: 6.742 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.359e-05/0.5179, allocations: 7.938 kB / 449.8 MB, free: 6.734 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.0007924/0.5187, allocations: 0.4994 MB / 450.3 MB, free: 6.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.5187, allocations: 12.03 kB / 450.3 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.032e-05/0.5188, allocations: 27.62 kB / 450.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002404/0.5212, allocations: 0.7525 MB / 451.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.5213, allocations: 12.44 kB / 451.1 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.9e-05/0.5214, allocations: 20.52 kB / 451.1 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.5219, allocations: 269.3 kB / 451.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.5219, allocations: 0 / 451.4 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.251e-05/0.5219, allocations: 11.95 kB / 451.4 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-06/0.522, allocations: 4 kB / 451.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.5223, allocations: 147.9 kB / 451.5 MB, free: 4.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.524, allocations: 1.176 MB / 452.7 MB, free: 3.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.5242, allocations: 77.22 kB / 452.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.5243, allocations: 33.84 kB / 452.8 MB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.5243, allocations: 0 / 452.8 MB, free: 3.473 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.5243, allocations: 30.56 kB / 452.9 MB, free: 3.434 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.989e-06/0.5244, allocations: 0 / 452.9 MB, free: 3.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008114/0.5252, allocations: 402.1 kB / 453.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.5253, allocations: 81.11 kB / 453.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.5256, allocations: 218.8 kB / 453.5 MB, free: 2.668 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5256, allocations: 27.3 kB / 453.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.5258, allocations: 246.1 kB / 453.8 MB, free: 2.395 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.5258, allocations: 27.64 kB / 453.8 MB, free: 2.367 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-06/0.5258, allocations: 0 / 453.8 MB, free: 2.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.526, allocations: 322.9 kB / 454.2 MB, free: 2.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.151e-05/0.5261, allocations: 24.38 kB / 454.2 MB, free: 2.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.5262, allocations: 121.3 kB / 454.3 MB, free: 1.855 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.5264, allocations: 51.92 kB / 454.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.723e-06/0.5264, allocations: 0 / 454.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003485/0.5267, allocations: 161.7 kB / 454.5 MB, free: 1.641 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.5268, allocations: 12.09 kB / 454.5 MB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.5268, allocations: 4 kB / 454.5 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5268, allocations: 4 kB / 454.5 MB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.527, allocations: 47.86 kB / 454.6 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.527, allocations: 4 kB / 454.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5272, allocations: 12 kB / 454.6 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.5272, allocations: 8 kB / 454.6 MB, free: 1.551 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 9.718e-05/0.5273, allocations: 117.4 kB / 454.7 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.793e-05/0.5274, allocations: 23.72 kB / 454.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.5276, allocations: 91.5 kB / 454.8 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-06/0.5277, allocations: 4 kB / 454.8 MB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.404e-06/0.5277, allocations: 3.953 kB / 454.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.305e-06/0.5277, allocations: 0 / 454.8 MB, free: 1.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.5283, allocations: 416.7 kB / 455.2 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.5283, allocations: 256 / 455.2 MB, free: 0.8359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.5285, allocations: 23.98 kB / 455.3 MB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.307e-06/0.5285, allocations: 8.031 kB / 455.3 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5285, allocations: 3.953 kB / 455.3 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.858e-06/0.5285, allocations: 0 / 455.3 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-06/0.5286, allocations: 7.938 kB / 455.3 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.5289, allocations: 257.3 kB / 455.5 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.529, allocations: 88.95 kB / 455.6 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.5291, allocations: 8 kB / 455.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.5292, allocations: 0 / 455.6 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.5292, allocations: 7.984 kB / 455.6 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.1e-06/0.5292, allocations: 0 / 455.6 MB, free: 396 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002216/0.5295, allocations: 167.1 kB / 455.8 MB, free: 228 kB / 378.7 MB Notification: Performance of sort global known variables: time 8e-07/0.5295, allocations: 0 / 455.8 MB, free: 228 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.5299, allocations: 40 kB / 455.8 MB, free: 188 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.0001401/0.5301, allocations: 107.3 kB / 455.9 MB, free: 68 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.5303, allocations: 81.25 kB / 456 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.404e-06/0.5303, allocations: 0 / 456 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.5304, allocations: 27.94 kB / 456 MB, free: 15.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.5309, allocations: 56.27 kB / 456.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.5317, allocations: 377.3 kB / 456.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004598/0.5322, allocations: 0.7677 MB / 457.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.5322, allocations: 19.44 kB / 457.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5322, allocations: 0 / 457.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of Templates: time 0.00539/0.5376, allocations: 2.567 MB / 459.8 MB, free: 12.13 MB / 394.7 MB