Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|delta.1.|delta.2.|delta.3.|R_0.1.|R_0.2.|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_dp_1.1.|input_dp_1.2.|M_FLOW_1.1.|M_FLOW_1.2.|DP_1.1.|DP_1.2.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|DP_2.1.|DP_2.2.|DP_2.3.|frac_RD.1.|frac_RD.2.|velocity_1.1.|velocity_1.2.|Re_1.1.|Re_1.2.|velocity_2.1.|velocity_2.2.|velocity_2.3.|Re_2.1.|Re_2.2.|Re_2.3.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.256e-05, allocations: 4 kB / 273.1 MB, free: 3.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/0.08693, allocations: 48.7 MB / 321.8 MB, free: 2.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3529/0.4399, allocations: 89.9 MB / 411.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.4402, allocations: 96.3 kB / 411.8 MB, free: 3.641 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1038/0.544, allocations: 22.52 MB / 434.3 MB, free: 1.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.969e-06/0.5441, allocations: 3.938 kB / 434.3 MB, free: 1.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.5441, allocations: 8 kB / 434.3 MB, free: 1.75 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001154/0.5452, allocations: 0.5957 MB / 434.9 MB, free: 1.133 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5453, allocations: 12.03 kB / 434.9 MB, free: 1.121 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.5454, allocations: 43.48 kB / 435 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.5459, allocations: 269.3 kB / 435.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.5459, allocations: 27.41 kB / 435.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.546, allocations: 34.55 kB / 435.3 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008923/0.5469, allocations: 472.5 kB / 435.8 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.481e-05/0.5469, allocations: 0 / 435.8 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.662e-05/0.547, allocations: 10.61 kB / 435.8 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.578e-05/0.5471, allocations: 40.42 kB / 435.8 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009244/0.548, allocations: 498.3 kB / 436.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002517/0.5506, allocations: 1.347 MB / 437.7 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/0.5515, allocations: 347.8 kB / 438 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.5518, allocations: 113.2 kB / 438.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.848e-05/0.5518, allocations: 11.98 kB / 438.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.5519, allocations: 37.81 kB / 438.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 3.687e-06/0.5519, allocations: 3.938 kB / 438.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=26): time 0.0007402/0.5526, allocations: 282.4 kB / 438.4 MB, free: 13.99 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.5527, allocations: 55.58 kB / 438.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.5531, allocations: 279.6 kB / 438.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.5532, allocations: 32.27 kB / 438.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.5534, allocations: 197 kB / 439 MB, free: 13.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5535, allocations: 95.66 kB / 439.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.5535, allocations: 7.312 kB / 439.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.5537, allocations: 337.2 kB / 439.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.554, allocations: 112 kB / 439.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.5543, allocations: 139.7 kB / 439.7 MB, free: 12.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.5546, allocations: 130.4 kB / 439.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.313e-06/0.5546, allocations: 0 / 439.8 MB, free: 12.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007914/0.5554, allocations: 343.2 kB / 440.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.5555, allocations: 4 kB / 440.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.857e-06/0.5555, allocations: 0 / 440.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.5555, allocations: 4 kB / 440.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008518/0.5564, allocations: 126.8 kB / 440.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.5588, allocations: 3.003 MB / 443.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.5591, allocations: 39.19 kB / 443.3 MB, free: 9.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.5592, allocations: 19.42 kB / 443.3 MB, free: 9.203 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.5593, allocations: 116.1 kB / 443.4 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.5594, allocations: 31.72 kB / 443.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.5606, allocations: 429.9 kB / 443.9 MB, free: 8.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.701e-06/0.5607, allocations: 4 kB / 443.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.814e-06/0.5607, allocations: 0 / 443.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.5607, allocations: 3.984 kB / 443.9 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.5613, allocations: 381.3 kB / 444.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.879e-06/0.5614, allocations: 0 / 444.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/0.5621, allocations: 115.8 kB / 444.4 MB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.765e-06/0.5622, allocations: 4 kB / 444.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.5622, allocations: 11.86 kB / 444.4 MB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.5645, allocations: 3 MB / 447.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.631e-06/0.5646, allocations: 0 / 447.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000854/0.5654, allocations: 420.1 kB / 447.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.5656, allocations: 108.8 kB / 447.9 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.5657, allocations: 11.62 kB / 447.9 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.566, allocations: 15.39 kB / 447.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.5661, allocations: 23.33 kB / 448 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.5661, allocations: 12 kB / 448 MB, free: 4.555 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003298/0.5665, allocations: 225.4 kB / 448.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.5665, allocations: 0 / 448.2 MB, free: 4.371 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009309/0.5674, allocations: 202.5 kB / 448.4 MB, free: 4.184 MB / 346.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007592/0.5682, allocations: 296 kB / 448.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.5693, allocations: 312.4 kB / 449 MB, free: 3.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.28e-06/0.5694, allocations: 4.125 kB / 449 MB, free: 3.633 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006885/0.5701, allocations: 191 kB / 449.2 MB, free: 3.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.5706, allocations: 54.95 kB / 449.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.5718, allocations: 0.4904 MB / 449.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.5724, allocations: 0.8446 MB / 450.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.5729, allocations: 118.8 kB / 450.7 MB, free: 1.98 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.5731, allocations: 34.48 kB / 450.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of SimCode: time 1.849e-06/0.5731, allocations: 0 / 450.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of Templates: time 0.01836/0.5914, allocations: 7.076 MB / 457.8 MB, free: 10.91 MB / 362.7 MB "" Variables in the reference:time,delta[1],delta[2],delta[3],R_0[1],R_0[2],eta,rho,input_mdot_1[1],input_mdot_1[2],input_dp_1[1],input_dp_1[2],M_FLOW_1[1],M_FLOW_1[2],DP_1[1],DP_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],input_dp_2[1],input_dp_2[2],input_dp_2[3],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],DP_2[1],DP_2[2],DP_2[3],frac_RD[1],frac_RD[2],velocity_1[1],velocity_1[2],Re_1[1],Re_1[2],velocity_2[1],velocity_2[2],velocity_2[3],Re_2[1],Re_2[2],Re_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3],input_DP.y Variables in the result:A_cross,DP_1[1],DP_1[2],DP_2[1],DP_2[2],DP_2[3],DP_plot_1[1],DP_plot_1[2],DP_plot_2[1],DP_plot_2[2],DP_plot_2[3],K,M_FLOW_1[1],M_FLOW_1[2],M_FLOW_2[1],M_FLOW_2[2],M_FLOW_2[3],R_0[1],R_0[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_2[3],d_hyd,delta[1],delta[2],delta[3],dp_IN_con_1[1].K,dp_IN_con_1[1].R_0,dp_IN_con_1[1].d_hyd,dp_IN_con_1[1].delta,dp_IN_con_1[2].K,dp_IN_con_1[2].R_0,dp_IN_con_1[2].d_hyd,dp_IN_con_1[2].delta,dp_IN_con_2[1].K,dp_IN_con_2[1].d_hyd,dp_IN_con_2[1].delta,dp_IN_con_2[2].K,dp_IN_con_2[2].d_hyd,dp_IN_con_2[2].delta,dp_IN_con_2[3].K,dp_IN_con_2[3].d_hyd,dp_IN_con_2[3].delta,eta,frac_RD[1],frac_RD[2],input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp_1[1],input_dp_1[2],input_dp_2[1],input_dp_2[2],input_dp_2[3],input_mdot_1[1],input_mdot_1[2],input_mdot_2[1],input_mdot_2[2],input_mdot_2[3],m,m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].R_0,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].R_0,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].delta,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].delta,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].delta,n,rho,time,velocity_1[1],velocity_1[2],velocity_2[1],velocity_2[2],velocity_2[3],zeta_TOT_1[1],zeta_TOT_1[2],zeta_TOT_2[1],zeta_TOT_2[2],zeta_TOT_2[3]