Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.122e-05, allocations: 7.984 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 61.88 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.6194, allocations: 99.55 MB / 0.4979 GB, free: 4.574 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.6197, allocations: 92.59 kB / 0.498 GB, free: 4.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1026/0.7224, allocations: 24.02 MB / 0.5214 GB, free: 12.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.428e-06/0.7224, allocations: 0 / 0.5214 GB, free: 12.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.7224, allocations: 4 kB / 0.5215 GB, free: 12.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001277/0.7237, allocations: 0.6817 MB / 0.5221 GB, free: 11.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.7238, allocations: 8.031 kB / 0.5221 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001417/0.7239, allocations: 63.25 kB / 0.5222 GB, free: 11.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005019/0.7245, allocations: 298.4 kB / 0.5225 GB, free: 11.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.7245, allocations: 49.25 kB / 0.5225 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.7246, allocations: 55.98 kB / 0.5226 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.7261, allocations: 0.7027 MB / 0.5233 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.7261, allocations: 0 / 0.5233 GB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.652e-05/0.7262, allocations: 20 kB / 0.5233 GB, free: 10.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.462e-05/0.7263, allocations: 53.22 kB / 0.5233 GB, free: 10.26 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7278, allocations: 0.752 MB / 0.5241 GB, free: 9.508 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003258/0.7311, allocations: 1.539 MB / 0.5256 GB, free: 7.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/0.732, allocations: 427.8 kB / 0.526 GB, free: 7.484 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.7324, allocations: 140 kB / 0.5261 GB, free: 7.348 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.7324, allocations: 16.2 kB / 0.5261 GB, free: 7.332 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.7325, allocations: 42.8 kB / 0.5262 GB, free: 7.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.312e-06/0.7325, allocations: 0 / 0.5262 GB, free: 7.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009401/0.7334, allocations: 374.7 kB / 0.5265 GB, free: 6.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.7335, allocations: 59.34 kB / 0.5266 GB, free: 6.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008548/0.7344, allocations: 0.519 MB / 0.5271 GB, free: 6.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.7344, allocations: 29.7 kB / 0.5271 GB, free: 6.277 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.7347, allocations: 275.5 kB / 0.5274 GB, free: 6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.7348, allocations: 94.64 kB / 0.5275 GB, free: 5.906 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.7349, allocations: 12 kB / 0.5275 GB, free: 5.895 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.7351, allocations: 366.7 kB / 0.5278 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.7356, allocations: 173 kB / 0.528 GB, free: 5.355 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006077/0.7362, allocations: 411.8 kB / 0.5284 GB, free: 4.844 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.7367, allocations: 258.5 kB / 0.5286 GB, free: 4.594 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.285e-06/0.7368, allocations: 4 kB / 0.5286 GB, free: 4.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001428/0.7382, allocations: 0.6136 MB / 0.5292 GB, free: 3.969 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.7382, allocations: 8 kB / 0.5292 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.7383, allocations: 8.875 kB / 0.5292 GB, free: 3.953 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.7383, allocations: 12 kB / 0.5293 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.7398, allocations: 247.7 kB / 0.5295 GB, free: 3.699 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005726/0.7455, allocations: 7.298 MB / 0.5366 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.7463, allocations: 83.48 kB / 0.5367 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.7463, allocations: 39.88 kB / 0.5367 GB, free: 12 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * 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.0002389/0.7466, allocations: 159.8 kB / 0.5369 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.7467, allocations: 47.34 kB / 0.5369 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.7481, allocations: 0.5245 MB / 0.5375 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.7482, allocations: 4.109 kB / 0.5375 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.957e-06/0.7482, allocations: 3.938 kB / 0.5375 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.249e-06/0.7482, allocations: 3.984 kB / 0.5375 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.749, allocations: 437.2 kB / 0.5379 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.019e-06/0.749, allocations: 3.984 kB / 0.5379 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.7504, allocations: 203.8 kB / 0.5381 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/0.7504, allocations: 4 kB / 0.5381 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.7505, allocations: 11.98 kB / 0.5381 GB, free: 10.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005656/0.7561, allocations: 7.294 MB / 0.5452 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.956e-06/0.7562, allocations: 0 / 0.5452 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009705/0.7571, allocations: 479.3 kB / 0.5457 GB, free: 2.492 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002064/0.7574, allocations: 124.5 kB / 0.5458 GB, free: 2.352 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.082e-05/0.7575, allocations: 4 kB / 0.5458 GB, free: 2.348 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.7578, allocations: 15.98 kB / 0.5458 GB, free: 2.332 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.079e-05/0.7579, allocations: 28.06 kB / 0.5458 GB, free: 2.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.758, allocations: 15.98 kB / 0.5459 GB, free: 2.289 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006448/0.7587, allocations: 397.5 kB / 0.5462 GB, free: 1.902 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.7587, allocations: 4 kB / 0.5462 GB, free: 1.898 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009943/0.7597, allocations: 195.7 kB / 0.5464 GB, free: 1.707 MB / 458.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 (28): * Single equations (assignments): 16 * 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.0005927/0.7603, allocations: 268.5 kB / 0.5467 GB, free: 1.438 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.7623, allocations: 0.5324 MB / 0.5472 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.399e-06/0.7623, allocations: 0 / 0.5472 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.7637, allocations: 295.7 kB / 0.5475 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.7644, allocations: 101.9 kB / 0.5476 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.7661, allocations: 0.7092 MB / 0.5483 GB, free: 15.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.7668, allocations: 0.9171 MB / 0.5492 GB, free: 14.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005477/0.7674, allocations: 172.3 kB / 0.5493 GB, free: 14.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.7676, allocations: 39.42 kB / 0.5494 GB, free: 14.63 MB / 474.7 MB Notification: Performance of SimCode: time 1.521e-06/0.7676, allocations: 0 / 0.5494 GB, free: 14.63 MB / 474.7 MB Notification: Performance of Templates: time 0.02534/0.7929, allocations: 10.25 MB / 0.5594 GB, free: 4.449 MB / 474.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[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,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].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].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].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].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].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].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].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].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].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].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].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].rho,n,rho[1],rho[2],rho[3],time