Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadModel(PowerSystems): time 2.143/2.143, allocations: 233 MB / 246.1 MB, free: 14.87 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.247e-05, allocations: 4 kB / 302.2 MB, free: 7.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09191, allocations: 53.23 MB / 355.4 MB, free: 2.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.4897, allocations: 96.31 MB / 451.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.49, allocations: 86.14 kB / 451.8 MB, free: 5.254 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09428/0.5843, allocations: 15.02 MB / 466.8 MB, free: 6.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.289e-06/0.5844, allocations: 0 / 466.8 MB, free: 6.078 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.5844, allocations: 8 kB / 466.9 MB, free: 6.07 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.001491/0.5859, allocations: 0.6793 MB / 467.5 MB, free: 5.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.586, allocations: 12.03 kB / 467.5 MB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.5868, allocations: 87.38 kB / 467.6 MB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/0.5899, allocations: 0.8486 MB / 468.5 MB, free: 4.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.418e-05/0.59, allocations: 28.77 kB / 468.5 MB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.5901, allocations: 47.84 kB / 468.6 MB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.5916, allocations: 0.6538 MB / 469.2 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.5916, allocations: 0 / 469.2 MB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.5917, allocations: 20.73 kB / 469.2 MB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001994/0.5919, allocations: 64.67 kB / 469.3 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.5933, allocations: 0.6108 MB / 469.9 MB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004898/0.5982, allocations: 2.55 MB / 472.5 MB, free: 212 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.599, allocations: 317.4 kB / 472.8 MB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004388/0.5995, allocations: 225.7 kB / 473 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.5995, allocations: 4 kB / 473 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.5996, allocations: 46.48 kB / 473 MB, free: 15.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.897e-06/0.5996, allocations: 0.9375 kB / 473 MB, free: 15.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002692/0.6023, allocations: 1.224 MB / 474.3 MB, free: 14.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.6024, allocations: 81.11 kB / 474.3 MB, free: 14.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003933/0.6028, allocations: 235.5 kB / 474.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.6029, allocations: 33.7 kB / 474.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.6031, allocations: 243.7 kB / 474.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.6033, allocations: 149.8 kB / 475 MB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.6034, allocations: 11.98 kB / 475 MB, free: 13.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6036, allocations: 346.8 kB / 475.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004241/0.604, allocations: 200.9 kB / 475.5 MB, free: 13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.6045, allocations: 323.8 kB / 475.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.6051, allocations: 257 kB / 476.1 MB, free: 12.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.6051, allocations: 3.984 kB / 476.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001746/0.6069, allocations: 0.678 MB / 476.8 MB, free: 11.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.6069, allocations: 11.95 kB / 476.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001258/0.6082, allocations: 0.5112 MB / 477.3 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005539/0.6088, allocations: 117.8 kB / 477.4 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004722/0.6093, allocations: 83.84 kB / 477.5 MB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00375/0.613, allocations: 3.003 MB / 480.5 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/0.6135, allocations: 27.95 kB / 480.5 MB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.6136, allocations: 20 kB / 480.5 MB, free: 7.645 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.0001751/0.6138, allocations: 125.9 kB / 480.7 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.6139, allocations: 31.62 kB / 480.7 MB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001171/0.6151, allocations: 0.516 MB / 481.2 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/0.6152, allocations: 15.94 kB / 481.2 MB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-06/0.6152, allocations: 7.922 kB / 481.2 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.171e-06/0.6152, allocations: 0 / 481.2 MB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/0.6175, allocations: 1.082 MB / 482.3 MB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.891e-06/0.6175, allocations: 4 kB / 482.3 MB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/0.6182, allocations: 71.88 kB / 482.4 MB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.141e-06/0.6182, allocations: 4.062 kB / 482.4 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.6182, allocations: 11.98 kB / 482.4 MB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.946e-06/0.6183, allocations: 4 kB / 482.4 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.489e-06/0.6183, allocations: 0.5469 kB / 482.4 MB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6199, allocations: 0.8522 MB / 483.3 MB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/0.6202, allocations: 144.6 kB / 483.4 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.6203, allocations: 11.98 kB / 483.4 MB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.6206, allocations: 23.97 kB / 483.4 MB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.6207, allocations: 20.16 kB / 483.5 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.6208, allocations: 16 kB / 483.5 MB, free: 4.574 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.6211, allocations: 195.1 kB / 483.7 MB, free: 4.379 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.6211, allocations: 0 / 483.7 MB, free: 4.379 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007565/0.6219, allocations: 135.9 kB / 483.8 MB, free: 4.246 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.0003114/0.6222, allocations: 151.3 kB / 484 MB, free: 4.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.6237, allocations: 0.7236 MB / 484.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.885e-06/0.6237, allocations: 0 / 484.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.6242, allocations: 244 kB / 484.9 MB, free: 3.105 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.6247, allocations: 51.62 kB / 485 MB, free: 3.059 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.6267, allocations: 0.901 MB / 485.9 MB, free: 2.125 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.6275, allocations: 0.8827 MB / 486.7 MB, free: 1.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004509/0.6279, allocations: 112.5 kB / 486.9 MB, free: 1.113 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.6281, allocations: 31.44 kB / 486.9 MB, free: 1.082 MB / 410.7 MB Notification: Performance of SimCode: time 2.004e-06/0.6281, allocations: 0 / 486.9 MB, free: 1.082 MB / 410.7 MB Notification: Performance of Templates: time 0.01271/0.6408, allocations: 4.127 MB / 491 MB, free: 12.97 MB / 426.7 MB