Running command: "" <> buildModelFMU(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_BraytonCycle_ClosedLoopSimulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.438/2.438, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.785e-05/3.782e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3895, allocations: 60.23 MB / 391.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.348/2.737, allocations: 0.7653 GB / 1.147 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/2.737, allocations: 87.14 kB / 1.147 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.444/9.182, allocations: 1.181 GB / 2.328 GB, free: 76.14 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.063e-06/9.182, allocations: 0 / 2.328 GB, free: 76.14 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005623/9.182, allocations: 82.3 kB / 2.328 GB, free: 76.14 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 574 * Number of variables: 574 Notification: Performance of Generate backend data structure: time 0.01218/9.194, allocations: 2.862 MB / 2.331 GB, free: 75.26 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/9.195, allocations: 6.812 kB / 2.331 GB, free: 75.26 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001407/9.196, allocations: 320.1 kB / 2.331 GB, free: 75.21 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/9.201, allocations: 0.6 MB / 2.332 GB, free: 75.02 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008146/9.209, allocations: 2.294 MB / 2.334 GB, free: 74.65 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/9.209, allocations: 171.2 kB / 2.334 GB, free: 74.64 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001112/9.21, allocations: 236.6 kB / 2.334 GB, free: 74.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009992/9.22, allocations: 3.057 MB / 2.337 GB, free: 74.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.064e-05/9.221, allocations: 7.094 kB / 2.337 GB, free: 74.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007632/9.221, allocations: 107.3 kB / 2.337 GB, free: 74.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/9.221, allocations: 81.28 kB / 2.337 GB, free: 74.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007452/9.229, allocations: 2.37 MB / 2.34 GB, free: 74.33 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03248/9.261, allocations: 13.43 MB / 2.353 GB, free: 68.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/9.264, allocations: 1.057 MB / 2.354 GB, free: 68.34 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/9.267, allocations: 0.7948 MB / 2.355 GB, free: 68.32 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009964/9.268, allocations: 307.7 kB / 2.355 GB, free: 68.13 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.451e-05/9.268, allocations: 65.38 kB / 2.355 GB, free: 68.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=114): time 4.037e-06/9.268, allocations: 0 / 2.355 GB, free: 68.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=127): time 0.02317/9.291, allocations: 5.242 MB / 2.36 GB, free: 66.93 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/9.291, allocations: 173 kB / 2.36 GB, free: 66.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009108/9.3, allocations: 3.581 MB / 2.364 GB, free: 66.48 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006129/9.301, allocations: 64.36 kB / 2.364 GB, free: 66.45 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/9.303, allocations: 1.424 MB / 2.365 GB, free: 66.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000674/9.304, allocations: 452.8 kB / 2.366 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/9.304, allocations: 34.34 kB / 2.366 GB, free: 65.75 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001238/9.304, allocations: 363.8 kB / 2.366 GB, free: 65.45 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/9.306, allocations: 0.8061 MB / 2.367 GB, free: 65.45 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/9.308, allocations: 1.127 MB / 2.368 GB, free: 65.1 MB / 0.5573 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $DER.plant.generator.theta = plant.generator.omega_e_nom (6.283185307179586 * plant.grid.fnom = plant.generator.omega_e_nom) Notification: Performance of analyzeInitialSystem (initialization): time 0.02449/9.333, allocations: 3.942 MB / 2.372 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.24e-05/9.333, allocations: 3.656 kB / 2.372 GB, free: 64.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.009026/9.342, allocations: 2.894 MB / 2.375 GB, free: 64.73 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008219/9.343, allocations: 3.767 MB / 2.378 GB, free: 60.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.962e-05/9.343, allocations: 10.62 kB / 2.378 GB, free: 60.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01012/9.353, allocations: 1.466 MB / 2.38 GB, free: 60.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002556/9.356, allocations: 292 kB / 2.38 GB, free: 60.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/9.362, allocations: 4.029 MB / 2.384 GB, free: 58.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/9.367, allocations: 260.8 kB / 2.384 GB, free: 58.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004749/9.367, allocations: 89.3 kB / 2.384 GB, free: 58.36 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/9.367, allocations: 6.969 kB / 2.384 GB, free: 58.36 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007211/9.374, allocations: 2.443 MB / 2.387 GB, free: 58.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/9.374, allocations: 8.438 kB / 2.387 GB, free: 58.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006027/9.38, allocations: 0.9654 MB / 2.388 GB, free: 58.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00336/9.384, allocations: 371.3 kB / 2.388 GB, free: 58.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005186/9.389, allocations: 4.758 MB / 2.393 GB, free: 54.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/9.393, allocations: 240.3 kB / 2.393 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004733/9.394, allocations: 95.41 kB / 2.393 GB, free: 54.82 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.plant.generator.theta = plant.generator.omega_e_nom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {15 45} Notification: Performance of prepare postOptimizeDAE: time 0.0007998/9.395, allocations: 207.9 kB / 2.393 GB, free: 54.71 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/9.396, allocations: 306.8 kB / 2.393 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006458/9.402, allocations: 2.181 MB / 2.396 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/9.402, allocations: 15.88 kB / 2.396 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/9.402, allocations: 0 / 2.396 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/9.402, allocations: 6 kB / 2.396 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/9.417, allocations: 5.306 MB / 2.401 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/9.417, allocations: 0 / 2.401 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004138/9.421, allocations: 353 kB / 2.401 GB, free: 54.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002719/9.424, allocations: 316.1 kB / 2.401 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/9.425, allocations: 48.83 kB / 2.402 GB, free: 53.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00436/9.429, allocations: 5.847 MB / 2.407 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/9.429, allocations: 6.234 kB / 2.407 GB, free: 48.77 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007422/9.436, allocations: 2.809 MB / 2.41 GB, free: 48.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00323/9.44, allocations: 0.8095 MB / 2.411 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001239/9.441, allocations: 41.44 kB / 2.411 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005096/9.446, allocations: 212.4 kB / 2.411 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/9.447, allocations: 95.47 kB / 2.411 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004989/9.447, allocations: 119.1 kB / 2.411 GB, free: 48.16 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006977/9.454, allocations: 2.751 MB / 2.414 GB, free: 47.99 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.01e-07/9.454, allocations: 0 / 2.414 GB, free: 47.99 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008065/9.462, allocations: 1.537 MB / 2.415 GB, free: 47.93 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (plant.generator.phi,plant.generator.omega_m,plant.generator.omega_e_filt,plant.CombustionChamber1.fluegas.p,plant.CombustionChamber1.fluegas.Xi[2],plant.CombustionChamber1.fluegas.Xi[3],plant.CombustionChamber1.fluegas.Xi[4],plant.CombustionChamber1.fluegas.Xi[5],plant.CombustionChamber1.fluegas.T,plant.CombustionChamber1.fluegas.R,plant.CombustionChamber1.Tm,plant.gasFlowActuator.y,plant.powerSensor1.y,pID.I) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {3 8,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.015/9.477, allocations: 5.39 MB / 2.421 GB, free: 46.74 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01157/9.489, allocations: 3.53 MB / 2.424 GB, free: 46.66 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.786e-05/9.489, allocations: 8.844 kB / 2.424 GB, free: 46.65 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/9.492, allocations: 1.09 MB / 2.425 GB, free: 46.54 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/9.503, allocations: 1.2 MB / 2.426 GB, free: 46.49 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/9.522, allocations: 6.137 MB / 2.432 GB, free: 45.03 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00346/9.526, allocations: 2.087 MB / 2.434 GB, free: 44.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009469/9.535, allocations: 1.618 MB / 2.436 GB, free: 44.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/9.538, allocations: 1.191 MB / 2.437 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.653e-06/9.538, allocations: 0 / 2.437 GB, free: 43.08 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6793/10.22, allocations: 125.7 MB / 2.56 GB, free: 61.52 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002539/10.22, allocations: 227.2 kB / 2.56 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/18.7, allocations: 3.938 kB / 2.56 GB, free: 61.3 MB / 0.5573 GB