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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.576e-05, allocations: 4 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08859/0.08865, allocations: 48.7 MB / 321.8 MB, free: 2.84 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/0.4851, allocations: 78.61 MB / 400.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005238/0.4857, allocations: 95.95 kB / 400.5 MB, free: 6.684 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04258/0.5284, allocations: 5.749 MB / 406.2 MB, free: 4.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.818e-06/0.5284, allocations: 0 / 406.2 MB, free: 4.324 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.5285, allocations: 3.844 kB / 406.2 MB, free: 4.324 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001089/0.5296, allocations: 492 kB / 406.7 MB, free: 3.879 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/0.5297, allocations: 11.66 kB / 406.7 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002549/0.5322, allocations: 162.8 kB / 406.9 MB, free: 3.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.533, allocations: 262.1 kB / 407.1 MB, free: 3.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.252e-05/0.533, allocations: 22.3 kB / 407.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.5332, allocations: 22.47 kB / 407.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.5346, allocations: 403 kB / 407.6 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.5347, allocations: 7.844 kB / 407.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.5348, allocations: 6.375 kB / 407.6 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.233e-05/0.5349, allocations: 27.58 kB / 407.6 MB, free: 3.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.5363, allocations: 343.6 kB / 408 MB, free: 3.316 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/0.5407, allocations: 1.717 MB / 409.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.5412, allocations: 83.25 kB / 409.8 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.5415, allocations: 38.09 kB / 409.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/0.5415, allocations: 4 kB / 409.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.5416, allocations: 30.56 kB / 409.8 MB, free: 1.758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 6.231e-06/0.5416, allocations: 0 / 409.8 MB, free: 1.758 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008167/0.5425, allocations: 124.5 kB / 409.9 MB, free: 1.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.5425, allocations: 51.41 kB / 410 MB, free: 1.637 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007961/0.5433, allocations: 293.3 kB / 410.3 MB, free: 1.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.5434, allocations: 29.2 kB / 410.3 MB, free: 1.488 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.5436, allocations: 228.7 kB / 410.5 MB, free: 1.297 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.32e-05/0.5437, allocations: 27.03 kB / 410.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.5438, allocations: 3.5 kB / 410.6 MB, free: 1.277 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003052/0.5441, allocations: 321.9 kB / 410.9 MB, free: 16.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.5445, allocations: 56.41 kB / 410.9 MB, free: 16.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003758/0.5449, allocations: 105.7 kB / 411 MB, free: 16.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.5453, allocations: 77.39 kB / 411.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.5453, allocations: 0 / 411.1 MB, free: 16.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00108/0.5464, allocations: 202.6 kB / 411.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/0.5465, allocations: 4.062 kB / 411.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.5465, allocations: 4 kB / 411.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.5466, allocations: 3.844 kB / 411.3 MB, free: 16.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003458/0.55, allocations: 120 kB / 411.4 MB, free: 16.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/0.5542, allocations: 1.837 MB / 413.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.555, allocations: 41.95 kB / 413.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/0.5551, allocations: 14.81 kB / 413.3 MB, free: 14.91 MB / 330.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.0002358/0.5554, allocations: 112.9 kB / 413.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.5556, allocations: 23.42 kB / 413.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.5566, allocations: 178.8 kB / 413.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.5567, allocations: 3.969 kB / 413.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.5567, allocations: 0 / 413.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.835e-06/0.5567, allocations: 3.984 kB / 413.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008858/0.5576, allocations: 266.2 kB / 413.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.637e-06/0.5577, allocations: 0 / 413.9 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/0.5606, allocations: 104.2 kB / 414 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.5606, allocations: 0 / 414 MB, free: 14.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.5607, allocations: 3.984 kB / 414 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.5635, allocations: 1.792 MB / 415.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.44e-06/0.5635, allocations: 8.047 kB / 415.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004148/0.5639, allocations: 230.3 kB / 416 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5641, allocations: 104.6 kB / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.5641, allocations: 7.219 kB / 416.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.5644, allocations: 7.828 kB / 416.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.5645, allocations: 10.89 kB / 416.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.5645, allocations: 7.844 kB / 416.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002974/0.5648, allocations: 239.9 kB / 416.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.5648, allocations: 0 / 416.4 MB, free: 12.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004781/0.5653, allocations: 80.22 kB / 416.5 MB, free: 12.24 MB / 330.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.000246/0.5656, allocations: 130.5 kB / 416.6 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.5671, allocations: 189.5 kB / 416.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.414e-06/0.5671, allocations: 3.938 kB / 416.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.568, allocations: 90.66 kB / 416.9 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.5684, allocations: 51.47 kB / 416.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008392/0.5693, allocations: 348 kB / 417.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.5697, allocations: 0.7835 MB / 418.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.5699, allocations: 19.12 kB / 418.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5699, allocations: 0 / 418.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of Templates: time 0.01076/0.5806, allocations: 6.495 MB / 424.6 MB, free: 7.738 MB / 330.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_idealGas_DPMFLOW_res.mat failed! " 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].Km,dp_IN_con[1].R_s,dp_IN_con[1].dp_smooth,dp_IN_con[1].exp,dp_IN_con[2].Km,dp_IN_con[2].R_s,dp_IN_con[2].dp_smooth,dp_IN_con[2].exp,dp_IN_con[3].Km,dp_IN_con[3].R_s,dp_IN_con[3].dp_smooth,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].Km,m_flow_IN_con[1].R_s,m_flow_IN_con[1].dp_smooth,m_flow_IN_con[1].exp,m_flow_IN_con[2].Km,m_flow_IN_con[2].R_s,m_flow_IN_con[2].dp_smooth,m_flow_IN_con[2].exp,m_flow_IN_con[3].Km,m_flow_IN_con[3].R_s,m_flow_IN_con[3].dp_smooth,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