Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadModel(PowerSystems): time 2.295/2.295, allocations: 233 MB / 246.1 MB, free: 14.96 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.536e-05, allocations: 4 kB / 302.2 MB, free: 7.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09348/0.09354, allocations: 53.24 MB / 355.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.4773, allocations: 96.3 MB / 451.7 MB, free: 5.586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.4776, allocations: 83.95 kB / 451.8 MB, free: 5.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06503/0.5427, allocations: 15.03 MB / 466.9 MB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.167e-06/0.5427, allocations: 0 / 466.9 MB, free: 6.316 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.5428, allocations: 11.94 kB / 466.9 MB, free: 6.305 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001509/0.5443, allocations: 0.6716 MB / 467.5 MB, free: 5.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.5443, allocations: 8.031 kB / 467.5 MB, free: 5.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008188/0.5452, allocations: 87.38 kB / 467.6 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.5485, allocations: 0.8564 MB / 468.5 MB, free: 4.594 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.712e-05/0.5486, allocations: 32.77 kB / 468.5 MB, free: 4.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.5487, allocations: 39.89 kB / 468.6 MB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001442/0.5501, allocations: 0.6577 MB / 469.2 MB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.5502, allocations: 4 kB / 469.2 MB, free: 3.824 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.995e-05/0.5503, allocations: 15.98 kB / 469.2 MB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.5505, allocations: 60.73 kB / 469.3 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.5519, allocations: 0.6185 MB / 469.9 MB, free: 3.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.5566, allocations: 2.542 MB / 472.5 MB, free: 460 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007111/0.5574, allocations: 317.3 kB / 472.8 MB, free: 124 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.5579, allocations: 229.8 kB / 473 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.668e-05/0.5579, allocations: 7.938 kB / 473 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.558, allocations: 42.48 kB / 473 MB, free: 15.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 4.162e-06/0.558, allocations: 0 / 473 MB, free: 15.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002668/0.5607, allocations: 1.216 MB / 474.3 MB, free: 14.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.5608, allocations: 85.14 kB / 474.3 MB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.5612, allocations: 239.5 kB / 474.6 MB, free: 14.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.5613, allocations: 29.7 kB / 474.6 MB, free: 14.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.5615, allocations: 243.7 kB / 474.8 MB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5617, allocations: 145.9 kB / 475 MB, free: 13.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.462e-05/0.5617, allocations: 11.98 kB / 475 MB, free: 13.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.5619, allocations: 342.8 kB / 475.3 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.5623, allocations: 204.9 kB / 475.5 MB, free: 13.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/0.5628, allocations: 322.3 kB / 475.8 MB, free: 12.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000517/0.5634, allocations: 261.1 kB / 476.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.191e-06/0.5634, allocations: 0 / 476.1 MB, free: 12.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001686/0.5651, allocations: 0.6819 MB / 476.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.5651, allocations: 11.95 kB / 476.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001201/0.5664, allocations: 0.5112 MB / 477.3 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.5669, allocations: 117.5 kB / 477.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.5674, allocations: 84.12 kB / 477.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.5711, allocations: 3.007 MB / 480.5 MB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004219/0.5716, allocations: 31.95 kB / 480.5 MB, free: 7.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.5717, allocations: 20.06 kB / 480.6 MB, free: 7.879 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.5718, allocations: 125.9 kB / 480.7 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.572, allocations: 31.62 kB / 480.7 MB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5731, allocations: 0.512 MB / 481.2 MB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/0.5732, allocations: 15.95 kB / 481.2 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-06/0.5732, allocations: 0 / 481.2 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.04e-06/0.5732, allocations: 7.984 kB / 481.2 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.5755, allocations: 1.078 MB / 482.3 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.804e-06/0.5755, allocations: 7.938 kB / 482.3 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005823/0.5761, allocations: 75.88 kB / 482.4 MB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.5762, allocations: 4 kB / 482.4 MB, free: 5.953 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.5762, allocations: 11.98 kB / 482.4 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.5762, allocations: 64 / 482.4 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5762, allocations: 4 kB / 482.4 MB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.5778, allocations: 0.8522 MB / 483.3 MB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002551/0.5781, allocations: 144.6 kB / 483.4 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.204e-05/0.5781, allocations: 7.984 kB / 483.4 MB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.5785, allocations: 23.97 kB / 483.5 MB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.5785, allocations: 20.16 kB / 483.5 MB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.5786, allocations: 12 kB / 483.5 MB, free: 4.816 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002888/0.5789, allocations: 195.1 kB / 483.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.93e-07/0.5789, allocations: 0 / 483.7 MB, free: 4.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007626/0.5797, allocations: 131.9 kB / 483.8 MB, free: 4.492 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 (31): * Single equations (assignments): 27 * Array equations: 3 * 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.0003066/0.58, allocations: 161.4 kB / 484 MB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.5815, allocations: 0.719 MB / 484.7 MB, free: 3.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.306e-06/0.5815, allocations: 4.938 kB / 484.7 MB, free: 3.582 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.582, allocations: 232.2 kB / 484.9 MB, free: 3.355 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.5825, allocations: 55.56 kB / 485 MB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5845, allocations: 0.9047 MB / 485.9 MB, free: 2.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.5852, allocations: 0.8904 MB / 486.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004986/0.5858, allocations: 107.2 kB / 486.9 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.5859, allocations: 35.44 kB / 486.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of SimCode: time 1.659e-06/0.5859, allocations: 0 / 486.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of Templates: time 0.01334/0.5993, allocations: 4.12 MB / 491 MB, free: 13.21 MB / 426.7 MB