Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadModel(PowerSystems): time 2.279/2.279, allocations: 233 MB / 245.6 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.485e-05, allocations: 4 kB / 301.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.0905, allocations: 53.22 MB / 354.5 MB, free: 2.844 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.481, allocations: 95.85 MB / 450.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4813, allocations: 84.58 kB / 450.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05234/0.5337, allocations: 12.53 MB / 462.9 MB, free: 9.516 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.025e-06/0.5338, allocations: 0 / 462.9 MB, free: 9.516 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.359e-05/0.5338, allocations: 8 kB / 463 MB, free: 9.508 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001336/0.5352, allocations: 0.6643 MB / 463.6 MB, free: 8.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5352, allocations: 8.031 kB / 463.6 MB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007115/0.5359, allocations: 99.23 kB / 463.7 MB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.5389, allocations: 0.838 MB / 464.6 MB, free: 7.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.539, allocations: 33.56 kB / 464.6 MB, free: 7.781 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.5391, allocations: 43.91 kB / 464.6 MB, free: 7.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.5403, allocations: 0.6114 MB / 465.3 MB, free: 7.059 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/0.5404, allocations: 11.89 kB / 465.3 MB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.521e-05/0.5404, allocations: 20 kB / 465.3 MB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.628e-05/0.5405, allocations: 24.78 kB / 465.3 MB, free: 7.004 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.5415, allocations: 426.7 kB / 465.7 MB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.546, allocations: 2.925 MB / 468.6 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.5465, allocations: 197 kB / 468.8 MB, free: 3.305 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/0.5468, allocations: 125.8 kB / 469 MB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.5468, allocations: 7.984 kB / 469 MB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.5469, allocations: 34.55 kB / 469 MB, free: 3.125 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 4.084e-06/0.5469, allocations: 8 kB / 469 MB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001936/0.5488, allocations: 0.845 MB / 469.9 MB, free: 2.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.5489, allocations: 85.41 kB / 469.9 MB, free: 2.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.5494, allocations: 302.4 kB / 470.2 MB, free: 1.812 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.5494, allocations: 29.7 kB / 470.3 MB, free: 1.777 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.5497, allocations: 345.6 kB / 470.6 MB, free: 1.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5498, allocations: 90.78 kB / 470.7 MB, free: 1.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.087e-05/0.5498, allocations: 8 kB / 470.7 MB, free: 1.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.55, allocations: 330.8 kB / 471 MB, free: 1.008 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003203/0.5503, allocations: 140.8 kB / 471.2 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004702/0.5508, allocations: 321.6 kB / 471.5 MB, free: 484 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004192/0.5513, allocations: 204.9 kB / 471.7 MB, free: 280 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.864e-06/0.5513, allocations: 4 kB / 471.7 MB, free: 276 kB / 394.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001405/0.5527, allocations: 0.5512 MB / 472.2 MB, free: 15.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.5527, allocations: 8 kB / 472.2 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007993/0.5535, allocations: 329.2 kB / 472.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004208/0.554, allocations: 80.8 kB / 472.6 MB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.5545, allocations: 91.81 kB / 472.7 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.5566, allocations: 1.585 MB / 474.3 MB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.557, allocations: 23.98 kB / 474.3 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.5571, allocations: 20 kB / 474.4 MB, free: 13.44 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 46 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.5573, allocations: 133.7 kB / 474.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.5574, allocations: 27.62 kB / 474.5 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000817/0.5582, allocations: 349.2 kB / 474.9 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/0.5583, allocations: 4 kB / 474.9 MB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.149e-06/0.5583, allocations: 7.938 kB / 474.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.554e-06/0.5583, allocations: 0 / 474.9 MB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001958/0.5603, allocations: 0.8642 MB / 475.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5603, allocations: 4 kB / 475.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.5607, allocations: 55.97 kB / 475.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-06/0.5608, allocations: 3.938 kB / 475.8 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.5608, allocations: 11.98 kB / 475.8 MB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.5608, allocations: 4 kB / 475.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.5609, allocations: 0 / 475.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5619, allocations: 0.5811 MB / 476.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.5621, allocations: 116.7 kB / 476.5 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.59e-05/0.5622, allocations: 4 kB / 476.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.5624, allocations: 19.97 kB / 476.5 MB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.5625, allocations: 27.92 kB / 476.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.5626, allocations: 12 kB / 476.6 MB, free: 11.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.5629, allocations: 218.2 kB / 476.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.5629, allocations: 0 / 476.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007206/0.5636, allocations: 112 kB / 476.9 MB, free: 10.77 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 (25): * Single equations (assignments): 23 * Array equations: 1 * 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.0002269/0.5639, allocations: 123.1 kB / 477 MB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.565, allocations: 470.2 kB / 477.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.708e-06/0.565, allocations: 0 / 477.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.5653, allocations: 139.8 kB / 477.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.5658, allocations: 52.36 kB / 477.7 MB, free: 9.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.5676, allocations: 0.8363 MB / 478.5 MB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.5683, allocations: 0.8698 MB / 479.4 MB, free: 8.215 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.5684, allocations: 35.44 kB / 479.4 MB, free: 8.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.86e-06/0.5685, allocations: 0 / 479.4 MB, free: 8.18 MB / 410.7 MB Notification: Performance of Templates: time 0.01107/0.5795, allocations: 5.651 MB / 485 MB, free: 2.527 MB / 410.7 MB