Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.175/2.175, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.066e-05, allocations: 6.25 kB / 273.1 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08825/0.0883, allocations: 48.7 MB / 321.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4341, allocations: 80.96 MB / 402.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4344, allocations: 91.19 kB / 402.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02644/0.4609, allocations: 6.748 MB / 409.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.57e-06/0.4609, allocations: 0 / 409.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.461, allocations: 0 / 409.6 MB, free: 3.898 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007717/0.4618, allocations: 469.4 kB / 410 MB, free: 3.469 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.4618, allocations: 11.78 kB / 410 MB, free: 3.465 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.462, allocations: 27.28 kB / 410.1 MB, free: 3.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4623, allocations: 206.9 kB / 410.3 MB, free: 3.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.4624, allocations: 18.98 kB / 410.3 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.4624, allocations: 17.78 kB / 410.3 MB, free: 3.227 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005866/0.463, allocations: 211.7 kB / 410.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.4631, allocations: 0 / 410.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.4631, allocations: 9.75 kB / 410.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.4632, allocations: 7.844 kB / 410.5 MB, free: 3.164 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/0.4637, allocations: 218.4 kB / 410.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.4654, allocations: 0.6244 MB / 411.4 MB, free: 2.719 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006017/0.466, allocations: 97.38 kB / 411.5 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.4662, allocations: 37.89 kB / 411.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.321e-05/0.4663, allocations: 0 / 411.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4663, allocations: 30.56 kB / 411.5 MB, free: 2.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 4.196e-06/0.4663, allocations: 3.938 kB / 411.5 MB, free: 2.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005264/0.4669, allocations: 111.3 kB / 411.6 MB, free: 2.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.4669, allocations: 55.31 kB / 411.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.4673, allocations: 234.9 kB / 411.9 MB, free: 2.391 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.4674, allocations: 33.39 kB / 412 MB, free: 2.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4675, allocations: 225.6 kB / 412.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.357e-05/0.4676, allocations: 29.62 kB / 412.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.4676, allocations: 3.312 kB / 412.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.7e-05/0.4677, allocations: 322.3 kB / 412.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.4679, allocations: 32.84 kB / 412.6 MB, free: 1.832 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.4681, allocations: 124.9 kB / 412.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.4684, allocations: 57.47 kB / 412.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.213e-06/0.4684, allocations: 0 / 412.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007211/0.4692, allocations: 193.2 kB / 412.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.4692, allocations: 7.656 kB / 412.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.4693, allocations: 3.844 kB / 412.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.4693, allocations: 3.812 kB / 412.9 MB, free: 1.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.4701, allocations: 89.14 kB / 413 MB, free: 1.598 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.4713, allocations: 1.217 MB / 414.2 MB, free: 16.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005446/0.4719, allocations: 42.45 kB / 414.3 MB, free: 16.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.472, allocations: 11.62 kB / 414.3 MB, free: 16.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.4722, allocations: 119.6 kB / 414.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.4723, allocations: 19.34 kB / 414.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007394/0.4731, allocations: 148.2 kB / 414.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4731, allocations: 7.734 kB / 414.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-06/0.4731, allocations: 0 / 414.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.699e-06/0.4732, allocations: 0 / 414.6 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008165/0.474, allocations: 421.2 kB / 415 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-06/0.474, allocations: 0 / 415 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.4744, allocations: 62.25 kB / 415.1 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.038e-06/0.4745, allocations: 11.89 kB / 415.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.4745, allocations: 3.719 kB / 415.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009381/0.4754, allocations: 1.203 MB / 416.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4755, allocations: 4.141 kB / 416.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4758, allocations: 242.5 kB / 416.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.4759, allocations: 104.5 kB / 416.6 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.476, allocations: 3.953 kB / 416.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.4762, allocations: 11.59 kB / 416.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.4763, allocations: 26.47 kB / 416.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.4763, allocations: 3.844 kB / 416.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.4766, allocations: 183.7 kB / 416.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4766, allocations: 0 / 416.8 MB, free: 14.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.4771, allocations: 68.31 kB / 416.9 MB, free: 14.18 MB / 330.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003608/0.4775, allocations: 181.7 kB / 417.1 MB, free: 14.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005414/0.4781, allocations: 126.1 kB / 417.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.195e-06/0.4781, allocations: 0 / 417.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.4784, allocations: 63.78 kB / 417.3 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.4787, allocations: 22.55 kB / 417.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.4794, allocations: 266.8 kB / 417.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4798, allocations: 0.7347 MB / 418.3 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.753e-05/0.4799, allocations: 22.8 kB / 418.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.612e-06/0.4799, allocations: 0 / 418.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of Templates: time 0.008181/0.4881, allocations: 4.428 MB / 422.7 MB, free: 10.59 MB / 330.7 MB