Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestPressureLossDerivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.91/2.91, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.682e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4216, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1751/0.5967, allocations: 81.49 MB / 435.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/0.5971, allocations: 75.95 kB / 436 MB, free: 13.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0296/0.6267, allocations: 5.198 MB / 441.2 MB, free: 8.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.412e-06/0.6268, allocations: 4 kB / 441.2 MB, free: 8.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.6268, allocations: 0 / 441.2 MB, free: 8.309 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006165/0.6274, allocations: 406.1 kB / 441.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.6275, allocations: 12.03 kB / 441.6 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.6276, allocations: 34.56 kB / 441.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.6276, allocations: 11.89 kB / 441.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.6278, allocations: 172.9 kB / 441.8 MB, free: 7.594 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.6278, allocations: 4 kB / 441.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.6279, allocations: 0 / 441.8 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002116/0.6281, allocations: 55.92 kB / 441.9 MB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.6283, allocations: 65.61 kB / 441.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.6283, allocations: 0 / 441.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.6283, allocations: 4 kB / 441.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6283, allocations: 0 / 441.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.6286, allocations: 166.2 kB / 442.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.6288, allocations: 50.56 kB / 442.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.6289, allocations: 40.8 kB / 442.2 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.552e-05/0.629, allocations: 19.98 kB / 442.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.629, allocations: 38.56 kB / 442.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 2.013e-06/0.629, allocations: 0 / 442.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.04635/0.6754, allocations: 1.623 MB / 443.9 MB, free: 5.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/0.6755, allocations: 55.34 kB / 443.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.6756, allocations: 113.3 kB / 444 MB, free: 5.254 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.6757, allocations: 25.7 kB / 444.1 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.6758, allocations: 92.36 kB / 444.1 MB, free: 5.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.633e-05/0.6759, allocations: 35.47 kB / 444.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.6759, allocations: 0 / 444.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6761, allocations: 322.8 kB / 444.5 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.6764, allocations: 71.98 kB / 444.6 MB, free: 4.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.6767, allocations: 67.98 kB / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/0.6795, allocations: 219.7 kB / 444.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6795, allocations: 0 / 444.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00332/0.6829, allocations: 349.4 kB / 445.2 MB, free: 4.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.6829, allocations: 4 kB / 445.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.6829, allocations: 0 / 445.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.683, allocations: 3.953 kB / 445.2 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.6837, allocations: 43.91 kB / 445.2 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.6837, allocations: 3.984 kB / 445.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.6843, allocations: 19.97 kB / 445.3 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.6843, allocations: 4 kB / 445.3 MB, free: 3.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.6845, allocations: 105 kB / 445.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.6845, allocations: 11.91 kB / 445.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.6882, allocations: 385.9 kB / 445.8 MB, free: 3.484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.6882, allocations: 3.953 kB / 445.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6882, allocations: 3.938 kB / 445.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.6882, allocations: 0 / 445.8 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.6937, allocations: 0.7371 MB / 446.5 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.6938, allocations: 4 kB / 446.5 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.6944, allocations: 43.86 kB / 446.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.6945, allocations: 0 / 446.5 MB, free: 2.637 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.741e-05/0.6945, allocations: 7.984 kB / 446.6 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.6945, allocations: 4.094 kB / 446.6 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/0.6946, allocations: 4.234 kB / 446.6 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003408/0.698, allocations: 499.3 kB / 447.1 MB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.6982, allocations: 101 kB / 447.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.6983, allocations: 4 kB / 447.2 MB, free: 1.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.6988, allocations: 11.98 kB / 447.2 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.6989, allocations: 11.97 kB / 447.2 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.318e-05/0.6989, allocations: 15.95 kB / 447.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.658e-05/0.699, allocations: 103.1 kB / 447.3 MB, free: 1.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6991, allocations: 0 / 447.3 MB, free: 1.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009773/0.7, allocations: 171.7 kB / 447.5 MB, free: 1.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004907/0.705, allocations: 1.381 MB / 448.8 MB, free: 240 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006333/0.7056, allocations: 159.9 kB / 449 MB, free: 80 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7057, allocations: 4 kB / 449 MB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.706, allocations: 83.97 kB / 449.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/0.7064, allocations: 15.92 kB / 449.1 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.7096, allocations: 354.2 kB / 449.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.71, allocations: 0.7001 MB / 450.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004792/0.7105, allocations: 40.62 kB / 450.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.7109, allocations: 35.42 kB / 450.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7109, allocations: 0 / 450.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.109/0.8199, allocations: 5.969 MB / 456.2 MB, free: 8.805 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003504/0.8203, allocations: 179.8 kB / 456.4 MB, free: 8.605 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.836/3.657, allocations: 0 / 456.4 MB, free: 8.605 MB / 394.7 MB "" Variables in the reference:time,rho_a,rho_b,mu_a,mu_b,dp,m_flow1,m_flow2,der_m_flow1 Variables in the result:data.D_Re,data.Re_turbulent,data.c0,data.diameter_a,data.diameter_b,data.zeta1,data.zeta1_at_a,data.zeta2,data.zeta2_at_a,data.zetaLaminarKnown,der(dp),der(m_flow1),der(rho_a),der(rho_b),der_m_flow1,diameter_a,diameter_b,dp,dp_small,m_flow1,m_flow2,mu_a,mu_b,rho_a,rho_b,time