Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_DB",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.538/2.538, allocations: 254.6 MB / 267.6 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.619e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4148, allocations: 60.23 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.954/9.368, allocations: 2.977 GB / 3.359 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/9.369, allocations: 79.08 kB / 3.359 GB, free: 30.01 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/11.56, allocations: 383.2 MB / 3.734 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/11.56, allocations: 0 / 3.734 GB, free: 59.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.61e-05/11.56, allocations: 36 kB / 3.734 GB, free: 59.76 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.01668/11.58, allocations: 2.891 MB / 3.736 GB, free: 56.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/11.58, allocations: 8.031 kB / 3.736 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001357/11.58, allocations: 287.7 kB / 3.737 GB, free: 56.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/11.58, allocations: 0.5758 MB / 3.737 GB, free: 55.96 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007058/11.59, allocations: 1.309 MB / 3.738 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/11.59, allocations: 147.8 kB / 3.739 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001243/11.59, allocations: 203.9 kB / 3.739 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02059/11.61, allocations: 5.204 MB / 3.744 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.666e-05/11.61, allocations: 7.875 kB / 3.744 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007827/11.61, allocations: 76 kB / 3.744 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/11.61, allocations: 91.92 kB / 3.744 GB, free: 48.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0212/11.63, allocations: 5.77 MB / 3.75 GB, free: 43.08 MB / 0.5105 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.02708/11.66, allocations: 11.86 MB / 3.761 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01976/11.68, allocations: 4.345 MB / 3.766 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003916/11.68, allocations: 1.446 MB / 3.767 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7602/12.44, allocations: 112.8 MB / 3.877 GB, free: 39.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.689e-05/12.44, allocations: 59.38 kB / 3.877 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 1.124e-05/12.44, allocations: 0 / 3.877 GB, free: 39.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.05826/12.5, allocations: 6.069 MB / 3.883 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/12.5, allocations: 80.05 kB / 3.883 GB, free: 39.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/12.5, allocations: 498.7 kB / 3.884 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001129/12.51, allocations: 69.83 kB / 3.884 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/12.51, allocations: 0.5117 MB / 3.884 GB, free: 38.93 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001908/12.51, allocations: 0.8275 MB / 3.885 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005921/12.51, allocations: 42.84 kB / 3.885 GB, free: 38.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002947/12.51, allocations: 443 kB / 3.886 GB, free: 38.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006812/12.52, allocations: 1.814 MB / 3.887 GB, free: 38.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006644/12.52, allocations: 2.062 MB / 3.889 GB, free: 37.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005511/12.53, allocations: 1.976 MB / 3.891 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/12.53, allocations: 7.844 kB / 3.891 GB, free: 37.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.02094/12.55, allocations: 6.425 MB / 3.898 GB, free: 37.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003365/12.55, allocations: 1.403 MB / 3.899 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.948e-05/12.55, allocations: 4.406 kB / 3.899 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08964/12.64, allocations: 8.928 MB / 3.908 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/12.64, allocations: 114.6 kB / 3.908 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/12.66, allocations: 7.487 MB / 3.915 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00495/12.67, allocations: 328.4 kB / 3.915 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/12.67, allocations: 207.3 kB / 3.916 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/12.67, allocations: 6.062 kB / 3.916 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02006/12.69, allocations: 6.268 MB / 3.922 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/12.69, allocations: 8 kB / 3.922 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08874/12.78, allocations: 8.922 MB / 3.93 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/12.78, allocations: 109.7 kB / 3.93 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0229/12.8, allocations: 7.486 MB / 3.938 GB, free: 31.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004761/12.81, allocations: 301.8 kB / 3.938 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008678/12.81, allocations: 205.8 kB / 3.938 GB, free: 31.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.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 {10 202} Notification: Performance of prepare postOptimizeDAE: time 0.001146/12.81, allocations: 214.6 kB / 3.938 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/12.81, allocations: 139 kB / 3.939 GB, free: 30.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0358/12.85, allocations: 22.67 MB / 3.961 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-05/12.85, allocations: 62.75 kB / 3.961 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/12.85, allocations: 4 kB / 3.961 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.475e-05/12.85, allocations: 10.78 kB / 3.961 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/12.86, allocations: 9.936 MB / 3.971 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.88e-05/12.86, allocations: 0 / 3.971 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/12.87, allocations: 0.5014 MB / 3.971 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006706/12.87, allocations: 0.9753 MB / 3.972 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008989/12.87, allocations: 85.2 kB / 3.972 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/12.89, allocations: 5.661 MB / 3.978 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/12.89, allocations: 0 / 3.978 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02398/12.91, allocations: 7.768 MB / 3.985 GB, free: 5.227 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/12.92, allocations: 0.6319 MB / 3.986 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007671/12.92, allocations: 59.8 kB / 3.986 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/12.92, allocations: 169.7 kB / 3.986 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000886/12.92, allocations: 175.4 kB / 3.986 GB, free: 4.387 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004047/12.92, allocations: 86.56 kB / 3.986 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009144/12.92, allocations: 384.3 kB / 3.987 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.31e-07/12.92, allocations: 0 / 3.987 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01175/12.94, allocations: 2.232 MB / 3.989 GB, free: 1.883 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03509/12.97, allocations: 9.894 MB / 3.998 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02515/13, allocations: 7.274 MB / 4.006 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/13, allocations: 4.062 kB / 4.006 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008649/13, allocations: 2.708 MB / 4.008 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00617/13.01, allocations: 0.6331 MB / 4.009 GB, free: 140 kB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4186/13.43, allocations: 6.172 MB / 4.015 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/13.43, allocations: 1.71 MB / 4.017 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003872/13.44, allocations: 0.6943 MB / 4.017 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002554/13.44, allocations: 0.7841 MB / 4.018 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.683e-06/13.44, allocations: 2.531 kB / 4.018 GB, free: 114.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3174/13.76, allocations: 153.5 MB / 4.168 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003513/13.76, allocations: 197.5 kB / 4.168 GB, free: 48.56 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.314/22.07, allocations: 0 / 4.168 GB, free: 48.56 MB / 0.5573 GB