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 1.981/1.981, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.769e-05, allocations: 11.94 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3503, allocations: 48.69 MB / 324.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002968/0.3534, allocations: 1.734 MB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3554, allocations: 0.9208 MB / 327.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.3557, allocations: 1.156 kB / 327.5 MB, free: 1.656 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.356, allocations: 64.59 kB / 327.6 MB, free: 1.625 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.3564, allocations: 80.72 kB / 327.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3567, allocations: 60.91 kB / 327.7 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.3569, allocations: 95.67 kB / 327.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.357, allocations: 1.969 kB / 327.8 MB, free: 1.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001742/0.3572, allocations: 60 kB / 327.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.3573, allocations: 65.86 kB / 327.9 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.3581, allocations: 271.5 kB / 328.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.3582, allocations: 13.94 kB / 328.2 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.658e-05/0.3582, allocations: 25.52 kB / 328.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.891e-05/0.3583, allocations: 14.53 kB / 328.3 MB, free: 1.328 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004497/0.3588, allocations: 182.2 kB / 328.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3588, allocations: 0 / 328.4 MB, free: 1.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.3588, allocations: 3.938 kB / 328.4 MB, free: 1.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.3588, allocations: 1.344 kB / 328.4 MB, free: 1.262 MB / 266.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.0006494/0.3595, allocations: 462.8 kB / 328.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.3596, allocations: 9.062 kB / 328.9 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.8e-05/0.3596, allocations: 27.8 kB / 328.9 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3599, allocations: 215.5 kB / 329.1 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.3599, allocations: 21 kB / 329.2 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.36, allocations: 17 kB / 329.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.3606, allocations: 231.6 kB / 329.4 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3606, allocations: 0 / 329.4 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3607, allocations: 11.33 kB / 329.4 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.3607, allocations: 4.875 kB / 329.4 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.3614, allocations: 255 kB / 329.7 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.3629, allocations: 0.623 MB / 330.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.3635, allocations: 121.3 kB / 330.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.3636, allocations: 5.188 kB / 330.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3636, allocations: 32.41 kB / 330.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.595e-06/0.3636, allocations: 1.156 kB / 330.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009402/0.3646, allocations: 184.4 kB / 330.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.3647, allocations: 52.56 kB / 330.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004027/0.3651, allocations: 239.5 kB / 330.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.3651, allocations: 31.08 kB / 330.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3653, allocations: 225.8 kB / 331.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.3654, allocations: 32.22 kB / 331.2 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.3654, allocations: 9.031 kB / 331.2 MB, free: 15.32 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.3655, allocations: 319.7 kB / 331.5 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.3658, allocations: 51.7 kB / 331.6 MB, free: 15 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.3662, allocations: 151.8 kB / 331.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.3665, allocations: 80.67 kB / 331.8 MB, free: 14.83 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3666, allocations: 5.469 kB / 331.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000826/0.3674, allocations: 232.7 kB / 332 MB, free: 14.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.3674, allocations: 11.16 kB / 332 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3675, allocations: 2.656 kB / 332 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.3675, allocations: 5.469 kB / 332 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.3682, allocations: 88.11 kB / 332.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.3692, allocations: 1.217 MB / 333.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.3697, allocations: 41.95 kB / 333.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.3697, allocations: 11 kB / 333.4 MB, free: 13.5 MB / 282.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.0002024/0.3699, allocations: 135 kB / 333.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-05/0.37, allocations: 21.53 kB / 333.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/0.3708, allocations: 194.5 kB / 333.7 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3708, allocations: 5.312 kB / 333.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3708, allocations: 0 / 333.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3708, allocations: 2.406 kB / 333.8 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.372, allocations: 456.5 kB / 334.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.372, allocations: 5.328 kB / 334.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.3725, allocations: 60.41 kB / 334.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.3726, allocations: 1.375 kB / 334.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3726, allocations: 3.594 kB / 334.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009933/0.3736, allocations: 1.219 MB / 335.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3736, allocations: 1.312 kB / 335.5 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.3743, allocations: 276.8 kB / 335.8 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.3745, allocations: 96.73 kB / 335.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/0.3745, allocations: 7.766 kB / 335.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3748, allocations: 12.31 kB / 335.9 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3749, allocations: 12.7 kB / 335.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.3749, allocations: 4.781 kB / 335.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002851/0.3752, allocations: 184.2 kB / 336.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3752, allocations: 0 / 336.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005795/0.3758, allocations: 74.39 kB / 336.1 MB, free: 11.23 MB / 282.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.0003817/0.3762, allocations: 145.1 kB / 336.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.3773, allocations: 166.4 kB / 336.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3773, allocations: 0.875 kB / 336.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/0.3778, allocations: 90.67 kB / 336.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3783, allocations: 24.19 kB / 336.6 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3795, allocations: 493.3 kB / 337 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3799, allocations: 0.7389 MB / 337.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3801, allocations: 18.72 kB / 337.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of SimCode: time 1.272e-06/0.3801, allocations: 1.094 kB / 337.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of Templates: time 0.01142/0.3915, allocations: 4.209 MB / 342 MB, free: 8.855 MB / 282.7 MB