Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_suddenChange_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.12/3.12, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.272e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4287/0.4287, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2082/0.637, allocations: 87.23 MB / 441.7 MB, free: 7.836 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004701/0.6375, allocations: 103.9 kB / 441.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05013/0.6877, allocations: 7.547 MB / 449.3 MB, free: 160 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6877, allocations: 0 / 449.3 MB, free: 160 kB / 378.7 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.6878, allocations: 0 / 449.3 MB, free: 160 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008694/0.6887, allocations: 448.1 kB / 449.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.6887, allocations: 12.03 kB / 449.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.587e-05/0.6888, allocations: 34.56 kB / 449.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.6889, allocations: 23.84 kB / 449.8 MB, free: 15.6 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.6891, allocations: 171 kB / 450 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6891, allocations: 4 kB / 450 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.6e-05/0.6892, allocations: 12 kB / 450 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003519/0.6895, allocations: 103.8 kB / 450.1 MB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003634/0.6899, allocations: 117.6 kB / 450.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.6899, allocations: 0 / 450.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.69, allocations: 3.953 kB / 450.2 MB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.69, allocations: 8 kB / 450.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.6915, allocations: 495.2 kB / 450.7 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.6918, allocations: 90.67 kB / 450.8 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.6919, allocations: 28.86 kB / 450.8 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.142e-05/0.692, allocations: 3.938 kB / 450.8 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.692, allocations: 38.56 kB / 450.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 3.166e-06/0.692, allocations: 0 / 450.9 MB, free: 14.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003766/0.6924, allocations: 93.67 kB / 451 MB, free: 14.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.6925, allocations: 55.41 kB / 451 MB, free: 14.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.6926, allocations: 113.1 kB / 451.1 MB, free: 14.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.6927, allocations: 25.7 kB / 451.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.755e-05/0.6928, allocations: 119.6 kB / 451.3 MB, free: 13.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.236e-05/0.6928, allocations: 35.45 kB / 451.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.6929, allocations: 0 / 451.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.693, allocations: 318.8 kB / 451.6 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.204e-05/0.6931, allocations: 27.98 kB / 451.6 MB, free: 13.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.6933, allocations: 66.92 kB / 451.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.6934, allocations: 31.97 kB / 451.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.6935, allocations: 4 kB / 451.7 MB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000382/0.6938, allocations: 121.5 kB / 451.9 MB, free: 13.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.6939, allocations: 8 kB / 451.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6939, allocations: 0 / 451.9 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.694, allocations: 4 kB / 451.9 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005254/0.6945, allocations: 43.95 kB / 451.9 MB, free: 13.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005337/0.695, allocations: 0.5977 MB / 452.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.6953, allocations: 23.98 kB / 452.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.6953, allocations: 4 kB / 452.5 MB, free: 12.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.6955, allocations: 105 kB / 452.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.6955, allocations: 3.906 kB / 452.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005466/0.6961, allocations: 142.4 kB / 452.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6961, allocations: 7.953 kB / 452.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6961, allocations: 0 / 452.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6962, allocations: 0 / 452.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004056/0.6966, allocations: 178.1 kB / 453 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.6966, allocations: 0 / 453 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/0.6971, allocations: 47.95 kB / 453 MB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.6971, allocations: 4 kB / 453 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.6972, allocations: 0 / 453 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004735/0.6976, allocations: 0.5898 MB / 453.6 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6977, allocations: 0 / 453.6 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.6982, allocations: 243.5 kB / 453.8 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.6983, allocations: 105 kB / 454 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.6984, allocations: 3.953 kB / 454 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.6987, allocations: 8 kB / 454 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.54e-05/0.6987, allocations: 15.97 kB / 454 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.6988, allocations: 4 kB / 454 MB, free: 11.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.691e-05/0.6989, allocations: 87.28 kB / 454.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.6989, allocations: 0 / 454.1 MB, free: 11.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006622/0.6995, allocations: 83.77 kB / 454.1 MB, free: 10.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.7009, allocations: 0.8846 MB / 455 MB, free: 10.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004757/0.7014, allocations: 95.84 kB / 455.1 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.7015, allocations: 0 / 455.1 MB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.7017, allocations: 47.92 kB / 455.2 MB, free: 9.887 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.7021, allocations: 11.95 kB / 455.2 MB, free: 9.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.7033, allocations: 244.1 kB / 455.4 MB, free: 9.598 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.7037, allocations: 0.708 MB / 456.1 MB, free: 8.863 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.7039, allocations: 16.55 kB / 456.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.704, allocations: 39.42 kB / 456.2 MB, free: 8.809 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.704, allocations: 0 / 456.2 MB, free: 8.809 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/0.754, allocations: 3.123 MB / 459.3 MB, free: 5.691 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004067/0.7545, allocations: 197.6 kB / 459.5 MB, free: 5.469 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.248/4.002, allocations: 1.562 kB / 459.5 MB, free: 5.469 MB / 394.7 MB "" Variables in the reference:time,frac_A1toA2,frac_A1toA2,A_1,A_2,C_1,C_2,eta,rho,input_mdot,input_dp,M_FLOW,DP,d_hyd,velocity,Re,DP_plot,zeta_TOT,input_DP.y Variables in the result:A_1,A_2,C_1,C_2,DP,DP_plot,M_FLOW,Re,_D_cse1,_D_cse2,_D_cse3,d_hyd,der(frac_A1toA2),dp_IN_con.A_1,dp_IN_con.A_2,dp_IN_con.C_1,dp_IN_con.C_2,dp_IN_var.eta,dp_IN_var.rho,dpoo,eta,frac_A1toA2,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp,input_mdot,m_flow_IN_con.A_1,m_flow_IN_con.A_2,m_flow_IN_con.C_1,m_flow_IN_con.C_2,m_flow_IN_var.eta,m_flow_IN_var.rho,rho,time,velocity,zeta_TOT