Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.112/3.112, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.096e-05/4.109e-05, allocations: 0 / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5414, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2001/0.7416, allocations: 87.62 MB / 442.1 MB, free: 7.434 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000496/0.7421, allocations: 91.92 kB / 442.1 MB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07256/0.8147, allocations: 11.6 MB / 453.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8148, allocations: 0 / 453.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.8148, allocations: 4 kB / 453.7 MB, free: 11.56 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001789/0.8166, allocations: 0.6077 MB / 454.4 MB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.8167, allocations: 12.03 kB / 454.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.8169, allocations: 74.52 kB / 454.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.8171, allocations: 51.39 kB / 454.5 MB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.8178, allocations: 300.2 kB / 454.8 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.8179, allocations: 17.31 kB / 454.8 MB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.818, allocations: 28 kB / 454.8 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001767/0.8198, allocations: 0.5803 MB / 455.4 MB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.8216, allocations: 0.5582 MB / 456 MB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.8216, allocations: 3.984 kB / 456 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.435e-05/0.8217, allocations: 0 / 456 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.8218, allocations: 37.3 kB / 456 MB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004404/0.8262, allocations: 1.226 MB / 457.2 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.8281, allocations: 0.5085 MB / 457.7 MB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005742/0.8287, allocations: 164.7 kB / 457.9 MB, free: 7.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.8288, allocations: 15.97 kB / 457.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.8288, allocations: 34.56 kB / 458 MB, free: 7.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 3.868e-06/0.8288, allocations: 0 / 458 MB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.001611/0.8304, allocations: 393.5 kB / 458.3 MB, free: 6.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.8305, allocations: 59.34 kB / 458.4 MB, free: 6.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.8308, allocations: 177.2 kB / 458.6 MB, free: 6.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.8309, allocations: 25.7 kB / 458.6 MB, free: 6.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.8311, allocations: 232.3 kB / 458.8 MB, free: 6.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.8314, allocations: 118.2 kB / 458.9 MB, free: 6.176 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.8314, allocations: 0 / 458.9 MB, free: 6.176 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.8316, allocations: 334.8 kB / 459.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.8322, allocations: 156.7 kB / 459.4 MB, free: 5.688 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.8329, allocations: 250.5 kB / 459.7 MB, free: 5.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007387/0.8337, allocations: 207.8 kB / 459.9 MB, free: 5.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.8337, allocations: 0 / 459.9 MB, free: 5.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001803/0.8355, allocations: 480.5 kB / 460.3 MB, free: 4.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.8356, allocations: 10.19 kB / 460.3 MB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.8356, allocations: 4 kB / 460.3 MB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.119e-05/0.8357, allocations: 4 kB / 460.3 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002741/0.8384, allocations: 207.7 kB / 460.6 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4023/1.241, allocations: 7.315 MB / 467.9 MB, free: 97.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006538/1.241, allocations: 33.78 kB / 467.9 MB, free: 97.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/1.242, allocations: 26.09 kB / 467.9 MB, free: 97.78 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.242, allocations: 121.5 kB / 468 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.242, allocations: 21.36 kB / 468.1 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/1.244, allocations: 0.5361 MB / 468.6 MB, free: 97.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/1.244, allocations: 4.828 kB / 468.6 MB, free: 97.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.244, allocations: 3.125 kB / 468.6 MB, free: 97.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.244, allocations: 6.391 kB / 468.6 MB, free: 97.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/1.245, allocations: 379.5 kB / 469 MB, free: 97.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.245, allocations: 0.6562 kB / 469 MB, free: 97.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.248, allocations: 201.5 kB / 469.2 MB, free: 97.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/1.248, allocations: 1.625 kB / 469.2 MB, free: 97.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/1.248, allocations: 17.36 kB / 469.2 MB, free: 97.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/1.252, allocations: 7.32 MB / 476.5 MB, free: 90.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.252, allocations: 1.281 kB / 476.5 MB, free: 90.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/1.254, allocations: 0.5031 MB / 477 MB, free: 90.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/1.254, allocations: 105.3 kB / 477.1 MB, free: 90.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/1.254, allocations: 2.328 kB / 477.1 MB, free: 90.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004878/1.254, allocations: 9.125 kB / 477.1 MB, free: 90.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.255, allocations: 29.25 kB / 477.2 MB, free: 90.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/1.255, allocations: 17.92 kB / 477.2 MB, free: 90.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001569/1.255, allocations: 126.9 kB / 477.3 MB, free: 90.11 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/1.255, allocations: 0 / 477.3 MB, free: 90.11 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000955/1.256, allocations: 149.7 kB / 477.5 MB, free: 90.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/1.258, allocations: 1.126 MB / 478.6 MB, free: 89.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002841/1.261, allocations: 497.6 kB / 479.1 MB, free: 89.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.261, allocations: 0 / 479.1 MB, free: 89.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.263, allocations: 313.6 kB / 479.4 MB, free: 89.42 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/1.263, allocations: 20.02 kB / 479.4 MB, free: 89.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/1.266, allocations: 0.7508 MB / 480.1 MB, free: 89.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/1.267, allocations: 0.8974 MB / 481 MB, free: 88.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005397/1.267, allocations: 107.5 kB / 481.1 MB, free: 88.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/1.267, allocations: 123.8 kB / 481.3 MB, free: 88.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.513e-06/1.267, allocations: 0 / 481.3 MB, free: 88.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07216/1.34, allocations: 8.307 MB / 489.6 MB, free: 85.36 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000348/1.34, allocations: 191.7 kB / 489.8 MB, free: 85.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.614/4.954, allocations: 3.938 kB / 489.8 MB, free: 85.16 MB / 394.7 MB "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],Nu[1],Nu[2],Nu[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],lambda[1],lambda[2],lambda[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,m_flow_IN_con_4[3].target,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,m_flow_IN_var_4[1].cp,m_flow_IN_var_4[1].eta,m_flow_IN_var_4[1].lambda,m_flow_IN_var_4[1].m_flow,m_flow_IN_var_4[1].rho,m_flow_IN_var_4[2].cp,m_flow_IN_var_4[2].eta,m_flow_IN_var_4[2].lambda,m_flow_IN_var_4[2].m_flow,m_flow_IN_var_4[2].rho,m_flow_IN_var_4[3].cp,m_flow_IN_var_4[3].eta,m_flow_IN_var_4[3].lambda,m_flow_IN_var_4[3].m_flow,m_flow_IN_var_4[3].rho,n,rho[1],rho[2],rho[3],time