Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.09/3.09, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.601e-05, allocations: 0 / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4536, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2841/0.7377, allocations: 87.86 MB / 442.3 MB, free: 7.199 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000681/0.7384, allocations: 91.94 kB / 442.4 MB, free: 7.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.8414, allocations: 10.63 MB / 453 MB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.8415, allocations: 0 / 453 MB, free: 12.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.421e-05/0.8415, allocations: 4 kB / 453 MB, free: 12.3 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001822/0.8434, allocations: 0.6229 MB / 453.6 MB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.8434, allocations: 8.031 kB / 453.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001877/0.8436, allocations: 78.52 kB / 453.7 MB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.8438, allocations: 43.44 kB / 453.8 MB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/0.8446, allocations: 276.8 kB / 454 MB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/0.8446, allocations: 16.78 kB / 454.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.8448, allocations: 28 kB / 454.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001184/0.846, allocations: 325.9 kB / 454.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.8475, allocations: 494.6 kB / 454.9 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.502e-05/0.8476, allocations: 7.891 kB / 454.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.801e-05/0.8477, allocations: 0 / 454.9 MB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.833e-05/0.8478, allocations: 16.78 kB / 454.9 MB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003871/0.8517, allocations: 1.245 MB / 456.2 MB, free: 9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/0.8525, allocations: 231.6 kB / 456.4 MB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.8529, allocations: 106.5 kB / 456.5 MB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.853, allocations: 15.94 kB / 456.5 MB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.8531, allocations: 38.61 kB / 456.5 MB, free: 8.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 8.316e-06/0.8531, allocations: 0 / 456.5 MB, free: 8.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001208/0.8544, allocations: 253.2 kB / 456.8 MB, free: 8.316 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.8545, allocations: 102.8 kB / 456.9 MB, free: 8.191 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003943/0.8549, allocations: 192.1 kB / 457.1 MB, free: 7.996 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.8549, allocations: 25.7 kB / 457.1 MB, free: 7.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/0.8552, allocations: 224 kB / 457.3 MB, free: 7.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.8553, allocations: 55.17 kB / 457.4 MB, free: 7.688 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.8554, allocations: 0 / 457.4 MB, free: 7.688 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.8556, allocations: 334.8 kB / 457.7 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.856, allocations: 96.09 kB / 457.8 MB, free: 7.254 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004933/0.8565, allocations: 138.2 kB / 457.9 MB, free: 7.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004578/0.857, allocations: 109.7 kB / 458 MB, free: 6.996 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.857, allocations: 0 / 458 MB, free: 6.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001204/0.8582, allocations: 285.2 kB / 458.3 MB, free: 6.711 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.8583, allocations: 8.625 kB / 458.3 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001603/0.8585, allocations: 35.91 kB / 458.4 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.8585, allocations: 4 kB / 458.4 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.8591, allocations: 40.12 kB / 458.4 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8591, allocations: 0 / 458.4 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.8596, allocations: 35.81 kB / 458.4 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.8597, allocations: 15.94 kB / 458.5 MB, free: 6.574 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001725/0.8599, allocations: 111 kB / 458.6 MB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.8601, allocations: 23.73 kB / 458.6 MB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.8615, allocations: 331.9 kB / 458.9 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.8616, allocations: 11.94 kB / 458.9 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8616, allocations: 0 / 458.9 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8616, allocations: 0 / 458.9 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.8626, allocations: 329.9 kB / 459.2 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001354/0.8628, allocations: 27.97 kB / 459.3 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.8632, allocations: 31.97 kB / 459.3 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.8632, allocations: 4 kB / 459.3 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.8633, allocations: 4 kB / 459.3 MB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.8633, allocations: 4 kB / 459.3 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.8634, allocations: 0 / 459.3 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.8646, allocations: 0.5262 MB / 459.8 MB, free: 5.113 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.8647, allocations: 96.86 kB / 459.9 MB, free: 5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.8648, allocations: 7.953 kB / 459.9 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.8654, allocations: 27.97 kB / 460 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.8655, allocations: 19.98 kB / 460 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.8656, allocations: 11.98 kB / 460 MB, free: 4.934 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002556/0.8659, allocations: 144.5 kB / 460.1 MB, free: 4.793 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.8659, allocations: 0 / 460.1 MB, free: 4.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001124/0.867, allocations: 139.5 kB / 460.3 MB, free: 4.656 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002216/0.8693, allocations: 1.293 MB / 461.6 MB, free: 3.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001167/0.8705, allocations: 463.3 kB / 462 MB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8705, allocations: 0 / 462 MB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000666/0.8712, allocations: 359.1 kB / 462.4 MB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006556/0.8719, allocations: 23.84 kB / 462.4 MB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.8752, allocations: 0.6734 MB / 463.1 MB, free: 1.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007577/0.876, allocations: 0.8605 MB / 463.9 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.8763, allocations: 21.2 kB / 464 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/0.8766, allocations: 103.4 kB / 464.1 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.8766, allocations: 0 / 464.1 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4577/1.334, allocations: 6.579 MB / 470.6 MB, free: 98.99 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000923/1.335, allocations: 190.5 kB / 470.8 MB, free: 98.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.528/4.863, allocations: 4 kB / 470.8 MB, free: 98.79 MB / 394.7 MB "" Variables in the reference:time,n_nt[1],n_nt[2],n_nt[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_1[1],Re_1[2],Re_1[3],Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Nu_3[1],Nu_3[2],Nu_3[3],Re,Pr[1],Pr[2],Pr[3],input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Nu_3[1],Nu_3[2],Nu_3[3],Pr[1],Pr[2],Pr[3],Re,Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],frac_dtoL,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_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].n_nt,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].n_nt,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].n_nt,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].n_nt,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].n_nt,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].n_nt,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].n_nt,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].n_nt,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].n_nt,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].m_flow,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].m_flow,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].m_flow,m_flow_IN_var_1[3].rho,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,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].m_flow,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].m_flow,m_flow_IN_var_3[2].rho,m_flow_IN_var_3[3].cp,m_flow_IN_var_3[3].eta,m_flow_IN_var_3[3].lambda,m_flow_IN_var_3[3].m_flow,m_flow_IN_var_3[3].rho,n,n_nt[1],n_nt[2],n_nt[3],rho[1],rho[2],rho[3],time