Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadModel(PowerSystems): time 2.176/2.176, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.924e-05/2.929e-05, allocations: 7.984 kB / 301.3 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08773/0.08777, allocations: 53.24 MB / 354.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5193, allocations: 96.3 MB / 450.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.5197, allocations: 83.95 kB / 450.9 MB, free: 5.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06202/0.5817, allocations: 15.03 MB / 465.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.578e-06/0.5817, allocations: 0 / 465.9 MB, free: 6.469 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.5818, allocations: 9.219 kB / 465.9 MB, free: 6.461 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.00143/0.5832, allocations: 0.6793 MB / 466.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5833, allocations: 8.031 kB / 466.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/0.584, allocations: 87.38 kB / 466.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.5868, allocations: 0.8564 MB / 467.6 MB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.5869, allocations: 24.78 kB / 467.6 MB, free: 4.719 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.587, allocations: 43.84 kB / 467.6 MB, free: 4.676 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5884, allocations: 0.6616 MB / 468.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.5884, allocations: 0 / 468.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/0.5885, allocations: 15.98 kB / 468.3 MB, free: 3.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001822/0.5887, allocations: 60.73 kB / 468.4 MB, free: 3.902 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.59, allocations: 0.6146 MB / 469 MB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004515/0.5945, allocations: 2.544 MB / 471.5 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.5952, allocations: 321.3 kB / 471.8 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/0.5956, allocations: 226.3 kB / 472 MB, free: 48 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.477e-05/0.5957, allocations: 7.984 kB / 472.1 MB, free: 40 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.671e-05/0.5958, allocations: 38.5 kB / 472.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.431e-06/0.5958, allocations: 0 / 472.1 MB, free: 15.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00251/0.5983, allocations: 1.224 MB / 473.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/0.5984, allocations: 81.11 kB / 473.4 MB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.5987, allocations: 239.5 kB / 473.6 MB, free: 14.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.5988, allocations: 29.7 kB / 473.7 MB, free: 14.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.599, allocations: 302.1 kB / 474 MB, free: 14.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.5992, allocations: 149.8 kB / 474.1 MB, free: 13.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.5992, allocations: 16.03 kB / 474.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5994, allocations: 326.8 kB / 474.4 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/0.5998, allocations: 200.9 kB / 474.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/0.6004, allocations: 321.8 kB / 474.9 MB, free: 13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.6009, allocations: 258.5 kB / 475.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.661e-06/0.6009, allocations: 0 / 475.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001608/0.6025, allocations: 0.6741 MB / 475.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6026, allocations: 7.953 kB / 475.9 MB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001188/0.6038, allocations: 0.5117 MB / 476.4 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005351/0.6043, allocations: 125.5 kB / 476.5 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.6048, allocations: 79.83 kB / 476.6 MB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003643/0.6084, allocations: 3.008 MB / 479.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.6088, allocations: 27.97 kB / 479.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.6089, allocations: 12 kB / 479.6 MB, free: 8.016 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.0001615/0.6091, allocations: 129.9 kB / 479.8 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/0.6092, allocations: 27.62 kB / 479.8 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.6103, allocations: 0.5198 MB / 480.3 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.254e-05/0.6103, allocations: 16 kB / 480.3 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.714e-06/0.6104, allocations: 4 kB / 480.3 MB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.922e-06/0.6104, allocations: 7.922 kB / 480.3 MB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.6125, allocations: 1.078 MB / 481.4 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.6126, allocations: 4.062 kB / 481.4 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/0.6132, allocations: 75.88 kB / 481.5 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.219e-06/0.6132, allocations: 4 kB / 481.5 MB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.24e-05/0.6132, allocations: 11.98 kB / 481.5 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.92e-06/0.6132, allocations: 0 / 481.5 MB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.801e-06/0.6133, allocations: 4 kB / 481.5 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.6147, allocations: 0.8482 MB / 482.4 MB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002256/0.615, allocations: 148.6 kB / 482.5 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.6151, allocations: 8 kB / 482.5 MB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002918/0.6154, allocations: 19.97 kB / 482.5 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.6155, allocations: 24.16 kB / 482.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.6155, allocations: 12 kB / 482.6 MB, free: 4.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002809/0.6158, allocations: 195.1 kB / 482.8 MB, free: 4.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.6158, allocations: 0 / 482.8 MB, free: 4.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007218/0.6165, allocations: 131.9 kB / 482.9 MB, free: 4.621 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.0002892/0.6168, allocations: 151.1 kB / 483 MB, free: 4.461 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.6183, allocations: 0.7234 MB / 483.8 MB, free: 3.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.453e-06/0.6183, allocations: 3.938 kB / 483.8 MB, free: 3.715 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004291/0.6187, allocations: 236 kB / 484 MB, free: 3.484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.6192, allocations: 56.47 kB / 484.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/0.6211, allocations: 0.9539 MB / 485 MB, free: 2.441 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.6218, allocations: 0.8865 MB / 485.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.6219, allocations: 39.42 kB / 485.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of SimCode: time 1.554e-06/0.622, allocations: 0 / 485.9 MB, free: 1.492 MB / 410.7 MB Notification: Performance of Templates: time 0.01239/0.6344, allocations: 6.839 MB / 492.8 MB, free: 10.65 MB / 426.7 MB