Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_base,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_base",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.312/2.312, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.216e-05, allocations: 0 / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3919, allocations: 60.23 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.185/9.576, allocations: 2.988 GB / 3.37 GB, free: 18.78 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/9.577, allocations: 75.22 kB / 3.37 GB, free: 18.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.98/15.56, allocations: 1.071 GB / 4.441 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.684e-06/15.56, allocations: 0 / 4.441 GB, free: 44.79 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.874e-05/15.56, allocations: 29.8 kB / 4.441 GB, free: 44.79 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.01167/15.57, allocations: 2.71 MB / 4.444 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/15.57, allocations: 10.09 kB / 4.444 GB, free: 43.71 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/15.57, allocations: 137.7 kB / 4.444 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/15.57, allocations: 199.2 kB / 4.444 GB, free: 43.62 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/15.57, allocations: 0.6405 MB / 4.445 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/15.57, allocations: 66.62 kB / 4.445 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/15.57, allocations: 87.78 kB / 4.445 GB, free: 43.33 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/15.58, allocations: 1.222 MB / 4.446 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/15.58, allocations: 3.625 kB / 4.446 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/15.58, allocations: 42.34 kB / 4.446 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/15.58, allocations: 26.12 kB / 4.446 GB, free: 42.94 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/15.58, allocations: 0.7188 MB / 4.447 GB, free: 42.94 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.007221/15.58, allocations: 5.658 MB / 4.453 GB, free: 39.16 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/15.59, allocations: 430.3 kB / 4.453 GB, free: 39.13 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/15.59, allocations: 134.5 kB / 4.453 GB, free: 39.12 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2032/15.79, allocations: 63.97 MB / 4.516 GB, free: 15.83 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/15.79, allocations: 43.23 kB / 4.516 GB, free: 15.79 MB / 0.573 GB Notification: Performance of pre-optimization done (n=31): time 3.357e-06/15.79, allocations: 0 / 4.516 GB, free: 15.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=34): time 0.00684/15.8, allocations: 1.488 MB / 4.517 GB, free: 31.33 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/15.8, allocations: 58.42 kB / 4.517 GB, free: 31.27 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/15.8, allocations: 0.677 MB / 4.518 GB, free: 31.14 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/15.8, allocations: 32.7 kB / 4.518 GB, free: 31.11 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/15.8, allocations: 466.2 kB / 4.518 GB, free: 30.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/15.8, allocations: 126.7 kB / 4.518 GB, free: 30.82 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/15.8, allocations: 10.31 kB / 4.518 GB, free: 30.82 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001426/15.8, allocations: 323.5 kB / 4.519 GB, free: 30.52 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/15.8, allocations: 156.8 kB / 4.519 GB, free: 30.51 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004601/15.8, allocations: 336.1 kB / 4.519 GB, free: 30.25 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/15.8, allocations: 182.5 kB / 4.519 GB, free: 30.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/15.8, allocations: 7.75 kB / 4.519 GB, free: 30.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001752/15.8, allocations: 0.611 MB / 4.52 GB, free: 30.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001181/15.8, allocations: 2.871 MB / 4.523 GB, free: 27.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/15.8, allocations: 8.969 kB / 4.523 GB, free: 27.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/15.8, allocations: 104 kB / 4.523 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/15.8, allocations: 129.7 kB / 4.523 GB, free: 27.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/15.81, allocations: 0.6234 MB / 4.524 GB, free: 26.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/15.81, allocations: 58.5 kB / 4.524 GB, free: 26.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/15.81, allocations: 36.02 kB / 4.524 GB, free: 26.57 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/15.81, allocations: 7.094 kB / 4.524 GB, free: 26.57 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001426/15.81, allocations: 0.4892 MB / 4.524 GB, free: 26.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/15.81, allocations: 8.031 kB / 4.524 GB, free: 26.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/15.81, allocations: 103.3 kB / 4.524 GB, free: 26.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/15.81, allocations: 126.1 kB / 4.524 GB, free: 26.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005935/15.81, allocations: 0.6188 MB / 4.525 GB, free: 26.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009654/15.81, allocations: 58.42 kB / 4.525 GB, free: 26.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.576e-05/15.81, allocations: 33.27 kB / 4.525 GB, free: 26.01 MB / 0.5886 GB Warning: Assuming fixed start value for the following 2 variables: constantSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real steamTurbines.mixLP.h:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))))))))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))))))))) start = steamTurbines.mixLP.hstart unit = "J/kg" nominal = 500000.0 stateSelect=StateSelect.prefer ) "Fluid specific enthalpy" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 7 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.mixLP.fluidState.phase,steamTurbines.ST_LP.steamState_iso.phase,steamTurbines.ST_IP.steamState_iso.phase,steamTurbines.ST_HP.steamState_iso.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004102/15.81, allocations: 197 kB / 4.525 GB, free: 25.89 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/15.81, allocations: 88.5 kB / 4.525 GB, free: 25.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002569/15.81, allocations: 1.346 MB / 4.527 GB, free: 25.65 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/15.81, allocations: 11.03 kB / 4.527 GB, free: 25.65 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/15.81, allocations: 0 / 4.527 GB, free: 25.65 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/15.81, allocations: 6.906 kB / 4.527 GB, free: 25.64 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/15.82, allocations: 0.9958 MB / 4.528 GB, free: 25.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/15.82, allocations: 0 / 4.528 GB, free: 25.43 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/15.82, allocations: 63.56 kB / 4.528 GB, free: 25.43 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007541/15.82, allocations: 121.1 kB / 4.528 GB, free: 25.41 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/15.82, allocations: 6.188 kB / 4.528 GB, free: 25.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006244/15.82, allocations: 0.6489 MB / 4.528 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/15.82, allocations: 0 / 4.528 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/15.82, allocations: 1.124 MB / 4.53 GB, free: 24.64 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/15.82, allocations: 251.9 kB / 4.53 GB, free: 24.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/15.82, allocations: 3.625 kB / 4.53 GB, free: 24.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009013/15.82, allocations: 72.98 kB / 4.53 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/15.82, allocations: 22.02 kB / 4.53 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/15.82, allocations: 14.81 kB / 4.53 GB, free: 24.46 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001356/15.82, allocations: 0.722 MB / 4.531 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/15.82, allocations: 0 / 4.531 GB, free: 24.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009356/15.83, allocations: 1.703 MB / 4.532 GB, free: 24.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (steamTurbines.mixLP.h,constantSpeed.phi) * Number of discrete variables: 4 ($cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/15.85, allocations: 4.092 MB / 4.536 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002061/15.85, allocations: 0.7066 MB / 4.537 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/15.85, allocations: 0 / 4.537 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/15.85, allocations: 264.5 kB / 4.537 GB, free: 22.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004266/15.86, allocations: 494.6 kB / 4.538 GB, free: 22.76 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008501/15.87, allocations: 1.906 MB / 4.54 GB, free: 22.06 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/15.87, allocations: 1.064 MB / 4.541 GB, free: 21.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001694/15.87, allocations: 487.6 kB / 4.541 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/15.87, allocations: 400.7 kB / 4.541 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.553e-06/15.87, allocations: 2.531 kB / 4.541 GB, free: 21.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1787/16.05, allocations: 79.32 MB / 4.619 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/16.05, allocations: 204.5 kB / 4.619 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.268/22.32, allocations: 3.875 kB / 4.619 GB, free: 1.484 MB / 0.5886 GB