Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.3 MB / 224.4 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.905e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3735, allocations: 48.7 MB / 324.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.00355/0.3771, allocations: 2.109 MB / 327 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002554/0.3797, allocations: 1.234 MB / 328.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002528/0.38, allocations: 2.344 kB / 328.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.3803, allocations: 74.31 kB / 328.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.3808, allocations: 119.3 kB / 328.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3814, allocations: 160.8 kB / 328.6 MB, free: 1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002775/0.3817, allocations: 150.2 kB / 328.7 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.3817, allocations: 4.156 kB / 328.7 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.3819, allocations: 76.14 kB / 328.8 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.3821, allocations: 108.8 kB / 328.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.3837, allocations: 0.5676 MB / 329.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.3839, allocations: 34 kB / 329.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.384, allocations: 42.69 kB / 329.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.3842, allocations: 23.97 kB / 329.6 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007683/0.3849, allocations: 308.6 kB / 329.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.385, allocations: 0 / 329.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.385, allocations: 0 / 329.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.385, allocations: 1.094 kB / 329.9 MB, free: 0.5625 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008598/0.3859, allocations: 0.5532 MB / 330.4 MB, free: 80 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3859, allocations: 8.844 kB / 330.4 MB, free: 80 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.386, allocations: 39.58 kB / 330.5 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.3864, allocations: 247.7 kB / 330.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.3865, allocations: 27.41 kB / 330.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.619e-05/0.3866, allocations: 35.66 kB / 330.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3876, allocations: 0.5782 MB / 331.3 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.3877, allocations: 10.78 kB / 331.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.3877, allocations: 19.89 kB / 331.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.3878, allocations: 11.34 kB / 331.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.3887, allocations: 342.2 kB / 331.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.3922, allocations: 4.04 MB / 335.8 MB, free: 11.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.3929, allocations: 116 kB / 335.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.393, allocations: 1.375 kB / 335.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.393, allocations: 40.28 kB / 335.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.393, allocations: 0 / 335.9 MB, free: 11.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008709/0.3939, allocations: 183.6 kB / 336.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.394, allocations: 51.41 kB / 336.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005898/0.3946, allocations: 359.5 kB / 336.5 MB, free: 10.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3946, allocations: 29.7 kB / 336.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/0.3948, allocations: 290.9 kB / 336.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3949, allocations: 27.89 kB / 336.8 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/0.3949, allocations: 9 kB / 336.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3951, allocations: 326.3 kB / 337.2 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.3954, allocations: 62.78 kB / 337.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.3959, allocations: 265.1 kB / 337.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003604/0.3962, allocations: 103.9 kB / 337.6 MB, free: 9.875 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.3963, allocations: 2.594 kB / 337.6 MB, free: 9.875 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001029/0.3973, allocations: 337.7 kB / 337.9 MB, free: 9.738 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.3973, allocations: 19.23 kB / 337.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.3974, allocations: 6.969 kB / 337.9 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/0.3974, allocations: 11.8 kB / 338 MB, free: 9.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.3983, allocations: 114.1 kB / 338.1 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009546/0.3993, allocations: 1.216 MB / 339.3 MB, free: 8.523 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005693/0.3999, allocations: 65.47 kB / 339.3 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.3999, allocations: 26.52 kB / 339.4 MB, free: 8.477 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002246/0.4002, allocations: 149.7 kB / 339.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.156e-05/0.4003, allocations: 36.97 kB / 339.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007655/0.401, allocations: 183.4 kB / 339.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.4011, allocations: 1.562 kB / 339.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4011, allocations: 2.188 kB / 339.7 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.4011, allocations: 5.828 kB / 339.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.4016, allocations: 268.9 kB / 340 MB, free: 8.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4016, allocations: 5.25 kB / 340 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005508/0.4022, allocations: 54.81 kB / 340.1 MB, free: 8.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.4022, allocations: 4 kB / 340.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.4022, allocations: 3.25 kB / 340.1 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.4033, allocations: 1.206 MB / 341.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4033, allocations: 3.938 kB / 341.3 MB, free: 6.805 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006451/0.404, allocations: 251.1 kB / 341.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.4041, allocations: 111.6 kB / 341.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.989e-05/0.4042, allocations: 1.656 kB / 341.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/0.4045, allocations: 12.17 kB / 341.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.4046, allocations: 10.91 kB / 341.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.4047, allocations: 3.984 kB / 341.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004421/0.4051, allocations: 267.5 kB / 341.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4051, allocations: 0 / 341.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008522/0.406, allocations: 114.4 kB / 342 MB, free: 6.359 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0005415/0.4065, allocations: 169.3 kB / 342.2 MB, free: 6.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.4076, allocations: 207.1 kB / 342.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4076, allocations: 0 / 342.4 MB, free: 6.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.4081, allocations: 72.2 kB / 342.5 MB, free: 6.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004836/0.4086, allocations: 39.41 kB / 342.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.4101, allocations: 0.6087 MB / 343.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.4106, allocations: 0.778 MB / 343.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4107, allocations: 29.56 kB / 343.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4107, allocations: 0 / 343.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of Templates: time 0.01513/0.4259, allocations: 6.482 MB / 350.4 MB, free: 2.25 MB / 282.7 MB