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.331/2.331, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.486e-05, allocations: 4 kB / 308 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3883, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004197/0.3925, allocations: 1.617 MB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003176/0.3958, allocations: 0.9185 MB / 365.4 MB, free: 10 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.396, allocations: 1.156 kB / 365.4 MB, free: 10 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.3964, allocations: 39.48 kB / 365.5 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.3966, allocations: 51.95 kB / 365.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008047/0.3975, allocations: 111 kB / 365.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005073/0.398, allocations: 149.6 kB / 365.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.3981, allocations: 2.844 kB / 365.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.3984, allocations: 94.05 kB / 365.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.3987, allocations: 102 kB / 366 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007819/0.3995, allocations: 186.3 kB / 366.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3996, allocations: 14.53 kB / 366.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3998, allocations: 61.69 kB / 366.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3999, allocations: 21.09 kB / 366.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006465/0.4006, allocations: 250.4 kB / 366.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4006, allocations: 0 / 366.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4006, allocations: 0.8125 kB / 366.5 MB, free: 9.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.4006, allocations: 0 / 366.5 MB, free: 9.352 MB / 298.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.001779/0.4024, allocations: 0.5734 MB / 367.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.4025, allocations: 9.312 kB / 367.1 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.4027, allocations: 34.16 kB / 367.1 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.4033, allocations: 248.9 kB / 367.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.4033, allocations: 19.09 kB / 367.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.623e-05/0.4035, allocations: 29.41 kB / 367.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.4052, allocations: 448.5 kB / 367.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4053, allocations: 0 / 367.8 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.4054, allocations: 14.56 kB / 367.8 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.201e-05/0.4054, allocations: 29.58 kB / 367.9 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.4074, allocations: 347.3 kB / 368.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.4107, allocations: 1.099 MB / 369.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.4119, allocations: 262.6 kB / 369.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.561e-05/0.412, allocations: 7.984 kB / 369.6 MB, free: 6.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.4121, allocations: 34.56 kB / 369.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 3.787e-06/0.4121, allocations: 0 / 369.6 MB, free: 6.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002611/0.4147, allocations: 0.6139 MB / 370.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.4148, allocations: 110.7 kB / 370.3 MB, free: 6.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008967/0.4158, allocations: 364.7 kB / 370.7 MB, free: 5.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.4158, allocations: 29.7 kB / 370.7 MB, free: 5.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/0.4161, allocations: 238.2 kB / 370.9 MB, free: 5.465 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/0.4162, allocations: 51.3 kB / 371 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.4162, allocations: 4 kB / 371 MB, free: 5.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4164, allocations: 322.8 kB / 371.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007678/0.4172, allocations: 128.2 kB / 371.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009101/0.4181, allocations: 259.6 kB / 371.7 MB, free: 4.652 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008692/0.419, allocations: 152.2 kB / 371.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4191, allocations: 4 kB / 371.8 MB, free: 4.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002072/0.4212, allocations: 409.2 kB / 372.2 MB, free: 4.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.4212, allocations: 12.09 kB / 372.3 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/0.4213, allocations: 19.98 kB / 372.3 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.4214, allocations: 8 kB / 372.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.422, allocations: 55.89 kB / 372.3 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.422, allocations: 8 kB / 372.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.4228, allocations: 63.47 kB / 372.4 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.4229, allocations: 19.98 kB / 372.4 MB, free: 3.91 MB / 298.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.000408/0.4233, allocations: 175 kB / 372.6 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.4235, allocations: 27.62 kB / 372.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4251, allocations: 304 kB / 372.9 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.4251, allocations: 4 kB / 372.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4251, allocations: 0 / 372.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.4251, allocations: 4 kB / 372.9 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.4263, allocations: 305.4 kB / 373.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.404e-05/0.4264, allocations: 15.98 kB / 373.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.4268, allocations: 35.97 kB / 373.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.4268, allocations: 0 / 373.3 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.4269, allocations: 7.984 kB / 373.3 MB, free: 2.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.4269, allocations: 4 kB / 373.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.4269, allocations: 4 kB / 373.3 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.4287, allocations: 0.5438 MB / 373.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.4289, allocations: 112.7 kB / 373.9 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.4291, allocations: 8 kB / 374 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/0.4298, allocations: 27.97 kB / 374 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4299, allocations: 19.94 kB / 374 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.43, allocations: 7.984 kB / 374 MB, free: 2.211 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001371/0.4314, allocations: 283.1 kB / 374.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.4314, allocations: 0 / 374.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001274/0.4327, allocations: 96 kB / 374.4 MB, free: 1.848 MB / 298.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.000528/0.4333, allocations: 171.6 kB / 374.5 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.4352, allocations: 450.7 kB / 375 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4352, allocations: 0 / 375 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.4361, allocations: 286.2 kB / 375.3 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4372, allocations: 61.39 kB / 375.3 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.4397, allocations: 0.6959 MB / 376 MB, free: 84 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.4404, allocations: 0.7989 MB / 376.8 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.4406, allocations: 23.8 kB / 376.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.193e-06/0.4406, allocations: 4 kB / 376.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Templates: time 0.0179/0.4585, allocations: 5.411 MB / 382.3 MB, free: 9.848 MB / 314.7 MB