Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.333/2.333, allocations: 233 MB / 245.6 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.513e-05, allocations: 4 kB / 301.3 MB, free: 7.891 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 53.24 MB / 354.6 MB, free: 2.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.5696, allocations: 95.2 MB / 449.8 MB, free: 6.789 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.57, allocations: 79.95 kB / 449.9 MB, free: 6.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06136/0.6313, allocations: 13.23 MB / 463.1 MB, free: 9.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6314, allocations: 3.938 kB / 463.1 MB, free: 9.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.459e-05/0.6314, allocations: 8 kB / 463.1 MB, free: 9.352 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.002014/0.6335, allocations: 0.6795 MB / 463.8 MB, free: 8.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/0.6335, allocations: 12.03 kB / 463.8 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.6338, allocations: 86.52 kB / 463.9 MB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009415/0.6348, allocations: 91.28 kB / 464 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003562/0.6383, allocations: 0.8486 MB / 464.8 MB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.6384, allocations: 36.72 kB / 464.9 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.6386, allocations: 36 kB / 464.9 MB, free: 7.469 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.6402, allocations: 0.646 MB / 465.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/0.6403, allocations: 0 / 465.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.867e-05/0.6404, allocations: 23.94 kB / 465.6 MB, free: 6.762 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.6406, allocations: 44.75 kB / 465.6 MB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.6423, allocations: 0.6224 MB / 466.2 MB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005773/0.6481, allocations: 2.413 MB / 468.6 MB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.6491, allocations: 347.4 kB / 469 MB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005975/0.6497, allocations: 254.4 kB / 469.2 MB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.498e-05/0.6498, allocations: 5.875 kB / 469.2 MB, free: 2.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.6498, allocations: 42.78 kB / 469.3 MB, free: 2.895 MB / 394.7 MB Notification: Performance of pre-optimization done (n=47): time 3.716e-06/0.6498, allocations: 0 / 469.3 MB, free: 2.895 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.003315/0.6532, allocations: 1.271 MB / 470.5 MB, free: 1.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.6533, allocations: 81.11 kB / 470.6 MB, free: 1.477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.6537, allocations: 247.3 kB / 470.9 MB, free: 1.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.6538, allocations: 33.7 kB / 470.9 MB, free: 1.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.654, allocations: 298.2 kB / 471.2 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.6542, allocations: 169.6 kB / 471.4 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.6542, allocations: 8 kB / 471.4 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.6544, allocations: 334.8 kB / 471.7 MB, free: 396 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.655, allocations: 217 kB / 471.9 MB, free: 180 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006628/0.6556, allocations: 356.5 kB / 472.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006789/0.6563, allocations: 277 kB / 472.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.6564, allocations: 4 kB / 472.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002043/0.6584, allocations: 0.6772 MB / 473.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.6585, allocations: 8 kB / 473.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001443/0.6599, allocations: 0.5176 MB / 473.7 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005237/0.6605, allocations: 68.8 kB / 473.8 MB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007833/0.6613, allocations: 99.88 kB / 473.9 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002327/0.6636, allocations: 1.593 MB / 475.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006083/0.6643, allocations: 23.97 kB / 475.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/0.6644, allocations: 23.98 kB / 475.5 MB, free: 12.34 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.0001924/0.6646, allocations: 132.8 kB / 475.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.6647, allocations: 39.47 kB / 475.7 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.6661, allocations: 0.5517 MB / 476.3 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/0.6662, allocations: 12 kB / 476.3 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.6662, allocations: 5.453 kB / 476.3 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6663, allocations: 7.984 kB / 476.3 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.6693, allocations: 1.169 MB / 477.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.6694, allocations: 3.953 kB / 477.4 MB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.6702, allocations: 87.86 kB / 477.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.6702, allocations: 4 kB / 477.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.6703, allocations: 15.98 kB / 477.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.6703, allocations: 4 kB / 477.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6703, allocations: 144 / 477.6 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.6723, allocations: 0.9726 MB / 478.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/0.6725, allocations: 112.6 kB / 478.6 MB, free: 9.074 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.6726, allocations: 8 kB / 478.6 MB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004239/0.6731, allocations: 28.02 kB / 478.7 MB, free: 9.039 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.458e-05/0.6732, allocations: 27.92 kB / 478.7 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.6732, allocations: 11.98 kB / 478.7 MB, free: 9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003079/0.6735, allocations: 191.1 kB / 478.9 MB, free: 8.812 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.876e-06/0.6736, allocations: 1.406 kB / 478.9 MB, free: 8.812 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008102/0.6744, allocations: 139.9 kB / 479 MB, free: 8.676 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.002611/0.677, allocations: 1.838 MB / 480.9 MB, free: 6.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.6787, allocations: 0.6472 MB / 481.5 MB, free: 6.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6788, allocations: 0 / 481.5 MB, free: 6.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.6794, allocations: 269.1 kB / 481.8 MB, free: 5.863 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.68, allocations: 59.69 kB / 481.8 MB, free: 5.805 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.6831, allocations: 1.13 MB / 483 MB, free: 4.621 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.6838, allocations: 0.887 MB / 483.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004221/0.6843, allocations: 151.4 kB / 484 MB, free: 3.562 MB / 410.7 MB Notification: Performance of SimCode: time 3.617e-06/0.6843, allocations: 0 / 484 MB, free: 3.562 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.003/3.687, allocations: 8.364 MB / 492.4 MB, free: 11.2 MB / 426.7 MB