Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Frequency,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Frequency",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.494/2.494, allocations: 233 MB / 246.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.832e-05, allocations: 3.938 kB / 302.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 53.24 MB / 355.5 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4639/0.5792, allocations: 90.04 MB / 445.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.5795, allocations: 79.95 kB / 445.6 MB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04575/0.6253, allocations: 10.2 MB / 455.9 MB, free: 1.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6254, allocations: 0 / 455.9 MB, free: 1.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.34e-05/0.6254, allocations: 12.12 kB / 455.9 MB, free: 1.305 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001588/0.627, allocations: 0.6833 MB / 456.5 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.6271, allocations: 12.03 kB / 456.6 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001291/0.6272, allocations: 70.53 kB / 456.6 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.6274, allocations: 51.34 kB / 456.7 MB, free: 444 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/0.6314, allocations: 1.019 MB / 457.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.6315, allocations: 28.78 kB / 457.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.6316, allocations: 36.69 kB / 457.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.6327, allocations: 439.2 kB / 458.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.6327, allocations: 4 kB / 458.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.6328, allocations: 16 kB / 458.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.6328, allocations: 12 kB / 458.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008031/0.6336, allocations: 296.2 kB / 458.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00312/0.6368, allocations: 1.758 MB / 460.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.6371, allocations: 139.8 kB / 460.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.6373, allocations: 54.67 kB / 460.5 MB, free: 12.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.6373, allocations: 4.156 kB / 460.5 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.6374, allocations: 38.55 kB / 460.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.976e-06/0.6374, allocations: 0 / 460.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001383/0.6388, allocations: 0.5645 MB / 461.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.6389, allocations: 110.8 kB / 461.2 MB, free: 11.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.6395, allocations: 322.8 kB / 461.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.6395, allocations: 25.7 kB / 461.5 MB, free: 11.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000293/0.6398, allocations: 283.3 kB / 461.8 MB, free: 10.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6399, allocations: 59.22 kB / 461.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.64, allocations: 8.031 kB / 461.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.6403, allocations: 350.8 kB / 462.2 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.6405, allocations: 48 kB / 462.2 MB, free: 10.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.641, allocations: 187.1 kB / 462.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.6414, allocations: 75.91 kB / 462.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6414, allocations: 4.562 kB / 462.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001168/0.6426, allocations: 273.2 kB / 462.8 MB, free: 9.922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.6427, allocations: 8 kB / 462.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.6427, allocations: 4 kB / 462.8 MB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/0.6427, allocations: 8 kB / 462.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006923/0.6435, allocations: 71.91 kB / 462.9 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.293e-05/0.6435, allocations: 17.14 kB / 462.9 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.6441, allocations: 11.91 kB / 462.9 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.6442, allocations: 12.34 kB / 462.9 MB, free: 9.793 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0002048/0.6444, allocations: 132.8 kB / 463 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002762/0.6447, allocations: 35.53 kB / 463.1 MB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008271/0.6456, allocations: 164.9 kB / 463.2 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.6456, allocations: 4 kB / 463.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.6456, allocations: 1.5 kB / 463.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6456, allocations: 0 / 463.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.6474, allocations: 0.5381 MB / 463.8 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.6475, allocations: 4 kB / 463.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006223/0.6482, allocations: 35.92 kB / 463.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.248e-05/0.6482, allocations: 0 / 463.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.6483, allocations: 8.25 kB / 463.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.497e-06/0.6483, allocations: 4 kB / 463.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.6483, allocations: 0 / 463.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.6494, allocations: 429.4 kB / 464.2 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.6496, allocations: 120.6 kB / 464.4 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.6498, allocations: 3.953 kB / 464.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.6502, allocations: 8 kB / 464.4 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.6502, allocations: 11.98 kB / 464.4 MB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.6503, allocations: 12.09 kB / 464.4 MB, free: 8.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000614/0.6509, allocations: 245.2 kB / 464.6 MB, free: 7.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.845e-06/0.6509, allocations: 0 / 464.6 MB, free: 7.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001174/0.6521, allocations: 83.94 kB / 464.7 MB, free: 7.848 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * 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.00164/0.6538, allocations: 1.172 MB / 465.9 MB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005124/0.6543, allocations: 140.9 kB / 466 MB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6544, allocations: 4.062 kB / 466 MB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.6545, allocations: 51.94 kB / 466.1 MB, free: 6.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008822/0.6554, allocations: 83.39 kB / 466.2 MB, free: 6.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.6577, allocations: 0.7422 MB / 466.9 MB, free: 5.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.6583, allocations: 0.8506 MB / 467.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003107/0.6586, allocations: 51.25 kB / 467.8 MB, free: 4.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.6589, allocations: 147.4 kB / 467.9 MB, free: 4.504 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6589, allocations: 0 / 467.9 MB, free: 4.504 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/0.6964, allocations: 6.509 MB / 474.5 MB, free: 14.07 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.6968, allocations: 143.1 kB / 474.6 MB, free: 13.85 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.649/3.346, allocations: 8 kB / 474.6 MB, free: 13.84 MB / 410.7 MB