Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|frac_KmToRs.1.|frac_KmToRs.2.|frac_KmToRs.3.|dp_nom.1.|dp_nom.2.|dp_nom.3.|p_2.1.|p_2.2.|p_2.3.|m_flow_nom.1.|m_flow_nom.2.|m_flow_nom.3.|Km.1.|Km.2.|Km.3.|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.139/2.139, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.246e-05, allocations: 4 kB / 305 MB, free: 5.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3644, allocations: 54.85 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5351, allocations: 85.05 MB / 444.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5354, allocations: 95.94 kB / 445 MB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02509/0.5605, allocations: 5.753 MB / 450.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.433e-06/0.5606, allocations: 0 / 450.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.5606, allocations: 4 kB / 450.7 MB, free: 5.988 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0007507/0.5614, allocations: 486.1 kB / 451.2 MB, free: 5.469 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5614, allocations: 12.03 kB / 451.2 MB, free: 5.457 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.5626, allocations: 167.5 kB / 451.4 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.5631, allocations: 256.5 kB / 451.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.824e-05/0.5631, allocations: 16.44 kB / 451.6 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.5632, allocations: 20 kB / 451.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.564, allocations: 420.3 kB / 452.1 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.5641, allocations: 4 kB / 452.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.5641, allocations: 7.953 kB / 452.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/0.5642, allocations: 24.55 kB / 452.1 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007561/0.5649, allocations: 348.8 kB / 452.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/0.5677, allocations: 1.724 MB / 454.2 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.5679, allocations: 82.53 kB / 454.2 MB, free: 2.199 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/0.5681, allocations: 36.84 kB / 454.3 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.5681, allocations: 0 / 454.3 MB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.5681, allocations: 38.55 kB / 454.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.24e-06/0.5682, allocations: 0 / 454.3 MB, free: 2.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004233/0.5686, allocations: 128.6 kB / 454.4 MB, free: 1.984 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5687, allocations: 55.36 kB / 454.5 MB, free: 1.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.5691, allocations: 299.1 kB / 454.8 MB, free: 1.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.5692, allocations: 29.7 kB / 454.8 MB, free: 1.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.5694, allocations: 171.3 kB / 455 MB, free: 1.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.287e-05/0.5694, allocations: 27.64 kB / 455 MB, free: 1.387 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.129e-05/0.5694, allocations: 8 kB / 455 MB, free: 1.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.5696, allocations: 330.8 kB / 455.3 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.5698, allocations: 55.97 kB / 455.4 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.57, allocations: 97.98 kB / 455.5 MB, free: 0.875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.5703, allocations: 75.88 kB / 455.6 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.067e-06/0.5703, allocations: 0 / 455.6 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005506/0.5708, allocations: 209.2 kB / 455.8 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.5709, allocations: 8 kB / 455.8 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.627e-06/0.5709, allocations: 3.938 kB / 455.8 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5709, allocations: 7.953 kB / 455.8 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/0.5725, allocations: 115.9 kB / 455.9 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.5747, allocations: 1.84 MB / 457.7 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.575, allocations: 39.52 kB / 457.8 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.5751, allocations: 12 kB / 457.8 MB, free: 14.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 16 * 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.0001242/0.5752, allocations: 108.9 kB / 457.9 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.5753, allocations: 19.81 kB / 457.9 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.5759, allocations: 179.3 kB / 458.1 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.5759, allocations: 7.953 kB / 458.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-06/0.5759, allocations: 0 / 458.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.784e-06/0.5759, allocations: 0 / 458.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.5764, allocations: 277.5 kB / 458.4 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-06/0.5764, allocations: 4 kB / 458.4 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.5777, allocations: 99.88 kB / 458.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.326e-06/0.5777, allocations: 0 / 458.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.5778, allocations: 4 kB / 458.5 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.5794, allocations: 1.789 MB / 460.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5794, allocations: 0 / 460.3 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.5799, allocations: 239.2 kB / 460.5 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.58, allocations: 100.8 kB / 460.6 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.5801, allocations: 4 kB / 460.6 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002632/0.5804, allocations: 16.08 kB / 460.6 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.082e-05/0.5805, allocations: 7.953 kB / 460.6 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.5805, allocations: 7.984 kB / 460.6 MB, free: 11.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003649/0.5809, allocations: 235.1 kB / 460.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.5809, allocations: 3.938 kB / 460.9 MB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.5814, allocations: 79.83 kB / 460.9 MB, free: 11.17 MB / 394.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 (11): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0002594/0.5817, allocations: 140.8 kB / 461.1 MB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001553/0.5832, allocations: 187.8 kB / 461.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.545e-06/0.5833, allocations: 0 / 461.3 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000899/0.5842, allocations: 104.3 kB / 461.4 MB, free: 10.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.5846, allocations: 48.78 kB / 461.4 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.5855, allocations: 313.5 kB / 461.7 MB, free: 10.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.586, allocations: 0.7911 MB / 462.5 MB, free: 9.547 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.5862, allocations: 50.03 kB / 462.6 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.5863, allocations: 19.44 kB / 462.6 MB, free: 9.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.452e-06/0.5864, allocations: 0 / 462.6 MB, free: 9.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01272/0.5991, allocations: 4.958 MB / 467.5 MB, free: 4.555 MB / 394.7 MB "" Variables in the reference:time,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],dp_nom[1],dp_nom[2],dp_nom[3],p_2[1],p_2[2],p_2[3],m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],Km[1],Km[2],Km[3],input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],Km[1],Km[2],Km[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],R_s,T_m,dp_IN_con[1].R_s,dp_IN_con[1].exp,dp_IN_con[2].R_s,dp_IN_con[2].exp,dp_IN_con[3].R_s,dp_IN_con[3].exp,dp_IN_var[1].T_m,dp_IN_var[1].p_m,dp_IN_var[1].rho_m,dp_IN_var[2].T_m,dp_IN_var[2].p_m,dp_IN_var[2].rho_m,dp_IN_var[3].T_m,dp_IN_var[3].p_m,dp_IN_var[3].rho_m,dp_nom[1],dp_nom[2],dp_nom[3],exp,frac_KmToRs[1],frac_KmToRs[2],frac_KmToRs[3],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].R_s,m_flow_IN_con[1].exp,m_flow_IN_con[2].R_s,m_flow_IN_con[2].exp,m_flow_IN_con[3].R_s,m_flow_IN_con[3].exp,m_flow_IN_var[1].T_m,m_flow_IN_var[1].p_m,m_flow_IN_var[1].rho_m,m_flow_IN_var[2].T_m,m_flow_IN_var[2].p_m,m_flow_IN_var[2].rho_m,m_flow_IN_var[3].T_m,m_flow_IN_var[3].p_m,m_flow_IN_var[3].rho_m,m_flow_nom[1],m_flow_nom[2],m_flow_nom[3],n,p_1,p_2[1],p_2[2],p_2[3],p_m,rho_m,time