Running command: "" <> buildModelFMU(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator,fileNamePrefix="ThermoPower_ThermoPower_Examples_BraytonCycle_OpenLoopSimulator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.673/2.673, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.093e-05, allocations: 0 / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3958, allocations: 60.22 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.346/2.742, allocations: 0.7646 GB / 1.147 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/2.743, allocations: 86 kB / 1.147 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.421/9.164, allocations: 1.18 GB / 2.326 GB, free: 75.89 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.495e-06/9.164, allocations: 1.438 kB / 2.326 GB, free: 75.89 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0005505/9.165, allocations: 72.89 kB / 2.326 GB, free: 75.89 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: 561 * Number of variables: 561 Notification: Performance of Generate backend data structure: time 0.01156/9.176, allocations: 2.781 MB / 2.329 GB, free: 75.05 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/9.176, allocations: 9.656 kB / 2.329 GB, free: 75.05 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001482/9.178, allocations: 312.3 kB / 2.33 GB, free: 75 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/9.183, allocations: 0.5982 MB / 2.33 GB, free: 74.82 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008322/9.191, allocations: 2.265 MB / 2.332 GB, free: 74.45 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/9.192, allocations: 166.9 kB / 2.332 GB, free: 74.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/9.193, allocations: 228 kB / 2.333 GB, free: 74.44 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01055/9.203, allocations: 2.987 MB / 2.336 GB, free: 74.18 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.563e-05/9.204, allocations: 8.188 kB / 2.336 GB, free: 74.18 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008128/9.204, allocations: 107.8 kB / 2.336 GB, free: 74.18 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001101/9.204, allocations: 82.28 kB / 2.336 GB, free: 74.17 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007417/9.212, allocations: 2.329 MB / 2.338 GB, free: 74.15 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.03121/9.243, allocations: 13.18 MB / 2.351 GB, free: 68.31 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/9.246, allocations: 0.9753 MB / 2.352 GB, free: 68.29 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/9.248, allocations: 0.7635 MB / 2.353 GB, free: 68.27 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/9.249, allocations: 304.8 kB / 2.353 GB, free: 68.08 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/9.249, allocations: 63.06 kB / 2.353 GB, free: 68.04 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=106): time 4.167e-06/9.249, allocations: 0 / 2.353 GB, free: 68.04 MB / 0.5573 GB Notification: Performance of matching and sorting (n=119): time 0.02217/9.271, allocations: 5.097 MB / 2.358 GB, free: 66.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/9.271, allocations: 169.6 kB / 2.358 GB, free: 66.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009047/9.281, allocations: 3.541 MB / 2.362 GB, free: 66.46 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006291/9.281, allocations: 63.3 kB / 2.362 GB, free: 66.43 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00179/9.283, allocations: 1.388 MB / 2.363 GB, free: 66.04 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/9.284, allocations: 437.5 kB / 2.363 GB, free: 65.77 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000194/9.284, allocations: 32.41 kB / 2.363 GB, free: 65.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001237/9.284, allocations: 362.4 kB / 2.364 GB, free: 65.46 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001976/9.286, allocations: 0.7778 MB / 2.365 GB, free: 65.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/9.288, allocations: 1.094 MB / 2.366 GB, free: 65.12 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.02355/9.312, allocations: 3.837 MB / 2.369 GB, free: 64.97 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/9.312, allocations: 3.812 kB / 2.369 GB, free: 64.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007914/9.32, allocations: 2.667 MB / 2.372 GB, free: 64.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007615/9.321, allocations: 3.562 MB / 2.375 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/9.321, allocations: 7.969 kB / 2.375 GB, free: 60.96 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008144/9.329, allocations: 1.154 MB / 2.377 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/9.332, allocations: 305.9 kB / 2.377 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005154/9.337, allocations: 3.703 MB / 2.38 GB, free: 58.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/9.341, allocations: 246.3 kB / 2.381 GB, free: 58.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/9.342, allocations: 90.05 kB / 2.381 GB, free: 58.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/9.342, allocations: 3.844 kB / 2.381 GB, free: 58.62 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006706/9.348, allocations: 2.338 MB / 2.383 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.605e-05/9.349, allocations: 10.25 kB / 2.383 GB, free: 58.58 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005854/9.354, allocations: 0.9502 MB / 2.384 GB, free: 58.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/9.357, allocations: 336.8 kB / 2.384 GB, free: 58.56 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005242/9.363, allocations: 4.753 MB / 2.389 GB, free: 55.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/9.367, allocations: 243.1 kB / 2.389 GB, free: 55.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/9.367, allocations: 90.78 kB / 2.389 GB, free: 55.09 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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 141 * 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 {12 32} Notification: Performance of prepare postOptimizeDAE: time 0.0007961/9.368, allocations: 204.3 kB / 2.39 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/9.369, allocations: 293.8 kB / 2.39 GB, free: 54.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006256/9.376, allocations: 2.119 MB / 2.392 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/9.376, allocations: 9.25 kB / 2.392 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/9.376, allocations: 5.094 kB / 2.392 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.37e-05/9.376, allocations: 7.453 kB / 2.392 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/9.39, allocations: 5.181 MB / 2.397 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/9.391, allocations: 0 / 2.397 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/9.394, allocations: 326.8 kB / 2.397 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002627/9.397, allocations: 313.2 kB / 2.398 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003299/9.397, allocations: 45.89 kB / 2.398 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004388/9.402, allocations: 5.845 MB / 2.403 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/9.402, allocations: 0 / 2.403 GB, free: 49.05 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/9.409, allocations: 2.706 MB / 2.406 GB, free: 48.71 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003134/9.412, allocations: 0.7922 MB / 2.407 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/9.413, allocations: 37.34 kB / 2.407 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004975/9.418, allocations: 219.1 kB / 2.407 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/9.419, allocations: 79.19 kB / 2.407 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005176/9.419, allocations: 114 kB / 2.407 GB, free: 48.46 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006754/9.426, allocations: 2.724 MB / 2.41 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.22e-07/9.426, allocations: 0 / 2.41 GB, free: 48.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008024/9.434, allocations: 1.515 MB / 2.411 GB, free: 48.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 103 * 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.01457/9.449, allocations: 5.28 MB / 2.416 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01002/9.459, allocations: 3.346 MB / 2.42 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-05/9.459, allocations: 10.72 kB / 2.42 GB, free: 46.99 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003149/9.462, allocations: 1.057 MB / 2.421 GB, free: 46.87 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01035/9.472, allocations: 1.18 MB / 2.422 GB, free: 46.83 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/9.491, allocations: 6.018 MB / 2.428 GB, free: 45.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/9.495, allocations: 2.066 MB / 2.43 GB, free: 44.92 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009089/9.504, allocations: 1.608 MB / 2.431 GB, free: 44.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002707/9.507, allocations: 1.158 MB / 2.433 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of SimCode: time 1.383e-06/9.507, allocations: 0 / 2.433 GB, free: 44.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7436/10.25, allocations: 123.4 MB / 2.553 GB, free: 70.88 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/10.25, allocations: 223.7 kB / 2.553 GB, free: 70.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/18.36, allocations: 3 kB / 2.553 GB, free: 70.65 MB / 0.5573 GB