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_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 1.855/1.855, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.244e-05/4.268e-05, allocations: 8 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.08985, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.439, allocations: 75.78 MB / 397.6 MB, free: 7.121 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4393, allocations: 79.69 kB / 397.6 MB, free: 7.121 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0206/0.4599, allocations: 5.256 MB / 402.9 MB, free: 5.703 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.396e-06/0.46, allocations: 3.938 kB / 402.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.839e-06/0.46, allocations: 0 / 402.9 MB, free: 5.699 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.0004089/0.4604, allocations: 404.4 kB / 403.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.4605, allocations: 7.719 kB / 403.3 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.4605, allocations: 7.688 kB / 403.3 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.256e-05/0.4606, allocations: 182.6 kB / 403.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.4606, allocations: 3.812 kB / 403.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4607, allocations: 3.812 kB / 403.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.4608, allocations: 56.81 kB / 403.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4608, allocations: 3.844 kB / 403.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.4609, allocations: 0 / 403.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.086e-06/0.4609, allocations: 0 / 403.6 MB, free: 5.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.987e-05/0.461, allocations: 65.62 kB / 403.6 MB, free: 5.031 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.4612, allocations: 191.6 kB / 403.8 MB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.463e-05/0.4613, allocations: 56.75 kB / 403.9 MB, free: 4.805 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.718e-05/0.4614, allocations: 39.73 kB / 403.9 MB, free: 4.797 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.4614, allocations: 23.3 kB / 403.9 MB, free: 4.789 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4615, allocations: 34.5 kB / 404 MB, free: 4.746 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 2.161e-06/0.4615, allocations: 4 kB / 404 MB, free: 4.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.01691/0.4784, allocations: 1.231 MB / 405.2 MB, free: 4.164 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.4785, allocations: 51.41 kB / 405.2 MB, free: 4.102 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4786, allocations: 116.8 kB / 405.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.4786, allocations: 25.7 kB / 405.4 MB, free: 3.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.295e-05/0.4787, allocations: 96 kB / 405.5 MB, free: 3.883 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.4787, allocations: 35.14 kB / 405.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.4788, allocations: 0 / 405.5 MB, free: 3.855 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.4788, allocations: 330.6 kB / 405.8 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.479, allocations: 69.38 kB / 405.9 MB, free: 3.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.4792, allocations: 72.89 kB / 406 MB, free: 3.523 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4795, allocations: 72.31 kB / 406 MB, free: 3.512 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4795, allocations: 0 / 406 MB, free: 3.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005649/0.4801, allocations: 199 kB / 406.2 MB, free: 3.457 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.4801, allocations: 7.844 kB / 406.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.943e-06/0.4801, allocations: 0 / 406.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.4801, allocations: 3.844 kB / 406.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.4805, allocations: 35.03 kB / 406.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4806, allocations: 0 / 406.3 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.4808, allocations: 15.64 kB / 406.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.4809, allocations: 11.8 kB / 406.3 MB, free: 3.434 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.612e-05/0.481, allocations: 116.7 kB / 406.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.481, allocations: 7.75 kB / 406.4 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.4818, allocations: 251.2 kB / 406.7 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-06/0.4818, allocations: 0 / 406.7 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.076e-06/0.4818, allocations: 0 / 406.7 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-06/0.4818, allocations: 3.844 kB / 406.7 MB, free: 3.223 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/0.4837, allocations: 0.6269 MB / 407.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.634e-06/0.4838, allocations: 0 / 407.3 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004107/0.4842, allocations: 39.06 kB / 407.3 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.843e-06/0.4842, allocations: 7.938 kB / 407.4 MB, free: 2.777 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.4843, allocations: 7.828 kB / 407.4 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.706e-06/0.4843, allocations: 3.953 kB / 407.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.842e-06/0.4843, allocations: 3.844 kB / 407.4 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.4849, allocations: 341.3 kB / 407.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4851, allocations: 103.2 kB / 407.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.4851, allocations: 0 / 407.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.4855, allocations: 19.61 kB / 407.8 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.4855, allocations: 11.83 kB / 407.8 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.4856, allocations: 11.72 kB / 407.8 MB, free: 2.414 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.4857, allocations: 106.5 kB / 407.9 MB, free: 2.328 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.32e-06/0.4857, allocations: 0 / 407.9 MB, free: 2.328 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001064/0.4868, allocations: 174.5 kB / 408.1 MB, free: 2.281 MB / 314.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.0008258/0.4877, allocations: 263.4 kB / 408.4 MB, free: 2.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.4882, allocations: 168.5 kB / 408.5 MB, free: 2.109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.4882, allocations: 0 / 408.5 MB, free: 2.109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.4884, allocations: 88.64 kB / 408.6 MB, free: 2.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4888, allocations: 18.69 kB / 408.6 MB, free: 2.094 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4904, allocations: 271.7 kB / 408.9 MB, free: 17.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4908, allocations: 0.7036 MB / 409.6 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.4911, allocations: 27.92 kB / 409.6 MB, free: 17.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4913, allocations: 22.7 kB / 409.7 MB, free: 17.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.585e-06/0.4913, allocations: 0 / 409.7 MB, free: 17.21 MB / 330.7 MB Notification: Performance of Templates: time 0.01117/0.5025, allocations: 5.245 MB / 414.9 MB, free: 14.52 MB / 330.7 MB