Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.392/2.392, allocations: 233 MB / 246.1 MB, free: 14.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.598e-05, allocations: 4 kB / 302.3 MB, free: 7.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 53.24 MB / 355.5 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.5933, allocations: 97.23 MB / 452.8 MB, free: 4.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003184/0.5937, allocations: 83.95 kB / 452.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09155/0.6852, allocations: 21.5 MB / 474.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.6853, allocations: 3.938 kB / 474.3 MB, free: 14.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.465e-05/0.6854, allocations: 24 kB / 474.4 MB, free: 14.68 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.002464/0.6879, allocations: 0.9055 MB / 475.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.6879, allocations: 8.031 kB / 475.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.6881, allocations: 98.5 kB / 475.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001511/0.6896, allocations: 170.8 kB / 475.5 MB, free: 13.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.6911, allocations: 0.545 MB / 476.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.362e-05/0.6912, allocations: 45.31 kB / 476.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.6913, allocations: 75.83 kB / 476.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.693, allocations: 0.6371 MB / 476.8 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.6931, allocations: 3.984 kB / 476.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6932, allocations: 31.97 kB / 476.9 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.771e-05/0.6933, allocations: 29.31 kB / 476.9 MB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.6948, allocations: 0.5297 MB / 477.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006301/0.7011, allocations: 2.532 MB / 480 MB, free: 8.852 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/0.7027, allocations: 0.5896 MB / 480.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.7033, allocations: 199 kB / 480.8 MB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.36e-05/0.7033, allocations: 8.422 kB / 480.8 MB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.7034, allocations: 39 kB / 480.8 MB, free: 7.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.055e-06/0.7034, allocations: 0 / 480.8 MB, free: 7.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001233/0.7046, allocations: 439.3 kB / 481.2 MB, free: 7.523 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.7047, allocations: 115.2 kB / 481.3 MB, free: 7.387 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/0.7056, allocations: 449 kB / 481.8 MB, free: 6.938 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.205e-05/0.7056, allocations: 37.7 kB / 481.8 MB, free: 6.895 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.706, allocations: 321.2 kB / 482.1 MB, free: 6.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.7062, allocations: 177.4 kB / 482.3 MB, free: 6.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.7062, allocations: 12 kB / 482.3 MB, free: 6.391 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.7064, allocations: 374.7 kB / 482.7 MB, free: 6.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.7069, allocations: 169.1 kB / 482.9 MB, free: 5.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000554/0.7075, allocations: 256.1 kB / 483.1 MB, free: 5.566 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.708, allocations: 201.6 kB / 483.3 MB, free: 5.371 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.7081, allocations: 0 / 483.3 MB, free: 5.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001998/0.7101, allocations: 0.6328 MB / 483.9 MB, free: 4.727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000448/0.7105, allocations: 1.049 MB / 485 MB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.7106, allocations: 4 kB / 485 MB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005646/0.7111, allocations: 108.7 kB / 485.1 MB, free: 3.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.7122, allocations: 119.9 kB / 485.2 MB, free: 3.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008137/0.713, allocations: 0.685 MB / 485.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007921/0.7138, allocations: 87.41 kB / 486 MB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.7139, allocations: 20 kB / 486 MB, free: 2.551 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.7139, allocations: 4 kB / 486 MB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001512/0.7154, allocations: 0.5107 MB / 486.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.7154, allocations: 0 / 486.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.7159, allocations: 92.73 kB / 486.6 MB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/0.7169, allocations: 124.2 kB / 486.7 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.7196, allocations: 1.928 MB / 488.7 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/0.7205, allocations: 67.5 kB / 488.7 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/0.7205, allocations: 20 kB / 488.7 MB, free: 15.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.7208, allocations: 148.8 kB / 488.9 MB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.7209, allocations: 59.25 kB / 488.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.7223, allocations: 486.4 kB / 489.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/0.7223, allocations: 4 kB / 489.4 MB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7223, allocations: 4 kB / 489.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7223, allocations: 7.984 kB / 489.4 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.7248, allocations: 1.166 MB / 490.6 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.7248, allocations: 4 kB / 490.6 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.7259, allocations: 115.8 kB / 490.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.726, allocations: 7.938 kB / 490.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.726, allocations: 12 kB / 490.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.7261, allocations: 80 / 490.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7261, allocations: 3.984 kB / 490.7 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.7278, allocations: 0.7899 MB / 491.5 MB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003202/0.7281, allocations: 180.2 kB / 491.7 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.7283, allocations: 15.98 kB / 491.7 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.729, allocations: 44.06 kB / 491.8 MB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.7291, allocations: 48.27 kB / 491.8 MB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.26e-05/0.7292, allocations: 8 kB / 491.8 MB, free: 12.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000642/0.7298, allocations: 361.6 kB / 492.2 MB, free: 12.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.7298, allocations: 0 / 492.2 MB, free: 12.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001192/0.731, allocations: 259.2 kB / 492.4 MB, free: 11.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,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 (49): * Single equations (assignments): 48 * 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.00215/0.7332, allocations: 1.415 MB / 493.8 MB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.7353, allocations: 0.7921 MB / 494.6 MB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7353, allocations: 4.125 kB / 494.6 MB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.7359, allocations: 213.6 kB / 494.8 MB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.7369, allocations: 117.5 kB / 495 MB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.7412, allocations: 1.275 MB / 496.2 MB, free: 7.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/0.7421, allocations: 0.9428 MB / 497.2 MB, free: 7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001022/0.7431, allocations: 166.6 kB / 497.3 MB, free: 6.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005484/0.7437, allocations: 227.4 kB / 497.6 MB, free: 6.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7437, allocations: 0 / 497.6 MB, free: 6.613 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05017/0.7939, allocations: 13.47 MB / 0.4991 GB, free: 9.219 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/0.7943, allocations: 187.3 kB / 0.4992 GB, free: 8.992 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.861/3.655, allocations: 0 / 0.4992 GB, free: 8.992 MB / 442.7 MB