Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 1.977/1.977, allocations: 209.3 MB / 224.4 MB, free: 0.6484 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.753e-05, allocations: 0 / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3388, allocations: 48.71 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001917/0.3408, allocations: 1.128 MB / 326 MB, free: 2.418 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.343, allocations: 1.2 MB / 327.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.3431, allocations: 1.312 kB / 327.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.3433, allocations: 22.06 kB / 327.2 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3435, allocations: 33.91 kB / 327.2 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000563/0.3441, allocations: 135.6 kB / 327.4 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.3442, allocations: 30.23 kB / 327.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.3443, allocations: 2.109 kB / 327.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.077e-05/0.3444, allocations: 17.94 kB / 327.4 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.792e-05/0.3444, allocations: 26.02 kB / 327.4 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008309/0.3453, allocations: 293 kB / 327.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.3454, allocations: 18.03 kB / 327.7 MB, free: 1.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.3454, allocations: 13.12 kB / 327.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.3454, allocations: 9.656 kB / 327.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.3459, allocations: 178.2 kB / 327.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3459, allocations: 0 / 327.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.346, allocations: 0 / 327.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.346, allocations: 1.125 kB / 327.9 MB, free: 1.57 MB / 266.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.0005053/0.3465, allocations: 393.1 kB / 328.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.3466, allocations: 9.469 kB / 328.3 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.3466, allocations: 6.312 kB / 328.3 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.3467, allocations: 177.9 kB / 328.5 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3467, allocations: 13.19 kB / 328.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.3468, allocations: 3.625 kB / 328.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.347, allocations: 61.08 kB / 328.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.347, allocations: 5.969 kB / 328.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.347, allocations: 0 / 328.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.347, allocations: 1.344 kB / 328.6 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.3472, allocations: 57.69 kB / 328.7 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.3474, allocations: 187.7 kB / 328.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3476, allocations: 68.5 kB / 328.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.3477, allocations: 13.7 kB / 328.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.3477, allocations: 38.19 kB / 329 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.3477, allocations: 0 / 329 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.03393/0.3816, allocations: 1.362 MB / 330.3 MB, free: 276 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.3817, allocations: 52.91 kB / 330.4 MB, free: 212 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.3819, allocations: 123 kB / 330.5 MB, free: 104 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3819, allocations: 26.83 kB / 330.5 MB, free: 72 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.382, allocations: 156.8 kB / 330.7 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.3821, allocations: 41.69 kB / 330.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.3822, allocations: 5.188 kB / 330.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3823, allocations: 326.4 kB / 331 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/0.383, allocations: 157.2 kB / 331.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000671/0.3837, allocations: 158.2 kB / 331.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00073/0.3844, allocations: 158 kB / 331.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3844, allocations: 0 / 331.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001543/0.386, allocations: 382.5 kB / 331.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.386, allocations: 8.781 kB / 331.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3861, allocations: 1.5 kB / 331.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.3861, allocations: 0 / 331.9 MB, free: 15.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005633/0.3867, allocations: 41.39 kB / 331.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3867, allocations: 0.6094 kB / 331.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.3871, allocations: 17.47 kB / 331.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.3872, allocations: 6.859 kB / 331.9 MB, free: 15.18 MB / 282.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: 3 (data.zeta1_at_a,data.zeta2_at_a,data.zetaLaminarKnown) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001678/0.3874, allocations: 121.6 kB / 332.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.3874, allocations: 9.109 kB / 332.1 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3889, allocations: 285.2 kB / 332.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.389, allocations: 2.125 kB / 332.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.389, allocations: 3.938 kB / 332.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.389, allocations: 0.8438 kB / 332.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002912/0.3919, allocations: 0.6234 MB / 333 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.392, allocations: 2.25 kB / 333 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005103/0.3925, allocations: 41.94 kB / 333 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.3925, allocations: 1.312 kB / 333 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.3925, allocations: 5.703 kB / 333 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.3926, allocations: 6.016 kB / 333 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3926, allocations: 0 / 333 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.394, allocations: 383.7 kB / 333.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.3941, allocations: 116.4 kB / 333.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.3942, allocations: 2.953 kB / 333.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.3946, allocations: 18.16 kB / 333.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3947, allocations: 16.84 kB / 333.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.3947, allocations: 16.02 kB / 333.6 MB, free: 14.1 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3949, allocations: 100.3 kB / 333.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3949, allocations: 0 / 333.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009374/0.3958, allocations: 166.4 kB / 333.8 MB, free: 13.99 MB / 282.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.0009967/0.3968, allocations: 245.9 kB / 334.1 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.3983, allocations: 290.8 kB / 334.4 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3983, allocations: 4 kB / 334.4 MB, free: 13.76 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.3989, allocations: 108 kB / 334.5 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003152/0.3992, allocations: 16.64 kB / 334.5 MB, free: 13.72 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.4017, allocations: 432.2 kB / 334.9 MB, free: 13.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.4021, allocations: 0.6977 MB / 335.6 MB, free: 12.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.4023, allocations: 31.97 kB / 335.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of SimCode: time 8.61e-07/0.4023, allocations: 3.938 kB / 335.6 MB, free: 12.75 MB / 282.7 MB Notification: Performance of Templates: time 0.01186/0.4142, allocations: 4.605 MB / 340.2 MB, free: 11 MB / 282.7 MB