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.88/1.88, allocations: 209.3 MB / 221.9 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.399e-05, allocations: 0 / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08938/0.08944, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3435/0.433, allocations: 75.78 MB / 397.5 MB, free: 6.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4333, allocations: 78.23 kB / 397.6 MB, free: 6.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02031/0.4536, allocations: 5.258 MB / 402.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.198e-06/0.4537, allocations: 3.875 kB / 402.9 MB, free: 5.633 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.993e-06/0.4537, allocations: 0 / 402.9 MB, free: 5.633 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003922/0.4541, allocations: 408.8 kB / 403.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4541, allocations: 7.5 kB / 403.3 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.4542, allocations: 7.5 kB / 403.3 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.157e-05/0.4543, allocations: 174.9 kB / 403.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4543, allocations: 1.312 kB / 403.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.4543, allocations: 2.625 kB / 403.5 MB, free: 5.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.4545, allocations: 64.81 kB / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4545, allocations: 0 / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4546, allocations: 2.688 kB / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.355e-06/0.4546, allocations: 1.281 kB / 403.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.4547, allocations: 57.22 kB / 403.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.4549, allocations: 191.3 kB / 403.8 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.455, allocations: 54.78 kB / 403.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.4551, allocations: 55.64 kB / 403.9 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.4552, allocations: 18.94 kB / 403.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.4552, allocations: 38.48 kB / 403.9 MB, free: 4.676 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.431e-06/0.4552, allocations: 0 / 403.9 MB, free: 4.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.01753/0.4727, allocations: 1.224 MB / 405.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.4728, allocations: 59.25 kB / 405.2 MB, free: 4.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/0.4729, allocations: 116.1 kB / 405.3 MB, free: 3.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.473, allocations: 28.83 kB / 405.4 MB, free: 3.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.473, allocations: 157.3 kB / 405.5 MB, free: 3.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.325e-05/0.4731, allocations: 37.02 kB / 405.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.4731, allocations: 0 / 405.6 MB, free: 3.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.4732, allocations: 321.4 kB / 405.9 MB, free: 3.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.4734, allocations: 67.23 kB / 405.9 MB, free: 3.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.4736, allocations: 78.98 kB / 406 MB, free: 3.391 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.4738, allocations: 75.59 kB / 406.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.962e-06/0.4738, allocations: 0 / 406.1 MB, free: 3.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005775/0.4744, allocations: 192 kB / 406.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.4745, allocations: 7.844 kB / 406.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4745, allocations: 0 / 406.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4745, allocations: 0 / 406.3 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.4749, allocations: 39.36 kB / 406.3 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4749, allocations: 0 / 406.3 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.4752, allocations: 19.7 kB / 406.3 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.4752, allocations: 3.875 kB / 406.3 MB, free: 3.309 MB / 314.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 8.428e-05/0.4753, allocations: 116.8 kB / 406.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.4754, allocations: 7.875 kB / 406.5 MB, free: 3.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/0.4761, allocations: 253.5 kB / 406.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.4762, allocations: 0 / 406.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.901e-06/0.4762, allocations: 0 / 406.7 MB, free: 3.098 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-06/0.4762, allocations: 7.844 kB / 406.7 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.478, allocations: 0.6264 MB / 407.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.748e-06/0.4781, allocations: 0 / 407.3 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004071/0.4785, allocations: 35 kB / 407.4 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.453e-06/0.4785, allocations: 7.781 kB / 407.4 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.4785, allocations: 15.61 kB / 407.4 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.496e-06/0.4786, allocations: 3.953 kB / 407.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4786, allocations: 3.969 kB / 407.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.4792, allocations: 336.7 kB / 407.7 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.4794, allocations: 106.8 kB / 407.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4794, allocations: 3.844 kB / 407.8 MB, free: 18.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4798, allocations: 23.11 kB / 407.9 MB, free: 18.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.4798, allocations: 7.844 kB / 407.9 MB, free: 18.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.4798, allocations: 11.58 kB / 407.9 MB, free: 18.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.986e-05/0.48, allocations: 97.83 kB / 408 MB, free: 18.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.48, allocations: 0 / 408 MB, free: 18.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006936/0.4807, allocations: 178 kB / 408.2 MB, free: 18.15 MB / 330.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.0007357/0.4814, allocations: 259.9 kB / 408.4 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004444/0.4819, allocations: 159 kB / 408.6 MB, free: 17.99 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.593e-06/0.4819, allocations: 0 / 408.6 MB, free: 17.99 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.4821, allocations: 88.91 kB / 408.7 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.4824, allocations: 21.45 kB / 408.7 MB, free: 17.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4838, allocations: 297.6 kB / 409 MB, free: 17.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.4842, allocations: 0.6957 MB / 409.7 MB, free: 17.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.4844, allocations: 27.09 kB / 409.7 MB, free: 17.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.8e-06/0.4844, allocations: 0 / 409.7 MB, free: 17.07 MB / 330.7 MB Notification: Performance of Templates: time 0.007965/0.4924, allocations: 4.386 MB / 414.1 MB, free: 14.69 MB / 330.7 MB