Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadModel(PowerSystems): time 2.103/2.103, allocations: 233 MB / 245.6 MB, free: 14.82 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.212e-05/4.219e-05, allocations: 4 kB / 301.3 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1027, allocations: 53.24 MB / 354.5 MB, free: 2.633 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5362, allocations: 97.09 MB / 451.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.5365, allocations: 87.94 kB / 451.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07568/0.6122, allocations: 13.64 MB / 465.3 MB, free: 7.125 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.182e-06/0.6123, allocations: 0 / 465.3 MB, free: 7.125 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.625e-05/0.6124, allocations: 16 kB / 465.3 MB, free: 7.109 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.002851/0.6152, allocations: 0.7149 MB / 466 MB, free: 6.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6153, allocations: 8.031 kB / 466 MB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.6165, allocations: 91.28 kB / 466.1 MB, free: 6.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0056/0.6221, allocations: 0.9276 MB / 467.1 MB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-05/0.6222, allocations: 29 kB / 467.1 MB, free: 5.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.6224, allocations: 47.91 kB / 467.1 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.6247, allocations: 0.6738 MB / 467.8 MB, free: 4.469 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.2e-05/0.6248, allocations: 3.938 kB / 467.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.625, allocations: 20 kB / 467.8 MB, free: 4.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.6251, allocations: 28.77 kB / 467.9 MB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.627, allocations: 485.2 kB / 468.3 MB, free: 3.941 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005605/0.6327, allocations: 3.037 MB / 471.4 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000785/0.6335, allocations: 321.6 kB / 471.7 MB, free: 444 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.6339, allocations: 194 kB / 471.9 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.634, allocations: 7.984 kB / 471.9 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.634, allocations: 42.81 kB / 471.9 MB, free: 184 kB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 4.084e-06/0.634, allocations: 1.219 kB / 471.9 MB, free: 184 kB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.002705/0.6368, allocations: 1.162 MB / 473.1 MB, free: 14.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.6368, allocations: 81.11 kB / 473.2 MB, free: 14.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.6374, allocations: 327.5 kB / 473.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/0.6375, allocations: 33.7 kB / 473.5 MB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.6378, allocations: 329.8 kB / 473.8 MB, free: 14.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.6379, allocations: 142 kB / 474 MB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.638, allocations: 12 kB / 474 MB, free: 14.02 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6382, allocations: 334.9 kB / 474.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.6387, allocations: 197 kB / 474.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.6393, allocations: 365.9 kB / 474.9 MB, free: 13.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/0.6399, allocations: 269.4 kB / 475.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.119e-06/0.6399, allocations: 4 kB / 475.1 MB, free: 12.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002682/0.6426, allocations: 0.8189 MB / 476 MB, free: 11.96 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.6426, allocations: 8 kB / 476 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.6427, allocations: 8 kB / 476 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/0.6446, allocations: 297.7 kB / 476.3 MB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/0.6455, allocations: 131.8 kB / 476.4 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/0.6521, allocations: 3.792 MB / 480.2 MB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.6527, allocations: 27.97 kB / 480.2 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.667e-05/0.6528, allocations: 24.31 kB / 480.2 MB, free: 7.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.653, allocations: 132.9 kB / 480.4 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.6531, allocations: 43.48 kB / 480.4 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.6544, allocations: 0.5248 MB / 480.9 MB, free: 6.699 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.6544, allocations: 4.562 kB / 480.9 MB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.532e-06/0.6544, allocations: 4 kB / 480.9 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6544, allocations: 7.984 kB / 480.9 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.6567, allocations: 1.089 MB / 482 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6567, allocations: 4 kB / 482 MB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.6574, allocations: 87.88 kB / 482.1 MB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.6574, allocations: 0.5625 kB / 482.1 MB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.6575, allocations: 19.94 kB / 482.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.374e-06/0.6575, allocations: 0 / 482.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.112e-06/0.6575, allocations: 1.172 kB / 482.1 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.6592, allocations: 0.8596 MB / 483 MB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.6593, allocations: 120.6 kB / 483.1 MB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.6594, allocations: 21.53 kB / 483.1 MB, free: 4.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.6598, allocations: 19.97 kB / 483.2 MB, free: 4.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.6599, allocations: 27.91 kB / 483.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.66, allocations: 8 kB / 483.2 MB, free: 4.309 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003844/0.6604, allocations: 258.1 kB / 483.5 MB, free: 4.055 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.6604, allocations: 0 / 483.5 MB, free: 4.055 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007666/0.6611, allocations: 140 kB / 483.6 MB, free: 3.918 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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.0002329/0.6614, allocations: 131.1 kB / 483.7 MB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.6634, allocations: 0.8094 MB / 484.5 MB, free: 2.949 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.304e-06/0.6634, allocations: 4.125 kB / 484.5 MB, free: 2.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.6639, allocations: 220.4 kB / 484.7 MB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.6644, allocations: 76.06 kB / 484.8 MB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.6668, allocations: 1.093 MB / 485.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007204/0.6676, allocations: 0.9094 MB / 486.8 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.6678, allocations: 39.44 kB / 486.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of SimCode: time 1.467e-06/0.6678, allocations: 0 / 486.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of Templates: time 0.01451/0.6823, allocations: 7.829 MB / 494.7 MB, free: 8.727 MB / 426.7 MB