Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|d_hyd|A_cross|eta|rho|Re_cir|Re_rec|vel_cir|vel_rec|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow|input_p2.y|IN_p2.ports.1..m_flow|IN_p2.ports.1..p|IN_p2.ports.1..h_outflow|OUT_dp2.ports.1..m_flow|OUT_dp2.ports.1..p|OUT_dp2.ports.1..h_outflow|OUT_mflow2.ports.1..m_flow|OUT_mflow2.ports.1..p|OUT_mflow2.ports.1..h_outflow|IN_mflow2.ports.1..m_flow|IN_mflow2.ports.1..p|IN_mflow2.ports.1..h_outflow|from_dp2.port_b.m_flow|from_dp2.port_b.p|from_dp2.port_b.h_outflow|from_mflow2.port_b.m_flow|from_mflow2.port_b.p|from_mflow2.port_b.h_outflow|input_p3.y|IN_p3.ports.1..m_flow|IN_p3.ports.1..p|IN_p3.ports.1..h_outflow|OUT_dp3.ports.1..m_flow|OUT_dp3.ports.1..p|OUT_dp3.ports.1..h_outflow|OUT_mflow3.ports.1..m_flow|OUT_mflow3.ports.1..p|OUT_mflow3.ports.1..h_outflow|IN_mflow3.ports.1..m_flow|IN_mflow3.ports.1..p|IN_mflow3.ports.1..h_outflow|from_dp3.port_b.m_flow|from_dp3.port_b.p|from_dp3.port_b.h_outflow|from_mflow3.port_b.m_flow|from_mflow3.port_b.p|from_mflow3.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases") Notification: Performance of loadModel(ModelicaTest): time 1.9/1.9, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.312e-05, allocations: 4 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08809/0.08814, allocations: 48.7 MB / 321.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8446/0.9327, allocations: 326.8 MB / 0.6333 GB, free: 43.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.933, allocations: 88.45 kB / 0.6334 GB, free: 43.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225/3.158, allocations: 448.1 MB / 1.071 GB, free: 42.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.207e-06/3.158, allocations: 0 / 1.071 GB, free: 42.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001129/3.159, allocations: 41 kB / 1.071 GB, free: 42.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004062/3.163, allocations: 1.926 MB / 1.073 GB, free: 41.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/3.163, allocations: 10.78 kB / 1.073 GB, free: 41.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/3.164, allocations: 238.1 kB / 1.073 GB, free: 41.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/3.167, allocations: 1.175 MB / 1.074 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/3.167, allocations: 95.78 kB / 1.074 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/3.167, allocations: 134.3 kB / 1.075 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/3.17, allocations: 1.858 MB / 1.076 GB, free: 40.69 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/3.171, allocations: 7.219 kB / 1.076 GB, free: 40.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/3.171, allocations: 69.16 kB / 1.076 GB, free: 40.69 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/3.171, allocations: 33.78 kB / 1.076 GB, free: 40.69 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00308/3.174, allocations: 1.519 MB / 1.078 GB, free: 40.68 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009961/3.184, allocations: 9.152 MB / 1.087 GB, free: 34.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/3.186, allocations: 0.9981 MB / 1.088 GB, free: 34.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008516/3.187, allocations: 475.1 kB / 1.088 GB, free: 34.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007654/3.195, allocations: 6.899 MB / 1.095 GB, free: 28.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/3.195, allocations: 46.53 kB / 1.095 GB, free: 28.95 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 3.153e-06/3.195, allocations: 0 / 1.095 GB, free: 28.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.002159/3.197, allocations: 0.574 MB / 1.096 GB, free: 28.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/3.197, allocations: 374.4 kB / 1.096 GB, free: 28.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/3.199, allocations: 1.083 MB / 1.097 GB, free: 28.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/3.199, allocations: 32.92 kB / 1.097 GB, free: 28.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/3.199, allocations: 0.9908 MB / 1.098 GB, free: 27.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/3.199, allocations: 165.6 kB / 1.098 GB, free: 27.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/3.2, allocations: 34.69 kB / 1.098 GB, free: 27.46 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/3.2, allocations: 368.9 kB / 1.099 GB, free: 27.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/3.2, allocations: 276.3 kB / 1.099 GB, free: 27.14 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/3.201, allocations: 1.332 MB / 1.1 GB, free: 25.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/3.202, allocations: 0.515 MB / 1.101 GB, free: 25.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/3.202, allocations: 9.625 kB / 1.101 GB, free: 25.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.002889/3.205, allocations: 1.393 MB / 1.102 GB, free: 25.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.504e-05/3.205, allocations: 21.92 kB / 1.102 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.8e-05/3.205, allocations: 36.69 kB / 1.102 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.298e-05/3.205, allocations: 55.09 kB / 1.102 GB, free: 25.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004648/3.21, allocations: 0.6934 MB / 1.103 GB, free: 25.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001283/3.211, allocations: 1.904 MB / 1.105 GB, free: 23.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002326/3.214, allocations: 271.8 kB / 1.105 GB, free: 23.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/3.214, allocations: 116.2 kB / 1.105 GB, free: 23.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002851/3.214, allocations: 239.9 kB / 1.105 GB, free: 23.56 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/3.214, allocations: 138.2 kB / 1.105 GB, free: 23.49 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003378/3.218, allocations: 1.264 MB / 1.107 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/3.218, allocations: 7.688 kB / 1.107 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/3.218, allocations: 5.734 kB / 1.107 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/3.218, allocations: 6.891 kB / 1.107 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/3.22, allocations: 0.985 MB / 1.108 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.001e-06/3.22, allocations: 1.219 kB / 1.108 GB, free: 23.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/3.221, allocations: 198.3 kB / 1.108 GB, free: 23.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004405/3.222, allocations: 59.38 kB / 1.108 GB, free: 23.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/3.222, allocations: 20.98 kB / 1.108 GB, free: 23.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008788/3.223, allocations: 1.758 MB / 1.11 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.403e-06/3.223, allocations: 0 / 1.11 GB, free: 21.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/3.224, allocations: 0.7844 MB / 1.11 GB, free: 21.14 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/3.225, allocations: 347.9 kB / 1.111 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/3.225, allocations: 10.81 kB / 1.111 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008338/3.226, allocations: 64.86 kB / 1.111 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/3.226, allocations: 56.64 kB / 1.111 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.78e-05/3.226, allocations: 28.8 kB / 1.111 GB, free: 20.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001356/3.228, allocations: 0.8266 MB / 1.112 GB, free: 20.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.75e-07/3.228, allocations: 0 / 1.112 GB, free: 20.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003726/3.231, allocations: 0.8053 MB / 1.112 GB, free: 20.69 MB / 442.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/3.234, allocations: 1.133 MB / 1.114 GB, free: 20.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005338/3.239, allocations: 1.088 MB / 1.115 GB, free: 20.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/3.239, allocations: 0 / 1.115 GB, free: 20.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001221/3.24, allocations: 362.3 kB / 1.115 GB, free: 20.22 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/3.243, allocations: 0.5403 MB / 1.116 GB, free: 20.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/3.248, allocations: 2.029 MB / 1.118 GB, free: 19.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007502/3.248, allocations: 1.279 MB / 1.119 GB, free: 18.88 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/3.249, allocations: 155.4 kB / 1.119 GB, free: 18.87 MB / 442.7 MB Notification: Performance of SimCode: time 1.758e-06/3.249, allocations: 3.562 kB / 1.119 GB, free: 18.87 MB / 442.7 MB Notification: Performance of Templates: time 0.05878/3.308, allocations: 47.4 MB / 1.165 GB, free: 456 kB / 442.7 MB