Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.374/2.374, allocations: 233 MB / 246.1 MB, free: 14.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.801e-05, allocations: 5.562 kB / 302.3 MB, free: 7.391 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 53.23 MB / 355.5 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4593/0.5743, allocations: 99.26 MB / 454.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.5747, allocations: 87.94 kB / 454.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.115/0.6898, allocations: 27.34 MB / 482.2 MB, free: 6.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6898, allocations: 0 / 482.2 MB, free: 6.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.927e-05/0.6899, allocations: 24 kB / 482.2 MB, free: 6.668 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.002704/0.6927, allocations: 0.9716 MB / 483.2 MB, free: 5.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.6927, allocations: 15.95 kB / 483.2 MB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002102/0.693, allocations: 110.5 kB / 483.3 MB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.695, allocations: 202.8 kB / 483.5 MB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.6965, allocations: 0.5783 MB / 484.1 MB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.6966, allocations: 53.27 kB / 484.2 MB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.6968, allocations: 63.94 kB / 484.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.6987, allocations: 0.7504 MB / 485 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.6988, allocations: 0 / 485 MB, free: 3.809 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.6989, allocations: 31.94 kB / 485 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/0.6991, allocations: 45.28 kB / 485 MB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.701, allocations: 0.6585 MB / 485.7 MB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007669/0.7087, allocations: 2.882 MB / 488.6 MB, free: 88 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.7107, allocations: 0.8433 MB / 489.4 MB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.7114, allocations: 255.4 kB / 489.7 MB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-05/0.7115, allocations: 16.55 kB / 489.7 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.7115, allocations: 35.12 kB / 489.7 MB, free: 14.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=58): time 3.386e-06/0.7116, allocations: 4 kB / 489.7 MB, free: 14.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=62): time 0.005084/0.7167, allocations: 1.911 MB / 491.6 MB, free: 12.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.444e-05/0.7168, allocations: 115.4 kB / 491.8 MB, free: 12.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.7176, allocations: 449 kB / 492.2 MB, free: 12.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.228e-05/0.7177, allocations: 37.7 kB / 492.2 MB, free: 12.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.7181, allocations: 344.3 kB / 492.6 MB, free: 11.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.7184, allocations: 220.8 kB / 492.8 MB, free: 11.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.7184, allocations: 16 kB / 492.8 MB, free: 11.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.7186, allocations: 378.8 kB / 493.2 MB, free: 11.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.7193, allocations: 213.5 kB / 493.4 MB, free: 11.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.72, allocations: 326.8 kB / 493.7 MB, free: 10.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006876/0.7207, allocations: 259.2 kB / 494 MB, free: 10.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.7207, allocations: 4 kB / 494 MB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001949/0.7227, allocations: 0.6905 MB / 494.6 MB, free: 9.742 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005577/0.7233, allocations: 1.14 MB / 495.8 MB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.7233, allocations: 4 kB / 495.8 MB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004081/0.7237, allocations: 60.81 kB / 495.8 MB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.7251, allocations: 183.7 kB / 496 MB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.7274, allocations: 1.622 MB / 497.7 MB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008909/0.7283, allocations: 55.95 kB / 497.7 MB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.7284, allocations: 27.98 kB / 497.7 MB, free: 6.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.7284, allocations: 4 kB / 497.7 MB, free: 6.426 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001764/0.7302, allocations: 0.6073 MB / 498.3 MB, free: 5.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.7302, allocations: 4 kB / 498.3 MB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.7306, allocations: 56.81 kB / 498.4 MB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.7319, allocations: 172.2 kB / 498.6 MB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.734, allocations: 1.616 MB / 0.4885 GB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008454/0.7348, allocations: 59.95 kB / 0.4885 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.7349, allocations: 27.94 kB / 0.4885 GB, free: 3.746 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.0002223/0.7352, allocations: 136.8 kB / 0.4887 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.7353, allocations: 71.16 kB / 0.4887 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.7373, allocations: 0.6704 MB / 0.4894 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.7373, allocations: 8 kB / 0.4894 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7374, allocations: 0 / 0.4894 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.7374, allocations: 3.984 kB / 0.4894 GB, free: 2.836 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.7431, allocations: 2.007 MB / 0.4914 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.7432, allocations: 4 kB / 0.4914 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7443, allocations: 131.8 kB / 0.4915 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.7447, allocations: 57.03 kB / 0.4916 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.7447, allocations: 28 kB / 0.4916 GB, free: 488 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.7467, allocations: 1.581 MB / 0.4931 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.215e-05/0.7468, allocations: 11.92 kB / 0.4931 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.7495, allocations: 1.444 MB / 0.4945 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003873/0.7499, allocations: 192.3 kB / 0.4947 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.7501, allocations: 23.98 kB / 0.4948 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000853/0.751, allocations: 59.91 kB / 0.4948 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.7512, allocations: 71.81 kB / 0.4949 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-05/0.7512, allocations: 24 kB / 0.4949 GB, free: 12.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006857/0.7519, allocations: 353.6 kB / 0.4952 GB, free: 12.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.655e-06/0.752, allocations: 0 / 0.4952 GB, free: 12.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001466/0.7534, allocations: 264.6 kB / 0.4955 GB, free: 12.09 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.003751/0.7572, allocations: 3.748 MB / 0.4992 GB, free: 8.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.76, allocations: 1.075 MB / 0.5002 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.76, allocations: 0 / 0.5002 GB, free: 7.039 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.7611, allocations: 443 kB / 0.5006 GB, free: 6.598 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.7623, allocations: 136.5 kB / 0.5008 GB, free: 6.469 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.7663, allocations: 1.434 MB / 0.5022 GB, free: 4.914 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007609/0.7671, allocations: 0.9985 MB / 0.5031 GB, free: 3.891 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001131/0.7683, allocations: 187 kB / 0.5033 GB, free: 3.707 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.7689, allocations: 263.3 kB / 0.5036 GB, free: 3.449 MB / 442.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7689, allocations: 0 / 0.5036 GB, free: 3.449 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05168/0.8206, allocations: 14.66 MB / 0.5179 GB, free: 4.859 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/0.8208, allocations: 188.2 kB / 0.5181 GB, free: 4.637 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.962/3.783, allocations: 7.938 kB / 0.5181 GB, free: 4.629 MB / 458.7 MB