Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.462/2.462, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.989e-05, allocations: 4 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1156, allocations: 53.23 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.5718, allocations: 95.2 MB / 450.7 MB, free: 6.387 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.5722, allocations: 75.97 kB / 450.8 MB, free: 6.312 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06745/0.6397, allocations: 13.23 MB / 464 MB, free: 8.961 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.358e-06/0.6397, allocations: 4 kB / 464 MB, free: 8.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.922e-05/0.6398, allocations: 11.94 kB / 464.1 MB, free: 8.945 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001986/0.6418, allocations: 0.6756 MB / 464.7 MB, free: 8.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.6418, allocations: 8.031 kB / 464.7 MB, free: 8.215 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/0.6421, allocations: 86.52 kB / 464.8 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009628/0.6431, allocations: 91.28 kB / 464.9 MB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.6468, allocations: 0.8603 MB / 465.8 MB, free: 7.129 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.178e-05/0.6469, allocations: 24.78 kB / 465.8 MB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.6471, allocations: 36 kB / 465.8 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.6487, allocations: 0.6421 MB / 466.5 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.6488, allocations: 4 kB / 466.5 MB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.6489, allocations: 23.94 kB / 466.5 MB, free: 6.363 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.6491, allocations: 44.75 kB / 466.5 MB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.6509, allocations: 0.6224 MB / 467.2 MB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006099/0.657, allocations: 2.417 MB / 469.6 MB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.658, allocations: 341.9 kB / 469.9 MB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.6586, allocations: 250.4 kB / 470.2 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.802e-05/0.6587, allocations: 16.22 kB / 470.2 MB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6588, allocations: 38.84 kB / 470.2 MB, free: 2.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.557e-06/0.6588, allocations: 1.875 kB / 470.2 MB, free: 2.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.003305/0.6621, allocations: 1.267 MB / 471.5 MB, free: 1.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.6622, allocations: 81.11 kB / 471.6 MB, free: 1.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004766/0.6627, allocations: 259.3 kB / 471.8 MB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.018e-05/0.6628, allocations: 29.7 kB / 471.8 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.663, allocations: 239.8 kB / 472.1 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/0.6633, allocations: 173.6 kB / 472.2 MB, free: 384 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.6633, allocations: 4 kB / 472.3 MB, free: 380 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.6635, allocations: 346.8 kB / 472.6 MB, free: 24 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.6641, allocations: 216.9 kB / 472.8 MB, free: 15.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006838/0.6648, allocations: 356.4 kB / 473.1 MB, free: 15.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007394/0.6655, allocations: 285 kB / 473.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6656, allocations: 0 / 473.4 MB, free: 15.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00211/0.6677, allocations: 0.6927 MB / 474.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.6678, allocations: 8 kB / 474.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00154/0.6693, allocations: 0.5122 MB / 474.6 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.6699, allocations: 73.23 kB / 474.7 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.6707, allocations: 99.88 kB / 474.8 MB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.6732, allocations: 1.589 MB / 476.4 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/0.6739, allocations: 27.97 kB / 476.4 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.992e-05/0.674, allocations: 21.22 kB / 476.4 MB, free: 11.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * 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: 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.0001917/0.6742, allocations: 132.9 kB / 476.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.6744, allocations: 43.5 kB / 476.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.6759, allocations: 0.5555 MB / 477.2 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.264e-05/0.676, allocations: 12 kB / 477.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.676, allocations: 3.953 kB / 477.2 MB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.676, allocations: 7.984 kB / 477.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/0.6793, allocations: 1.165 MB / 478.4 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.6793, allocations: 3.953 kB / 478.4 MB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.6802, allocations: 87.97 kB / 478.5 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.6802, allocations: 4 kB / 478.5 MB, free: 9.863 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/0.6803, allocations: 11.98 kB / 478.5 MB, free: 9.852 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.819e-06/0.6803, allocations: 4 kB / 478.5 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.6804, allocations: 1.312 kB / 478.5 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.6825, allocations: 0.9682 MB / 479.4 MB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.6827, allocations: 112.7 kB / 479.6 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.822e-05/0.6828, allocations: 12 kB / 479.6 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.6832, allocations: 27.97 kB / 479.6 MB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.6833, allocations: 27.92 kB / 479.6 MB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.6834, allocations: 12 kB / 479.6 MB, free: 8.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000334/0.6837, allocations: 195.1 kB / 479.8 MB, free: 8.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6838, allocations: 0 / 479.8 MB, free: 8.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008372/0.6846, allocations: 131.9 kB / 479.9 MB, free: 8.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * 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.0028/0.6874, allocations: 1.835 MB / 481.8 MB, free: 6.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001822/0.6893, allocations: 0.655 MB / 482.4 MB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6893, allocations: 0 / 482.4 MB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.69, allocations: 260 kB / 482.7 MB, free: 5.492 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.6908, allocations: 59.53 kB / 482.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.6942, allocations: 1.081 MB / 483.8 MB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007012/0.6949, allocations: 0.883 MB / 484.7 MB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007209/0.6957, allocations: 127.1 kB / 484.8 MB, free: 3.273 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/0.6961, allocations: 147.4 kB / 485 MB, free: 3.129 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6961, allocations: 0 / 485 MB, free: 3.129 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.733, allocations: 7.87 MB / 492.9 MB, free: 11.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/0.7333, allocations: 172 kB / 493 MB, free: 11.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.771/3.504, allocations: 3.938 kB / 493 MB, free: 11.12 MB / 426.7 MB