Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.378/2.378, allocations: 233 MB / 246.1 MB, free: 14.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.959e-05, allocations: 7.938 kB / 302.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 53.24 MB / 355.5 MB, free: 2.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.5766, allocations: 99.26 MB / 454.8 MB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.577, allocations: 84.61 kB / 454.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1162/0.6931, allocations: 27.35 MB / 482.2 MB, free: 6.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6932, allocations: 0 / 482.2 MB, free: 6.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.531e-05/0.6933, allocations: 19.98 kB / 482.2 MB, free: 6.824 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.00281/0.6961, allocations: 0.9794 MB / 483.2 MB, free: 5.801 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6961, allocations: 8.031 kB / 483.2 MB, free: 5.793 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002163/0.6964, allocations: 106.5 kB / 483.3 MB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.6984, allocations: 206.7 kB / 483.5 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001549/0.7, allocations: 0.5783 MB / 484.1 MB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.7001, allocations: 53.2 kB / 484.2 MB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001821/0.7003, allocations: 67.98 kB / 484.2 MB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.7023, allocations: 0.7581 MB / 485 MB, free: 3.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.7023, allocations: 3.938 kB / 485 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.7025, allocations: 31.98 kB / 485 MB, free: 3.918 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.7026, allocations: 37.3 kB / 485.1 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.7045, allocations: 0.6624 MB / 485.7 MB, free: 3.219 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.7121, allocations: 2.874 MB / 488.6 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.7142, allocations: 0.8455 MB / 489.4 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006907/0.7149, allocations: 261.3 kB / 489.7 MB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.752e-05/0.715, allocations: 8.547 kB / 489.7 MB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.7151, allocations: 39.12 kB / 489.7 MB, free: 15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 5.811e-06/0.7151, allocations: 4 kB / 489.7 MB, free: 15 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.005304/0.7204, allocations: 1.911 MB / 491.7 MB, free: 13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.46e-05/0.7205, allocations: 111.4 kB / 491.8 MB, free: 12.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.7214, allocations: 453 kB / 492.2 MB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.7216, allocations: 33.7 kB / 492.2 MB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.7219, allocations: 348.4 kB / 492.6 MB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.7222, allocations: 220.8 kB / 492.8 MB, free: 11.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.7223, allocations: 12 kB / 492.8 MB, free: 11.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.7226, allocations: 382.7 kB / 493.2 MB, free: 11.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006395/0.7232, allocations: 213.5 kB / 493.4 MB, free: 11.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000768/0.724, allocations: 326.8 kB / 493.7 MB, free: 10.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/0.7247, allocations: 259.2 kB / 494 MB, free: 10.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.7247, allocations: 0 / 494 MB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002061/0.7268, allocations: 0.698 MB / 494.7 MB, free: 9.887 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005764/0.7274, allocations: 1.136 MB / 495.8 MB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.7274, allocations: 4 kB / 495.8 MB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.7279, allocations: 64.81 kB / 495.9 MB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.7294, allocations: 175.7 kB / 496 MB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/0.7319, allocations: 1.618 MB / 497.6 MB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.733, allocations: 55.94 kB / 497.7 MB, free: 6.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.7331, allocations: 24 kB / 497.7 MB, free: 6.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7332, allocations: 4 kB / 497.7 MB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0019/0.7351, allocations: 0.6073 MB / 498.3 MB, free: 5.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.7351, allocations: 8.375 kB / 498.3 MB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004028/0.7355, allocations: 64.81 kB / 498.4 MB, free: 5.898 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.737, allocations: 167.8 kB / 498.6 MB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.7393, allocations: 1.62 MB / 0.4885 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.7404, allocations: 55.91 kB / 0.4885 GB, free: 3.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.7405, allocations: 20.14 kB / 0.4885 GB, free: 3.906 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002752/0.7408, allocations: 144.8 kB / 0.4887 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.741, allocations: 75.16 kB / 0.4888 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.743, allocations: 0.6704 MB / 0.4894 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.7431, allocations: 4 kB / 0.4894 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7431, allocations: 0 / 0.4894 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.7431, allocations: 7.984 kB / 0.4894 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006311/0.7494, allocations: 1.995 MB / 0.4914 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/0.7495, allocations: 8 kB / 0.4914 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.7507, allocations: 136.4 kB / 0.4915 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003427/0.7511, allocations: 52.83 kB / 0.4916 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.921e-05/0.7512, allocations: 23.98 kB / 0.4916 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.7534, allocations: 1.584 MB / 0.4931 GB, free: 14.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/0.7535, allocations: 11.94 kB / 0.4931 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003143/0.7566, allocations: 1.444 MB / 0.4945 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005201/0.7572, allocations: 204.3 kB / 0.4947 GB, free: 13.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.7574, allocations: 20 kB / 0.4948 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009105/0.7583, allocations: 59.89 kB / 0.4948 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.7585, allocations: 67.81 kB / 0.4949 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/0.7586, allocations: 24 kB / 0.4949 GB, free: 12.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007709/0.7594, allocations: 361.5 kB / 0.4952 GB, free: 12.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7594, allocations: 0 / 0.4952 GB, free: 12.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001688/0.7611, allocations: 256.7 kB / 0.4955 GB, free: 12.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 7 (powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00441/0.7656, allocations: 3.748 MB / 0.4992 GB, free: 8.285 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003145/0.7688, allocations: 1.074 MB / 0.5002 GB, free: 7.191 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.7688, allocations: 4 kB / 0.5002 GB, free: 7.188 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.7702, allocations: 444.2 kB / 0.5006 GB, free: 6.746 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.7716, allocations: 130.1 kB / 0.5008 GB, free: 6.617 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004585/0.7762, allocations: 1.436 MB / 0.5022 GB, free: 5.059 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.7771, allocations: 0.9908 MB / 0.5031 GB, free: 4.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00123/0.7783, allocations: 187 kB / 0.5033 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/0.7789, allocations: 259.3 kB / 0.5035 GB, free: 3.605 MB / 442.7 MB Notification: Performance of SimCode: time 1.173e-06/0.779, allocations: 0 / 0.5035 GB, free: 3.605 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05419/0.8332, allocations: 14.66 MB / 0.5179 GB, free: 5.023 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003829/0.8336, allocations: 175.8 kB / 0.518 GB, free: 4.805 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.774, allocations: 4 kB / 0.518 GB, free: 4.801 MB / 458.7 MB