Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Tables,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_Tables",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.452/2.452, allocations: 233 MB / 246.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.797e-05, allocations: 4 kB / 302.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1222, allocations: 53.23 MB / 355.5 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4955/0.6177, allocations: 81.58 MB / 437.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002442/0.6202, allocations: 0.6674 MB / 437.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008441/0.6287, allocations: 1.859 MB / 439.6 MB, free: 1.672 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6287, allocations: 0 / 439.6 MB, free: 1.672 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.6287, allocations: 4 kB / 439.6 MB, free: 1.668 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004805/0.6292, allocations: 396 kB / 440 MB, free: 1.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.6293, allocations: 8.031 kB / 440 MB, free: 1.223 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.6294, allocations: 34.56 kB / 440.1 MB, free: 1.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.6294, allocations: 7.906 kB / 440.1 MB, free: 1.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.6297, allocations: 183.6 kB / 440.2 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.6297, allocations: 0 / 440.2 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.6298, allocations: 4 kB / 440.2 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.6299, allocations: 67.34 kB / 440.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.63, allocations: 0.5156 kB / 440.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.63, allocations: 0 / 440.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.63, allocations: 5.453 kB / 440.3 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.6301, allocations: 19.98 kB / 440.3 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.6305, allocations: 277.8 kB / 440.6 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6307, allocations: 46.5 kB / 440.7 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.6307, allocations: 8.922 kB / 440.7 MB, free: 472 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.6308, allocations: 7.953 kB / 440.7 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.6308, allocations: 30.56 kB / 440.7 MB, free: 424 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.6308, allocations: 0 / 440.7 MB, free: 424 kB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001857/0.631, allocations: 49.81 kB / 440.7 MB, free: 368 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.6311, allocations: 81.11 kB / 440.8 MB, free: 268 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.6313, allocations: 128.8 kB / 441 MB, free: 132 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.6313, allocations: 29.7 kB / 441 MB, free: 96 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.6314, allocations: 92.22 kB / 441.1 MB, free: 16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.6315, allocations: 11.83 kB / 441.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.6315, allocations: 4 kB / 441.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6316, allocations: 315.6 kB / 441.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.6317, allocations: 17.05 kB / 441.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.6318, allocations: 17.72 kB / 441.4 MB, free: 15.63 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.845e-05/0.6318, allocations: 37.73 kB / 441.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6319, allocations: 0 / 441.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001712/0.632, allocations: 91.28 kB / 441.6 MB, free: 15.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.6321, allocations: 37.66 kB / 441.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6321, allocations: 0 / 441.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.6321, allocations: 0 / 441.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.6322, allocations: 4 kB / 441.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.6322, allocations: 8 kB / 441.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.6323, allocations: 0 / 441.6 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.6323, allocations: 1.797 kB / 441.6 MB, free: 15.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.863e-05/0.6324, allocations: 112.9 kB / 441.7 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.6325, allocations: 4.562 kB / 441.7 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.6326, allocations: 65.66 kB / 441.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.6327, allocations: 4 kB / 441.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6327, allocations: 0 / 441.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6327, allocations: 0 / 441.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.6329, allocations: 165.7 kB / 442 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.633, allocations: 0 / 442 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.633, allocations: 15.92 kB / 442 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.633, allocations: 0 / 442 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.6331, allocations: 4 kB / 442 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6331, allocations: 3.953 kB / 442 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6331, allocations: 0 / 442 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000182/0.6333, allocations: 147.4 kB / 442.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.258e-05/0.6334, allocations: 85.11 kB / 442.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.6334, allocations: 0 / 442.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.6335, allocations: 3.938 kB / 442.2 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.6335, allocations: 11.94 kB / 442.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.6335, allocations: 4 kB / 442.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.6337, allocations: 105.1 kB / 442.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6337, allocations: 0 / 442.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.634, allocations: 19.94 kB / 442.3 MB, free: 14.6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.001362/0.6354, allocations: 0.8922 MB / 443.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.6356, allocations: 79.39 kB / 443.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6356, allocations: 0 / 443.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.309e-05/0.6357, allocations: 8 kB / 443.3 MB, free: 13.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.636, allocations: 11.95 kB / 443.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005697/0.6365, allocations: 151.8 kB / 443.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.637, allocations: 0.6926 MB / 444.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.863e-05/0.6371, allocations: 7.984 kB / 444.2 MB, free: 12.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.6372, allocations: 23.42 kB / 444.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6372, allocations: 0 / 444.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0277/0.6649, allocations: 1.905 MB / 446.1 MB, free: 10.83 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/0.6652, allocations: 184.8 kB / 446.3 MB, free: 10.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.952, allocations: 0 / 446.3 MB, free: 10.61 MB / 378.7 MB