Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.067/3.067, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.016e-05, allocations: 0 / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4353, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.201/0.6363, allocations: 86.25 MB / 440.7 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000491/0.6369, allocations: 95.94 kB / 440.8 MB, free: 8.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07198/0.7089, allocations: 9.566 MB / 450.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7089, allocations: 0 / 450.3 MB, free: 15.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.452e-05/0.709, allocations: 4 kB / 450.4 MB, free: 15.08 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001852/0.7108, allocations: 0.5056 MB / 450.9 MB, free: 14.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.052e-05/0.7109, allocations: 8.031 kB / 450.9 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.7111, allocations: 42.55 kB / 450.9 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.7113, allocations: 31.56 kB / 450.9 MB, free: 14.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.7119, allocations: 226.7 kB / 451.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.7119, allocations: 4 kB / 451.2 MB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.684e-05/0.712, allocations: 12 kB / 451.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008191/0.7129, allocations: 143.9 kB / 451.3 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.7139, allocations: 244.6 kB / 451.6 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.714, allocations: 0 / 451.6 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/0.714, allocations: 0 / 451.6 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.616e-05/0.7141, allocations: 8 kB / 451.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.7169, allocations: 0.7117 MB / 452.3 MB, free: 13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.7181, allocations: 195.8 kB / 452.5 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.7185, allocations: 74.53 kB / 452.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.7185, allocations: 0 / 452.5 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.7186, allocations: 38.59 kB / 452.6 MB, free: 12.65 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.887e-06/0.7186, allocations: 0 / 452.6 MB, free: 12.65 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001125/0.7198, allocations: 157.4 kB / 452.7 MB, free: 12.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.7199, allocations: 110.9 kB / 452.8 MB, free: 12.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.7203, allocations: 160.1 kB / 453 MB, free: 12.2 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.7204, allocations: 25.7 kB / 453 MB, free: 12.17 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.7206, allocations: 148.2 kB / 453.2 MB, free: 12.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.7208, allocations: 55.23 kB / 453.2 MB, free: 11.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.7208, allocations: 0 / 453.2 MB, free: 11.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.7211, allocations: 322.8 kB / 453.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.7215, allocations: 59.95 kB / 453.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004046/0.7219, allocations: 97.67 kB / 453.7 MB, free: 11.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.7223, allocations: 59.95 kB / 453.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.7223, allocations: 3.953 kB / 453.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.7234, allocations: 193.3 kB / 453.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.7235, allocations: 8 kB / 453.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.789e-05/0.7236, allocations: 8 kB / 454 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.7237, allocations: 4 kB / 454 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006934/0.7244, allocations: 39.95 kB / 454 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.7244, allocations: 4.156 kB / 454 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006571/0.731, allocations: 27.92 kB / 454 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.7311, allocations: 7.984 kB / 454 MB, free: 11.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.7313, allocations: 112.9 kB / 454.1 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002335/0.7316, allocations: 19.77 kB / 454.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.7327, allocations: 195.2 kB / 454.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-05/0.7327, allocations: 4 kB / 454.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.7328, allocations: 0 / 454.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.7328, allocations: 7.922 kB / 454.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.734, allocations: 238 kB / 454.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.327e-05/0.7341, allocations: 8 kB / 454.6 MB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/0.7347, allocations: 35.95 kB / 454.6 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.7347, allocations: 7.953 kB / 454.7 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.7348, allocations: 4 kB / 454.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.7348, allocations: 4 kB / 454.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.7349, allocations: 0 / 454.7 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.736, allocations: 441.2 kB / 455.1 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.7362, allocations: 96.84 kB / 455.2 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.7363, allocations: 4 kB / 455.2 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007029/0.7433, allocations: 23.97 kB / 455.2 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.7435, allocations: 19.92 kB / 455.2 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.7436, allocations: 4 kB / 455.2 MB, free: 9.812 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002894/0.7439, allocations: 136.3 kB / 455.4 MB, free: 9.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7439, allocations: 4 kB / 455.4 MB, free: 9.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001506/0.7454, allocations: 79.78 kB / 455.4 MB, free: 9.598 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002223/0.7477, allocations: 1.176 MB / 456.6 MB, free: 8.387 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006876/0.7546, allocations: 213 kB / 456.8 MB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7546, allocations: 0 / 456.8 MB, free: 8.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000543/0.7552, allocations: 153.3 kB / 457 MB, free: 7.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.7562, allocations: 28.66 kB / 457 MB, free: 7.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.7589, allocations: 385.8 kB / 457.4 MB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/0.7597, allocations: 0.7626 MB / 458.2 MB, free: 6.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.7601, allocations: 33.08 kB / 458.2 MB, free: 6.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002795/0.7604, allocations: 59.41 kB / 458.2 MB, free: 6.656 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7604, allocations: 0 / 458.2 MB, free: 6.656 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08308/0.8435, allocations: 4.5 MB / 462.7 MB, free: 2.176 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0007851/0.8444, allocations: 189.5 kB / 462.9 MB, free: 1.984 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.473/4.317, allocations: 0 / 462.9 MB, free: 1.984 MB / 394.7 MB "" Variables in the reference:time,velocity[1],velocity[2],velocity[3],cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],m_flow[1],m_flow[2],m_flow[3],Re_2[1],Re_2[2],Re_2[3],Nu_2[1],Nu_2[2],Nu_2[3],mflow_test,input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_2[1],Nu_2[2],Nu_2[3],Re_2[1],Re_2[2],Re_2[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],h,input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,input_mflow_2.y_riseTime,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_con_2[3].target,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].m_flow,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].m_flow,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].m_flow,m_flow_IN_var_2[3].rho,mflow_test,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]