Running command: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_PowerPlantTest1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(PowerSystems): time 2.524/2.524, allocations: 233 MB / 246.1 MB, free: 14.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.642e-05, allocations: 7.938 kB / 302.3 MB, free: 7.395 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 53.24 MB / 355.5 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.499/0.6088, allocations: 97.23 MB / 452.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/0.6092, allocations: 83.95 kB / 452.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09641/0.7056, allocations: 21.49 MB / 474.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.33e-06/0.7057, allocations: 0 / 474.3 MB, free: 14.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.397e-05/0.7058, allocations: 31.86 kB / 474.4 MB, free: 14.62 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.003019/0.7088, allocations: 0.89 MB / 475.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.7089, allocations: 16.03 kB / 475.3 MB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002832/0.7092, allocations: 106.5 kB / 475.4 MB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.7109, allocations: 170.8 kB / 475.5 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.7127, allocations: 0.5489 MB / 476.1 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.7128, allocations: 49.31 kB / 476.1 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.713, allocations: 63.86 kB / 476.2 MB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.715, allocations: 0.6566 MB / 476.9 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.715, allocations: 0 / 476.9 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.7152, allocations: 20 kB / 476.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-05/0.7152, allocations: 25.31 kB / 476.9 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001641/0.7169, allocations: 0.5336 MB / 477.4 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007003/0.7239, allocations: 2.528 MB / 480 MB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.7258, allocations: 0.6014 MB / 480.6 MB, free: 8.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.7264, allocations: 191.1 kB / 480.8 MB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.7265, allocations: 8.375 kB / 480.8 MB, free: 7.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.7266, allocations: 39 kB / 480.8 MB, free: 7.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 3.357e-06/0.7266, allocations: 0 / 480.8 MB, free: 7.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.001351/0.7279, allocations: 439.3 kB / 481.2 MB, free: 7.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.7281, allocations: 111.3 kB / 481.3 MB, free: 7.332 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.729, allocations: 453 kB / 481.8 MB, free: 6.879 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.7292, allocations: 37.7 kB / 481.8 MB, free: 6.836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.7296, allocations: 321.2 kB / 482.1 MB, free: 6.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.7298, allocations: 173.4 kB / 482.3 MB, free: 6.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.7299, allocations: 8 kB / 482.3 MB, free: 6.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002295/0.7301, allocations: 382.7 kB / 482.7 MB, free: 5.957 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.7307, allocations: 157.1 kB / 482.8 MB, free: 5.805 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006047/0.7313, allocations: 268 kB / 483.1 MB, free: 5.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005924/0.7319, allocations: 197.7 kB / 483.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.7319, allocations: 4 kB / 483.3 MB, free: 5.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002188/0.7341, allocations: 0.6366 MB / 483.9 MB, free: 4.664 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005273/0.7347, allocations: 1.041 MB / 485 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.7347, allocations: 4 kB / 485 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.7354, allocations: 108.8 kB / 485.1 MB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.7365, allocations: 135.8 kB / 485.2 MB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009519/0.7375, allocations: 0.683 MB / 485.9 MB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009516/0.7385, allocations: 87.42 kB / 486 MB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-05/0.7386, allocations: 16 kB / 486 MB, free: 2.488 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.7386, allocations: 4 kB / 486 MB, free: 2.484 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001695/0.7403, allocations: 0.5106 MB / 486.5 MB, free: 1.969 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.7404, allocations: 7.984 kB / 486.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.7408, allocations: 80.81 kB / 486.6 MB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7419, allocations: 136.1 kB / 486.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.745, allocations: 1.92 MB / 488.7 MB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009088/0.7459, allocations: 67.5 kB / 488.7 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/0.746, allocations: 19.98 kB / 488.7 MB, free: 15.61 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.0002654/0.7463, allocations: 140.8 kB / 488.9 MB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.7465, allocations: 67.19 kB / 488.9 MB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.748, allocations: 482.5 kB / 489.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.748, allocations: 8 kB / 489.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.748, allocations: 0 / 489.4 MB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7481, allocations: 3.984 kB / 489.4 MB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.7508, allocations: 1.177 MB / 490.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7509, allocations: 4 kB / 490.6 MB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.752, allocations: 107.9 kB / 490.7 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.752, allocations: 4.281 kB / 490.7 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.603e-05/0.7521, allocations: 8 kB / 490.7 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.7521, allocations: 4 kB / 490.7 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.7521, allocations: 11.92 kB / 490.7 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/0.754, allocations: 0.786 MB / 491.5 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.7544, allocations: 192.2 kB / 491.7 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.7545, allocations: 12 kB / 491.7 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006968/0.7552, allocations: 39.97 kB / 491.8 MB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.7554, allocations: 40.33 kB / 491.8 MB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.7555, allocations: 12 kB / 491.8 MB, free: 12.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000699/0.7562, allocations: 361.5 kB / 492.2 MB, free: 12.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7562, allocations: 0 / 492.2 MB, free: 12.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001213/0.7574, allocations: 259.2 kB / 492.4 MB, free: 11.8 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.002334/0.7598, allocations: 1.423 MB / 493.8 MB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002279/0.7621, allocations: 0.7882 MB / 494.6 MB, free: 9.551 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7621, allocations: 4.125 kB / 494.6 MB, free: 9.547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005944/0.7627, allocations: 213.5 kB / 494.8 MB, free: 9.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7638, allocations: 106 kB / 495 MB, free: 9.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.7681, allocations: 1.279 MB / 496.2 MB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.7689, allocations: 0.9389 MB / 497.2 MB, free: 6.941 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001034/0.7699, allocations: 158.6 kB / 497.3 MB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005566/0.7705, allocations: 235.4 kB / 497.6 MB, free: 6.555 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7705, allocations: 0 / 497.6 MB, free: 6.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/0.8206, allocations: 13.47 MB / 0.499 GB, free: 9.164 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000235/0.8209, allocations: 191.7 kB / 0.4992 GB, free: 8.926 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.904/3.725, allocations: 0 / 0.4992 GB, free: 8.926 MB / 442.7 MB