Running command: translateModel(ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.ClosedLoopSimulator") Notification: Performance of loadModel(ThermoPower): time 2.108/2.108, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.905e-05/2.917e-05, allocations: 4 kB / 330.8 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3079, allocations: 60.24 MB / 391 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.868/2.176, allocations: 0.7653 GB / 1.147 GB, free: 185.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/2.176, allocations: 89.47 kB / 1.147 GB, free: 185.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.073/7.249, allocations: 1.181 GB / 2.328 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.949e-06/7.249, allocations: 0 / 2.328 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003154/7.249, allocations: 83.92 kB / 2.328 GB, free: 9.559 MB / 0.5417 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.008215/7.258, allocations: 2.851 MB / 2.331 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/7.258, allocations: 8.031 kB / 2.331 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/7.262, allocations: 0.6009 MB / 2.331 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006075/7.268, allocations: 2.299 MB / 2.334 GB, free: 3.664 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/7.268, allocations: 180.4 kB / 2.334 GB, free: 3.484 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007264/7.269, allocations: 231.9 kB / 2.334 GB, free: 3.258 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007411/7.276, allocations: 3.049 MB / 2.337 GB, free: 104 kB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/7.276, allocations: 7.938 kB / 2.337 GB, free: 96 kB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3369/7.613, allocations: 101.4 kB / 2.337 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/7.613, allocations: 83.16 kB / 2.337 GB, free: 57.33 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007016/7.62, allocations: 2.373 MB / 2.339 GB, free: 57.32 MB / 0.5417 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.02404/7.645, allocations: 13.42 MB / 2.352 GB, free: 51.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/7.647, allocations: 1.062 MB / 2.354 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001768/7.649, allocations: 0.7901 MB / 2.354 GB, free: 51.47 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/7.65, allocations: 309.4 kB / 2.355 GB, free: 51.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.141e-05/7.65, allocations: 64.44 kB / 2.355 GB, free: 51.24 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=114): time 4.868e-06/7.65, allocations: 3.562 kB / 2.355 GB, free: 51.24 MB / 0.5417 GB Notification: Performance of matching and sorting (n=127): time 0.01753/7.667, allocations: 5.236 MB / 2.36 GB, free: 50.17 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/7.667, allocations: 165.8 kB / 2.36 GB, free: 49.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007/7.674, allocations: 3.582 MB / 2.363 GB, free: 49.74 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004537/7.675, allocations: 71.91 kB / 2.363 GB, free: 49.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/7.676, allocations: 1.421 MB / 2.365 GB, free: 49.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/7.677, allocations: 458.4 kB / 2.365 GB, free: 49.17 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/7.677, allocations: 33.66 kB / 2.365 GB, free: 49.17 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001182/7.677, allocations: 369.7 kB / 2.366 GB, free: 48.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/7.679, allocations: 0.8024 MB / 2.366 GB, free: 48.86 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/7.681, allocations: 1.127 MB / 2.368 GB, free: 48.5 MB / 0.5417 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.0182/7.699, allocations: 3.947 MB / 2.371 GB, free: 48.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/7.699, allocations: 3.531 kB / 2.371 GB, free: 48.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007451/7.706, allocations: 2.89 MB / 2.374 GB, free: 48.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007448/7.707, allocations: 3.762 MB / 2.378 GB, free: 44.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/7.707, allocations: 12.19 kB / 2.378 GB, free: 44.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007873/7.715, allocations: 1.463 MB / 2.379 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/7.717, allocations: 293.3 kB / 2.38 GB, free: 44.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005437/7.722, allocations: 4.038 MB / 2.384 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003192/7.725, allocations: 251.8 kB / 2.384 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002981/7.726, allocations: 88.81 kB / 2.384 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/7.726, allocations: 7.156 kB / 2.384 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005973/7.732, allocations: 2.442 MB / 2.386 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.617e-05/7.732, allocations: 10.78 kB / 2.386 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004712/7.737, allocations: 0.9633 MB / 2.387 GB, free: 41.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/7.739, allocations: 370.1 kB / 2.388 GB, free: 41.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/7.744, allocations: 4.754 MB / 2.392 GB, free: 38.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003324/7.747, allocations: 257 kB / 2.393 GB, free: 38.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/7.747, allocations: 83.2 kB / 2.393 GB, free: 38.27 MB / 0.5417 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.0006593/7.748, allocations: 207.1 kB / 2.393 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000952/7.749, allocations: 304.4 kB / 2.393 GB, free: 38.01 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005066/7.754, allocations: 2.197 MB / 2.395 GB, free: 37.87 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/7.754, allocations: 15.11 kB / 2.395 GB, free: 37.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.061e-06/7.754, allocations: 0 / 2.395 GB, free: 37.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/7.754, allocations: 7.453 kB / 2.395 GB, free: 37.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/7.766, allocations: 5.306 MB / 2.4 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.201e-06/7.766, allocations: 1.344 kB / 2.4 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/7.769, allocations: 345.6 kB / 2.401 GB, free: 37.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/7.771, allocations: 317 kB / 2.401 GB, free: 37.45 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/7.771, allocations: 52.16 kB / 2.401 GB, free: 37.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005589/7.776, allocations: 5.843 MB / 2.407 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-06/7.776, allocations: 0 / 2.407 GB, free: 48.23 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/7.783, allocations: 2.815 MB / 2.41 GB, free: 47.87 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/7.785, allocations: 0.805 MB / 2.41 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007783/7.786, allocations: 37.41 kB / 2.41 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/7.789, allocations: 222.5 kB / 2.411 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/7.789, allocations: 83.97 kB / 2.411 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003218/7.789, allocations: 116.7 kB / 2.411 GB, free: 47.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005208/7.795, allocations: 2.751 MB / 2.413 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.199e-06/7.795, allocations: 0 / 2.413 GB, free: 47.46 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005762/7.8, allocations: 1.54 MB / 2.415 GB, free: 47.45 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.006308/7.807, allocations: 2.068 MB / 2.417 GB, free: 47.14 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.008915/7.816, allocations: 3.538 MB / 2.42 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/7.816, allocations: 9.469 kB / 2.42 GB, free: 47.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/7.818, allocations: 1.088 MB / 2.422 GB, free: 46.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/7.826, allocations: 1.183 MB / 2.423 GB, free: 46.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/7.837, allocations: 5.336 MB / 2.428 GB, free: 45.86 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/7.839, allocations: 2.084 MB / 2.43 GB, free: 45.12 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006976/7.846, allocations: 1.628 MB / 2.432 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006465/7.847, allocations: 144.7 kB / 2.432 GB, free: 45.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.699e-06/7.847, allocations: 0 / 2.432 GB, free: 45.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.1743/8.021, allocations: 94.95 MB / 2.524 GB, free: 10.69 MB / 0.5573 GB