Notification: Performance of loadModel(Modelica): time 1.016/1.016, allocations: 111.2 MB / 118.4 MB, free: 5.684 MB / 98.76 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.688e-05, allocations: 3.906 kB / 145.9 MB, free: 10.15 MB / 130.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 25.15 MB / 171.1 MB, free: 12.16 MB / 146.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.952/3.097, allocations: 1.423 GB / 1.59 GB, free: 30.31 MB / 242.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/3.097, allocations: 51.81 kB / 1.59 GB, free: 30.29 MB / 242.8 MB Notification: Performance of FrontEnd: time 0.5742/3.672, allocations: 107 MB / 1.694 GB, free: 21.85 MB / 242.8 MB Notification: Performance of Transformations before backend: time 1.769e-05/3.672, allocations: 4 kB / 1.694 GB, free: 21.85 MB / 242.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.008608/3.68, allocations: 1.144 MB / 1.695 GB, free: 20.8 MB / 242.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/3.68, allocations: 8.031 kB / 1.695 GB, free: 20.79 MB / 242.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/3.68, allocations: 11.91 kB / 1.695 GB, free: 20.78 MB / 242.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/3.681, allocations: 218.5 kB / 1.696 GB, free: 20.54 MB / 242.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/3.681, allocations: 8 kB / 1.696 GB, free: 20.54 MB / 242.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/3.681, allocations: 15.86 kB / 1.696 GB, free: 20.52 MB / 242.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005346/3.681, allocations: 207.5 kB / 1.696 GB, free: 20.34 MB / 242.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/3.682, allocations: 208.3 kB / 1.696 GB, free: 20.13 MB / 242.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/3.682, allocations: 4 kB / 1.696 GB, free: 20.13 MB / 242.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/3.682, allocations: 0 / 1.696 GB, free: 20.13 MB / 242.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/3.682, allocations: 4 kB / 1.696 GB, free: 20.12 MB / 242.8 MB 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.001683/3.684, allocations: 1.265 MB / 1.697 GB, free: 18.83 MB / 242.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/3.684, allocations: 151.9 kB / 1.697 GB, free: 18.66 MB / 242.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/3.684, allocations: 82.61 kB / 1.697 GB, free: 18.57 MB / 242.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3082/3.992, allocations: 46.87 MB / 1.743 GB, free: 11.87 MB / 242.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/3.992, allocations: 41.58 kB / 1.743 GB, free: 11.83 MB / 242.8 MB Notification: Performance of pre-optimization done (n=23): time 2.215e-06/3.992, allocations: 0 / 1.743 GB, free: 11.83 MB / 242.8 MB Notification: Performance of matching and sorting (n=33): time 0.007348/4, allocations: 1.249 MB / 1.745 GB, free: 11.56 MB / 242.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/4, allocations: 106.8 kB / 1.745 GB, free: 11.43 MB / 242.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/4, allocations: 112.9 kB / 1.745 GB, free: 11.34 MB / 242.8 MB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/4, allocations: 29.53 kB / 1.745 GB, free: 11.31 MB / 242.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/4, allocations: 97.62 kB / 1.745 GB, free: 11.21 MB / 242.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/4, allocations: 118 kB / 1.745 GB, free: 11.16 MB / 242.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/4, allocations: 2.656 kB / 1.745 GB, free: 11.16 MB / 242.8 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/4, allocations: 324.8 kB / 1.745 GB, free: 10.84 MB / 242.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/4.001, allocations: 101 kB / 1.745 GB, free: 10.84 MB / 242.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/4.001, allocations: 158.7 kB / 1.746 GB, free: 10.78 MB / 242.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/4.002, allocations: 186 kB / 1.746 GB, free: 10.78 MB / 242.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/4.002, allocations: 0 / 1.746 GB, free: 10.78 MB / 242.8 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001804/4.004, allocations: 417.4 kB / 1.746 GB, free: 10.73 MB / 242.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/4.004, allocations: 10.56 kB / 1.746 GB, free: 10.73 MB / 242.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/4.004, allocations: 3.953 kB / 1.746 GB, free: 10.73 MB / 242.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/4.004, allocations: 32.52 kB / 1.746 GB, free: 10.72 MB / 242.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/4.005, allocations: 85.42 kB / 1.746 GB, free: 10.72 MB / 242.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004634/4.005, allocations: 0.5534 MB / 1.747 GB, free: 26.2 MB / 258.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/4.006, allocations: 26.95 kB / 1.747 GB, free: 26.2 MB / 258.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/4.006, allocations: 17.34 kB / 1.747 GB, free: 26.2 MB / 258.8 MB Warning: Assuming fixed start value for the following 3 variables: V:VARIABLE(start = 0.1 unit = "m3" ) type: Real medium.h:VARIABLE(min = -100000000.0 max = 100000000.0 start = 100000.0 unit = "J/kg" nominal = 1000000.0 stateSelect=StateSelect.prefer ) "Specific enthalpy of medium" type: Real medium.p:VARIABLE(min = max(0.0, max(0.0, 2000.0)) max = min(100000000.0, min(100000000.0, 1000000000.0)) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002852/4.006, allocations: 130.2 kB / 1.747 GB, free: 26.09 MB / 258.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001835/4.008, allocations: 389.6 kB / 1.747 GB, free: 26.03 MB / 258.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/4.008, allocations: 14 kB / 1.747 GB, free: 26.03 MB / 258.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/4.011, allocations: 1.154 MB / 1.748 GB, free: 25.91 MB / 258.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/4.011, allocations: 18.66 kB / 1.748 GB, free: 25.91 MB / 258.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/4.011, allocations: 3.781 kB / 1.748 GB, free: 25.91 MB / 258.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/4.011, allocations: 6.062 kB / 1.748 GB, free: 25.91 MB / 258.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/4.014, allocations: 1.549 MB / 1.75 GB, free: 25.56 MB / 258.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/4.014, allocations: 0 / 1.75 GB, free: 25.56 MB / 258.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007482/4.015, allocations: 87.3 kB / 1.75 GB, free: 25.55 MB / 258.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/4.016, allocations: 66.62 kB / 1.75 GB, free: 25.54 MB / 258.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/4.016, allocations: 13.61 kB / 1.75 GB, free: 25.54 MB / 258.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000516/4.016, allocations: 0.6072 MB / 1.751 GB, free: 25.02 MB / 258.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/4.016, allocations: 4.406 kB / 1.751 GB, free: 25.02 MB / 258.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/4.019, allocations: 1.526 MB / 1.752 GB, free: 24.55 MB / 258.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/4.019, allocations: 121 kB / 1.752 GB, free: 24.44 MB / 258.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.331e-05/4.019, allocations: 2.812 kB / 1.752 GB, free: 24.44 MB / 258.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/4.02, allocations: 23.8 kB / 1.752 GB, free: 24.44 MB / 258.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/4.02, allocations: 27.81 kB / 1.752 GB, free: 24.44 MB / 258.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-05/4.02, allocations: 25.81 kB / 1.752 GB, free: 24.43 MB / 258.8 MB Notification: Performance of sorting global known variables: time 7.168e-05/4.02, allocations: 87.5 kB / 1.753 GB, free: 24.36 MB / 258.8 MB Notification: Performance of sort global known variables: time 4.41e-07/4.02, allocations: 0 / 1.753 GB, free: 24.36 MB / 258.8 MB Notification: Performance of remove unused functions: time 0.004772/4.025, allocations: 1.01 MB / 1.754 GB, free: 24.36 MB / 258.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 9 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01163/4.036, allocations: 3.732 MB / 1.757 GB, free: 22.85 MB / 258.8 MB Notification: Performance of simCode: created initialization part: time 0.001253/4.038, allocations: 0.497 MB / 1.758 GB, free: 22.83 MB / 258.8 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/4.038, allocations: 0 / 1.758 GB, free: 22.83 MB / 258.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008742/4.038, allocations: 450.4 kB / 1.758 GB, free: 22.83 MB / 258.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009063/4.039, allocations: 68.59 kB / 1.758 GB, free: 22.82 MB / 258.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/4.045, allocations: 1.329 MB / 1.759 GB, free: 22.42 MB / 258.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/4.046, allocations: 0.7989 MB / 1.76 GB, free: 21.73 MB / 258.8 MB Notification: Performance of simCode: alias equations: time 0.0005993/4.046, allocations: 109.7 kB / 1.76 GB, free: 21.72 MB / 258.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/4.047, allocations: 110.4 kB / 1.76 GB, free: 21.71 MB / 258.8 MB Notification: Performance of SimCode: time 9.82e-07/4.047, allocations: 3.562 kB / 1.76 GB, free: 21.71 MB / 258.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09652/4.143, allocations: 29.51 MB / 1.789 GB, free: 20.16 MB / 258.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004267/4.147, allocations: 119.3 kB / 1.789 GB, free: 19.96 MB / 258.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.047/8.194, allocations: 4 kB / 1.789 GB, free: 19.96 MB / 258.8 MB