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_trunk_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.257e-05, allocations: 4 kB / 349.1 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 61.89 MB / 410.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002893/0.1388, allocations: 1.628 MB / 412.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.1408, allocations: 0.8929 MB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.1409, allocations: 3.828 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1412, allocations: 43.78 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.1414, allocations: 55.75 kB / 413.6 MB, free: 10.2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004943/0.1419, allocations: 103.7 kB / 413.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.1422, allocations: 159.5 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1422, allocations: 0 / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.1425, allocations: 87.7 kB / 413.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1427, allocations: 107.6 kB / 414 MB, free: 9.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.1432, allocations: 187.8 kB / 414.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.785e-05/0.1433, allocations: 16 kB / 414.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.401e-05/0.1434, allocations: 59.8 kB / 414.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.606e-05/0.1435, allocations: 24 kB / 414.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004458/0.1439, allocations: 247.6 kB / 414.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1439, allocations: 0 / 414.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.144, allocations: 0 / 414.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.144, allocations: 3.938 kB / 414.5 MB, free: 9.219 MB / 346.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.001323/0.1453, allocations: 0.5615 MB / 415.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1454, allocations: 8.031 kB / 415.1 MB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.591e-05/0.1455, allocations: 31.62 kB / 415.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004023/0.1459, allocations: 250.6 kB / 415.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.1459, allocations: 16.56 kB / 415.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.968e-05/0.146, allocations: 31.98 kB / 415.4 MB, free: 8.234 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1472, allocations: 453.7 kB / 415.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1472, allocations: 0 / 415.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.1473, allocations: 16 kB / 415.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.1473, allocations: 12.56 kB / 415.9 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1486, allocations: 349.9 kB / 416.2 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.1508, allocations: 1.108 MB / 417.4 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008552/0.1517, allocations: 251.7 kB / 417.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-05/0.1518, allocations: 7.984 kB / 417.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1518, allocations: 38.52 kB / 417.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.996e-06/0.1519, allocations: 0 / 417.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.001939/0.1538, allocations: 0.6217 MB / 418.3 MB, free: 5.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.1539, allocations: 106.8 kB / 418.4 MB, free: 5.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/0.1546, allocations: 360.7 kB / 418.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.1546, allocations: 25.7 kB / 418.8 MB, free: 4.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1548, allocations: 242.3 kB / 419 MB, free: 4.469 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.242e-05/0.1549, allocations: 51.2 kB / 419 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1549, allocations: 4 kB / 419 MB, free: 4.414 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1551, allocations: 322.8 kB / 419.4 MB, free: 4.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.1557, allocations: 132.1 kB / 419.5 MB, free: 3.957 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007031/0.1564, allocations: 251.2 kB / 419.7 MB, free: 3.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006295/0.157, allocations: 155.8 kB / 419.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.157, allocations: 4 kB / 419.9 MB, free: 3.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001477/0.1585, allocations: 401.4 kB / 420.3 MB, free: 3.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.1586, allocations: 8.094 kB / 420.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.686e-05/0.1587, allocations: 27.94 kB / 420.3 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.1587, allocations: 4 kB / 420.3 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.1591, allocations: 59.89 kB / 420.4 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1592, allocations: 7.938 kB / 420.4 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.1597, allocations: 67.5 kB / 420.4 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.743e-05/0.1597, allocations: 12 kB / 420.5 MB, free: 2.922 MB / 346.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.0002699/0.16, allocations: 173.7 kB / 420.6 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.1602, allocations: 31.62 kB / 420.7 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001074/0.1612, allocations: 300.1 kB / 421 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.1613, allocations: 7.953 kB / 421 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1613, allocations: 3.984 kB / 421 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1613, allocations: 0 / 421 MB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006541/0.162, allocations: 305.5 kB / 421.3 MB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.752e-05/0.162, allocations: 19.98 kB / 421.3 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.1623, allocations: 27.97 kB / 421.3 MB, free: 2.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1623, allocations: 4 kB / 421.3 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.1624, allocations: 7.984 kB / 421.3 MB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1624, allocations: 3.938 kB / 421.3 MB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1624, allocations: 7.953 kB / 421.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001263/0.1637, allocations: 0.5439 MB / 421.9 MB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1638, allocations: 120.6 kB / 422 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.658e-05/0.1639, allocations: 4 kB / 422 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/0.1644, allocations: 27.97 kB / 422 MB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.1645, allocations: 15.98 kB / 422 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.1646, allocations: 11.98 kB / 422.1 MB, free: 1.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000484/0.1651, allocations: 291.1 kB / 422.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1651, allocations: 0 / 422.3 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006867/0.1658, allocations: 88.08 kB / 422.4 MB, free: 0.8438 MB / 346.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.0003797/0.1662, allocations: 163.1 kB / 422.6 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.1675, allocations: 446.7 kB / 423 MB, free: 208 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1675, allocations: 0 / 423 MB, free: 208 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3163/0.4839, allocations: 283.4 kB / 423.3 MB, free: 13.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007985/0.4847, allocations: 66.09 kB / 423.4 MB, free: 13.24 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.4866, allocations: 0.7 MB / 424.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.487, allocations: 0.805 MB / 424.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.4872, allocations: 23.61 kB / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4872, allocations: 1.156 kB / 424.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of Templates: time 0.01626/0.5035, allocations: 5.404 MB / 430.3 MB, free: 11.82 MB / 346.7 MB