Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.198/2.198, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.392e-05/3.398e-05, allocations: 4 kB / 304.9 MB, free: 5.625 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.363, allocations: 54.84 MB / 359.8 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.495, allocations: 87.57 MB / 447.3 MB, free: 9.414 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.4953, allocations: 97 kB / 447.4 MB, free: 9.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05701/0.5524, allocations: 13.32 MB / 460.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.5524, allocations: 0 / 460.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.5524, allocations: 4 kB / 460.8 MB, free: 11.93 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0009632/0.5534, allocations: 0.5567 MB / 461.3 MB, free: 11.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5535, allocations: 12.03 kB / 461.3 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.5536, allocations: 27.62 kB / 461.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.554, allocations: 251.8 kB / 461.6 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.554, allocations: 24.55 kB / 461.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.5541, allocations: 24 kB / 461.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.5549, allocations: 401.6 kB / 462 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.5549, allocations: 3.953 kB / 462.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.555, allocations: 12 kB / 462.1 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.555, allocations: 16.55 kB / 462.1 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.5556, allocations: 260.9 kB / 462.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.5577, allocations: 1.108 MB / 463.4 MB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.5582, allocations: 207.8 kB / 463.6 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.5584, allocations: 86.52 kB / 463.7 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.5584, allocations: 3.984 kB / 463.7 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.5585, allocations: 42.59 kB / 463.8 MB, free: 8.715 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.177e-06/0.5585, allocations: 4 kB / 463.8 MB, free: 8.711 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006356/0.5591, allocations: 205.1 kB / 464 MB, free: 8.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/0.5592, allocations: 106.8 kB / 464.1 MB, free: 8.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.5598, allocations: 355.5 kB / 464.4 MB, free: 8.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.5599, allocations: 26.73 kB / 464.5 MB, free: 7.984 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.56, allocations: 242.3 kB / 464.7 MB, free: 7.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.5601, allocations: 43.27 kB / 464.7 MB, free: 7.703 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.5602, allocations: 12.05 kB / 464.7 MB, free: 7.691 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5603, allocations: 326.8 kB / 465.1 MB, free: 7.363 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.5606, allocations: 88.17 kB / 465.2 MB, free: 7.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.5609, allocations: 197.3 kB / 465.3 MB, free: 7.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.5612, allocations: 127.8 kB / 465.5 MB, free: 6.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.044e-06/0.5612, allocations: 0 / 465.5 MB, free: 6.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007651/0.562, allocations: 309.1 kB / 465.8 MB, free: 6.594 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.562, allocations: 8.656 kB / 465.8 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.068e-05/0.5621, allocations: 23.97 kB / 465.8 MB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.5621, allocations: 12.48 kB / 465.8 MB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.5625, allocations: 55.91 kB / 465.9 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.5625, allocations: 7.984 kB / 465.9 MB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.5629, allocations: 59.52 kB / 465.9 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.976e-05/0.563, allocations: 23.98 kB / 466 MB, free: 6.406 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001396/0.5631, allocations: 128.9 kB / 466.1 MB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5633, allocations: 27.62 kB / 466.1 MB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006659/0.564, allocations: 265.1 kB / 466.4 MB, free: 5.988 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.564, allocations: 4 kB / 466.4 MB, free: 5.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.124e-06/0.564, allocations: 3.953 kB / 466.4 MB, free: 5.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-06/0.564, allocations: 4 kB / 466.4 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.5647, allocations: 305.4 kB / 466.7 MB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.5647, allocations: 19.98 kB / 466.7 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000209/0.5649, allocations: 31.97 kB / 466.7 MB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.933e-06/0.565, allocations: 4 kB / 466.7 MB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.565, allocations: 7.984 kB / 466.7 MB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.445e-06/0.565, allocations: 3.938 kB / 466.7 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.363e-06/0.565, allocations: 8 kB / 466.8 MB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.5657, allocations: 473 kB / 467.2 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.5658, allocations: 112.7 kB / 467.3 MB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.5659, allocations: 11.95 kB / 467.3 MB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.5663, allocations: 27.97 kB / 467.4 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.552e-05/0.5664, allocations: 15.98 kB / 467.4 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.717e-05/0.5665, allocations: 4 kB / 467.4 MB, free: 4.875 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003999/0.5669, allocations: 278.1 kB / 467.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.5669, allocations: 0 / 467.7 MB, free: 4.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007075/0.5676, allocations: 99.92 kB / 467.8 MB, free: 4.512 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003706/0.568, allocations: 185.8 kB / 467.9 MB, free: 4.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006683/0.5687, allocations: 370 kB / 468.3 MB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.059e-06/0.5687, allocations: 288 / 468.3 MB, free: 3.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.569, allocations: 246.1 kB / 468.5 MB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005721/0.5696, allocations: 66.22 kB / 468.6 MB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.5708, allocations: 459.9 kB / 469.1 MB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.5714, allocations: 0.7989 MB / 469.9 MB, free: 2.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5715, allocations: 31.42 kB / 469.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of SimCode: time 1.524e-06/0.5715, allocations: 0 / 469.9 MB, free: 2.242 MB / 394.7 MB Notification: Performance of Templates: time 0.01086/0.5824, allocations: 5.568 MB / 475.4 MB, free: 12.71 MB / 410.7 MB