Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.453/2.453, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.025e-05/4.037e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4217, allocations: 60.23 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.278/9.699, allocations: 2.968 GB / 3.35 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/9.7, allocations: 75.47 kB / 3.35 GB, free: 39.35 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.071/11.77, allocations: 369.8 MB / 3.711 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.655e-06/11.77, allocations: 0 / 3.711 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001287/11.77, allocations: 48.69 kB / 3.711 GB, free: 73.62 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.02278/11.79, allocations: 4.578 MB / 3.716 GB, free: 72.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/11.79, allocations: 7.594 kB / 3.716 GB, free: 72.08 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001506/11.8, allocations: 423.8 kB / 3.716 GB, free: 71.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006669/11.8, allocations: 0.8128 MB / 3.717 GB, free: 71.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00901/11.81, allocations: 1.816 MB / 3.719 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003432/11.81, allocations: 217.5 kB / 3.719 GB, free: 70.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/11.81, allocations: 311.3 kB / 3.719 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/11.85, allocations: 8.604 MB / 3.728 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.252e-05/11.85, allocations: 4 kB / 3.728 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005139/11.85, allocations: 123.8 kB / 3.728 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/11.85, allocations: 153.9 kB / 3.728 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03627/11.88, allocations: 10.19 MB / 3.738 GB, free: 52 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.04083/11.92, allocations: 19.16 MB / 3.757 GB, free: 31.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02499/11.95, allocations: 6.441 MB / 3.763 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004785/11.95, allocations: 1.866 MB / 3.765 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6032/12.56, allocations: 64.01 MB / 3.827 GB, free: 75.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.685e-05/12.56, allocations: 56.81 kB / 3.827 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 7.073e-06/12.56, allocations: 0 / 3.827 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.05481/12.61, allocations: 10.57 MB / 3.838 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/12.61, allocations: 79.84 kB / 3.838 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/12.61, allocations: 0.5442 MB / 3.838 GB, free: 75.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001555/12.62, allocations: 73.52 kB / 3.838 GB, free: 75.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006911/12.62, allocations: 0.8211 MB / 3.839 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002559/12.62, allocations: 0.9523 MB / 3.84 GB, free: 74.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/12.62, allocations: 47.62 kB / 3.84 GB, free: 74.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000398/12.62, allocations: 456 kB / 3.84 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007839/12.63, allocations: 2.772 MB / 3.843 GB, free: 74.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008268/12.64, allocations: 3.104 MB / 3.846 GB, free: 74.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008817/12.65, allocations: 2.897 MB / 3.849 GB, free: 73.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.75e-05/12.65, allocations: 0 / 3.849 GB, free: 73.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.03184/12.68, allocations: 9.435 MB / 3.858 GB, free: 73.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000581/12.68, allocations: 2.278 MB / 3.86 GB, free: 71.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/12.68, allocations: 7.469 kB / 3.86 GB, free: 71.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03323/12.71, allocations: 8.152 MB / 3.868 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/12.71, allocations: 268.5 kB / 3.869 GB, free: 71.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03177/12.75, allocations: 9.555 MB / 3.878 GB, free: 70.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007708/12.75, allocations: 484.7 kB / 3.878 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/12.76, allocations: 328.5 kB / 3.879 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/12.76, allocations: 11.22 kB / 3.879 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02877/12.78, allocations: 9.234 MB / 3.888 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/12.78, allocations: 11.36 kB / 3.888 GB, free: 70.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0331/12.82, allocations: 8.153 MB / 3.896 GB, free: 68.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/12.82, allocations: 257.4 kB / 3.896 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03205/12.85, allocations: 9.552 MB / 3.905 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/12.86, allocations: 458.6 kB / 3.906 GB, free: 65.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/12.86, allocations: 326.8 kB / 3.906 GB, free: 65.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.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 (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.001808/12.86, allocations: 249.6 kB / 3.906 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/12.86, allocations: 138.5 kB / 3.906 GB, free: 65.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06552/12.93, allocations: 42.75 MB / 3.948 GB, free: 28.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000155/12.93, allocations: 87.64 kB / 3.948 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.892e-05/12.93, allocations: 20 kB / 3.948 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.25e-05/12.93, allocations: 15.33 kB / 3.948 GB, free: 28.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/12.95, allocations: 18.1 MB / 3.966 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-05/12.95, allocations: 4 kB / 3.966 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007746/12.96, allocations: 0.6159 MB / 3.967 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01734/12.98, allocations: 2.634 MB / 3.969 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00119/12.98, allocations: 106.9 kB / 3.969 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03801/13.02, allocations: 13.91 MB / 3.983 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/13.02, allocations: 0 / 3.983 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03943/13.06, allocations: 12.15 MB / 3.995 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4026/13.46, allocations: 0.7549 MB / 3.995 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/13.46, allocations: 72.72 kB / 3.996 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006575/13.47, allocations: 304.6 kB / 3.996 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001825/13.47, allocations: 211.1 kB / 3.996 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007627/13.47, allocations: 96.55 kB / 3.996 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001052/13.47, allocations: 410.5 kB / 3.997 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.31e-07/13.47, allocations: 0 / 3.997 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01622/13.49, allocations: 2.82 MB / 3.999 GB, free: 106.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 44 ($cse2.phase,$cse2.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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04381/13.53, allocations: 14.06 MB / 4.013 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03568/13.57, allocations: 11.17 MB / 4.024 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/13.57, allocations: 0 / 4.024 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01345/13.58, allocations: 4.207 MB / 4.028 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007588/13.59, allocations: 0.7266 MB / 4.029 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03093/13.62, allocations: 9.222 MB / 4.038 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002468/13.62, allocations: 2.27 MB / 4.04 GB, free: 103 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00608/13.63, allocations: 1.485 MB / 4.041 GB, free: 103 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003397/13.63, allocations: 1.172 MB / 4.043 GB, free: 103 MB / 0.5417 GB Notification: Performance of SimCode: time 1.663e-06/13.63, allocations: 1.594 kB / 4.043 GB, free: 103 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8058/14.44, allocations: 207.1 MB / 4.245 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/14.44, allocations: 204.1 kB / 4.245 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.117/23.55, allocations: 0 / 4.245 GB, free: 104.4 MB / 0.5417 GB