Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.331/2.331, allocations: 233 MB / 246.1 MB, free: 14.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.672e-05, allocations: 4 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 53.24 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.5758, allocations: 95.22 MB / 450.7 MB, free: 6.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5762, allocations: 86.97 kB / 450.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05621/0.6324, allocations: 12.16 MB / 463 MB, free: 10 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6325, allocations: 0 / 463 MB, free: 10 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.442e-05/0.6325, allocations: 8 kB / 463 MB, free: 9.996 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001574/0.6341, allocations: 0.6487 MB / 463.6 MB, free: 9.297 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.6342, allocations: 12.03 kB / 463.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.6344, allocations: 82.53 kB / 463.7 MB, free: 9.195 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008374/0.6352, allocations: 83.38 kB / 463.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.6388, allocations: 0.8374 MB / 464.7 MB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.6389, allocations: 33 kB / 464.7 MB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.639, allocations: 43.91 kB / 464.7 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.6405, allocations: 0.5997 MB / 465.3 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.6405, allocations: 3.984 kB / 465.3 MB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-05/0.6406, allocations: 19.94 kB / 465.4 MB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.992e-05/0.6407, allocations: 28.78 kB / 465.4 MB, free: 7.445 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.6419, allocations: 425.2 kB / 465.8 MB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005226/0.6471, allocations: 2.859 MB / 468.7 MB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.6477, allocations: 217.3 kB / 468.9 MB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/0.6481, allocations: 146.5 kB / 469 MB, free: 3.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.6482, allocations: 8 kB / 469 MB, free: 3.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.6482, allocations: 42.5 kB / 469.1 MB, free: 3.578 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 3.006e-06/0.6483, allocations: 3.469 kB / 469.1 MB, free: 3.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.002209/0.6505, allocations: 0.8628 MB / 469.9 MB, free: 2.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.6506, allocations: 81.11 kB / 470 MB, free: 2.566 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.6511, allocations: 290.6 kB / 470.3 MB, free: 2.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.6511, allocations: 29.7 kB / 470.3 MB, free: 2.242 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.6514, allocations: 271.2 kB / 470.6 MB, free: 1.973 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6515, allocations: 110.5 kB / 470.7 MB, free: 1.863 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.6516, allocations: 4 kB / 470.7 MB, free: 1.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.6517, allocations: 350.8 kB / 471 MB, free: 1.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.6521, allocations: 137.1 kB / 471.2 MB, free: 1.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005332/0.6527, allocations: 346.6 kB / 471.5 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/0.6532, allocations: 199.8 kB / 471.7 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6532, allocations: 8 kB / 471.7 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001279/0.6545, allocations: 0.505 MB / 472.2 MB, free: 240 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.6546, allocations: 8 kB / 472.2 MB, free: 232 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.6546, allocations: 8 kB / 472.2 MB, free: 224 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.6547, allocations: 15.95 kB / 472.3 MB, free: 208 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.6555, allocations: 111.8 kB / 472.4 MB, free: 96 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.6555, allocations: 11.94 kB / 472.4 MB, free: 84 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.656, allocations: 31.88 kB / 472.4 MB, free: 52 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.415e-05/0.6561, allocations: 24.34 kB / 472.4 MB, free: 28 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (57): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001828/0.6563, allocations: 136.8 kB / 472.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.6564, allocations: 27.62 kB / 472.6 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009853/0.6574, allocations: 349.5 kB / 472.9 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.6574, allocations: 8 kB / 472.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6574, allocations: 3.953 kB / 472.9 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.6575, allocations: 7.984 kB / 472.9 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.6597, allocations: 0.864 MB / 473.8 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/0.6597, allocations: 11.94 kB / 473.8 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006432/0.6604, allocations: 59.91 kB / 473.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.6604, allocations: 0 / 473.9 MB, free: 14.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.6605, allocations: 11.98 kB / 473.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.6605, allocations: 4 kB / 473.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6605, allocations: 0 / 473.9 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.6618, allocations: 0.6302 MB / 474.5 MB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.662, allocations: 112.6 kB / 474.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.83e-05/0.6621, allocations: 8 kB / 474.6 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.6624, allocations: 16.58 kB / 474.7 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.6625, allocations: 23.88 kB / 474.7 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.6625, allocations: 8 kB / 474.7 MB, free: 13.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003656/0.6629, allocations: 218.2 kB / 474.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6629, allocations: 0 / 474.9 MB, free: 13.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007639/0.6637, allocations: 112 kB / 475 MB, free: 13.29 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 (29): * Single equations (assignments): 27 * 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.001868/0.6656, allocations: 1.463 MB / 476.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009935/0.6666, allocations: 350 kB / 476.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/0.6667, allocations: 4.688 kB / 476.8 MB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003658/0.6671, allocations: 147.8 kB / 477 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.6678, allocations: 59.5 kB / 477 MB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.6706, allocations: 0.9074 MB / 477.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.6713, allocations: 0.8786 MB / 478.8 MB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000696/0.672, allocations: 123.2 kB / 478.9 MB, free: 9.246 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/0.6724, allocations: 135.4 kB / 479.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/0.6724, allocations: 0 / 479.1 MB, free: 9.113 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.7133, allocations: 6.565 MB / 485.6 MB, free: 2.625 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/0.7137, allocations: 163.7 kB / 485.8 MB, free: 2.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.685/3.399, allocations: 0 / 485.8 MB, free: 2.398 MB / 410.7 MB