Running command: "" <> buildModelFMU(ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestST3LRh_valve,fileNamePrefix="ThermoPower_ThermoPower_PowerPlants_SteamTurbineGroup_Tests_TestST3LRh_valve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.566/2.566, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.03e-05/4.058e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 60.24 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.75/10.17, allocations: 3.033 GB / 3.415 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/10.17, allocations: 75.34 kB / 3.415 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.107/15.28, allocations: 0.9834 GB / 4.398 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of FrontEnd: time 7.904e-06/15.28, allocations: 3.984 kB / 4.398 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001253/15.28, allocations: 39.86 kB / 4.398 GB, free: 11.92 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.01569/15.3, allocations: 3.075 MB / 4.401 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/15.3, allocations: 8.031 kB / 4.401 GB, free: 8.781 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005219/15.3, allocations: 164.8 kB / 4.401 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/15.3, allocations: 255.8 kB / 4.402 GB, free: 8.359 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/15.3, allocations: 0.8283 MB / 4.402 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/15.3, allocations: 94.06 kB / 4.402 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/15.3, allocations: 116 kB / 4.403 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/15.31, allocations: 1.501 MB / 4.404 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/15.31, allocations: 7.938 kB / 4.404 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/15.31, allocations: 48 kB / 4.404 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.663e-05/15.31, allocations: 28 kB / 4.404 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/15.31, allocations: 1.007 MB / 4.405 GB, free: 4.527 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.5028/15.82, allocations: 6.954 MB / 4.412 GB, free: 43.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005618/15.82, allocations: 1.059 MB / 4.413 GB, free: 43.43 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/15.82, allocations: 271 kB / 4.413 GB, free: 43.42 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2081/16.03, allocations: 63.98 MB / 4.476 GB, free: 20.38 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/16.03, allocations: 40.44 kB / 4.476 GB, free: 20.34 MB / 0.573 GB Notification: Performance of pre-optimization done (n=63): time 3.797e-06/16.03, allocations: 0 / 4.476 GB, free: 20.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=66): time 0.01522/16.05, allocations: 2.546 MB / 4.478 GB, free: 35.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/16.05, allocations: 57.69 kB / 4.478 GB, free: 35.77 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/16.05, allocations: 0.8602 MB / 4.479 GB, free: 35.62 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002659/16.05, allocations: 39.77 kB / 4.479 GB, free: 35.59 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/16.05, allocations: 0.546 MB / 4.48 GB, free: 35.41 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/16.05, allocations: 233.1 kB / 4.48 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/16.05, allocations: 19.03 kB / 4.48 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001628/16.05, allocations: 344.5 kB / 4.48 GB, free: 34.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/16.05, allocations: 275.3 kB / 4.481 GB, free: 34.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008897/16.05, allocations: 0.5455 MB / 4.481 GB, free: 34.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/16.05, allocations: 329 kB / 4.481 GB, free: 34.56 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/16.05, allocations: 7.781 kB / 4.481 GB, free: 34.55 MB / 0.5886 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003901/16.06, allocations: 1.119 MB / 4.482 GB, free: 34.41 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001887/16.06, allocations: 4.192 MB / 4.487 GB, free: 30.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.79e-05/16.06, allocations: 11.44 kB / 4.487 GB, free: 30.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0129/16.07, allocations: 0.9288 MB / 4.487 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/16.07, allocations: 172 kB / 4.488 GB, free: 29.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/16.08, allocations: 2.602 MB / 4.49 GB, free: 27.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002232/16.08, allocations: 96.06 kB / 4.49 GB, free: 27.86 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/16.08, allocations: 55.19 kB / 4.49 GB, free: 27.86 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/16.08, allocations: 7.594 kB / 4.49 GB, free: 27.86 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003344/16.08, allocations: 0.9047 MB / 4.491 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/16.08, allocations: 10.84 kB / 4.491 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001688/16.08, allocations: 229.5 kB / 4.491 GB, free: 27.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/16.08, allocations: 232.3 kB / 4.492 GB, free: 27.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/16.09, allocations: 4.648 MB / 4.496 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/16.09, allocations: 97.62 kB / 4.496 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/16.09, allocations: 51.22 kB / 4.496 GB, free: 23.46 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: 48 * Number of states: 0 () * Number of discrete variables: 10 (steamTurbines.ST_LP.steamState_in.phase,steamTurbines.ST_IP.steamState_in.phase,steamTurbines.ST_HP.steamState_in.phase,steamTurbines.valveLP.fluidState.phase,steamTurbines.valveIP.fluidState.phase,steamTurbines.valveHP.fluidState.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 (87): * Single equations (assignments): 83 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 8,1 5,1 8,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006049/16.09, allocations: 226.9 kB / 4.497 GB, free: 23.34 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/16.09, allocations: 120.8 kB / 4.497 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006817/16.1, allocations: 3.124 MB / 4.5 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.65e-05/16.1, allocations: 29.78 kB / 4.5 GB, free: 22.96 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/16.1, allocations: 3.953 kB / 4.5 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.297e-05/16.1, allocations: 4.703 kB / 4.5 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/16.1, allocations: 1.576 MB / 4.501 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/16.1, allocations: 3.969 kB / 4.501 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/16.1, allocations: 83.56 kB / 4.501 GB, free: 22.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0125/16.12, allocations: 1.885 MB / 4.503 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001963/16.12, allocations: 19.27 kB / 4.503 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004032/16.12, allocations: 3.279 MB / 4.506 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/16.12, allocations: 0.5625 kB / 4.506 GB, free: 20.53 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0069/16.13, allocations: 3.195 MB / 4.51 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008412/16.13, allocations: 283.5 kB / 4.51 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002999/16.13, allocations: 13.72 kB / 4.51 GB, free: 19.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/16.13, allocations: 88.72 kB / 4.51 GB, free: 19.92 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/16.13, allocations: 50.69 kB / 4.51 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-05/16.13, allocations: 23.23 kB / 4.51 GB, free: 19.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001539/16.13, allocations: 0.755 MB / 4.511 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.01e-07/16.13, allocations: 0 / 4.511 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0101/16.14, allocations: 1.858 MB / 4.513 GB, free: 19.8 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: 14 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 11,1 5,1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.02128/16.16, allocations: 5.43 MB / 4.518 GB, free: 18.62 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005168/16.17, allocations: 1.694 MB / 4.52 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/16.17, allocations: 0 / 4.52 GB, free: 18.29 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001678/16.17, allocations: 0.6658 MB / 4.52 GB, free: 18.27 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005525/16.18, allocations: 0.5565 MB / 4.521 GB, free: 18.22 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/16.19, allocations: 2.764 MB / 4.523 GB, free: 17.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/16.19, allocations: 1.237 MB / 4.525 GB, free: 16.78 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00244/16.19, allocations: 0.6405 MB / 4.525 GB, free: 16.73 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008895/16.19, allocations: 0.5589 MB / 4.526 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of SimCode: time 1.493e-06/16.19, allocations: 0 / 4.526 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2071/16.4, allocations: 89.68 MB / 4.613 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003807/16.4, allocations: 193.1 kB / 4.614 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/23.18, allocations: 0 / 4.614 GB, free: 11.06 MB / 0.6042 GB