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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.557e-05, allocations: 4 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4212/0.5354, allocations: 88.2 MB / 498.5 MB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5357, allocations: 79.95 kB / 498.5 MB, free: 15.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02338/0.5591, allocations: 5.47 MB / 0.4922 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.475e-06/0.5591, allocations: 0 / 0.4922 GB, free: 10.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.953e-06/0.5592, allocations: 7.938 kB / 0.4922 GB, free: 10.39 MB / 410.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.0005263/0.5597, allocations: 414.1 kB / 0.4926 GB, free: 9.941 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5598, allocations: 8.031 kB / 0.4926 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.5598, allocations: 7.906 kB / 0.4926 GB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.56, allocations: 167 kB / 0.4928 GB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.56, allocations: 7.953 kB / 0.4928 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.56, allocations: 0 / 0.4928 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.5602, allocations: 65.67 kB / 0.4929 GB, free: 9.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5602, allocations: 7.938 kB / 0.4929 GB, free: 9.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.5602, allocations: 4 kB / 0.4929 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.493e-06/0.5603, allocations: 0 / 0.4929 GB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.5604, allocations: 55.97 kB / 0.4929 GB, free: 9.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.5606, allocations: 189.6 kB / 0.4931 GB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.5608, allocations: 58.52 kB / 0.4932 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.5609, allocations: 44.84 kB / 0.4932 GB, free: 9.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.342e-05/0.5609, allocations: 16 kB / 0.4932 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/0.561, allocations: 38.55 kB / 0.4932 GB, free: 9.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 2.263e-06/0.561, allocations: 0 / 0.4932 GB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.01881/0.5798, allocations: 1.416 MB / 0.4946 GB, free: 7.723 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.5799, allocations: 59.33 kB / 0.4947 GB, free: 7.652 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.5801, allocations: 117.9 kB / 0.4948 GB, free: 7.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.5801, allocations: 33.7 kB / 0.4948 GB, free: 7.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.5802, allocations: 92.36 kB / 0.4949 GB, free: 7.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.179e-05/0.5803, allocations: 43.38 kB / 0.495 GB, free: 7.348 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.5803, allocations: 0 / 0.495 GB, free: 7.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5805, allocations: 318.8 kB / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.5807, allocations: 79.92 kB / 0.4953 GB, free: 6.949 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.581, allocations: 83.97 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.5813, allocations: 71.92 kB / 0.4955 GB, free: 6.797 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.246e-06/0.5813, allocations: 0 / 0.4955 GB, free: 6.797 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006791/0.582, allocations: 213.5 kB / 0.4957 GB, free: 6.582 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.582, allocations: 4 kB / 0.4957 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.582, allocations: 0 / 0.4957 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5821, allocations: 0 / 0.4957 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/0.5827, allocations: 71.88 kB / 0.4958 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.298e-06/0.5827, allocations: 0 / 0.4958 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.5832, allocations: 43.95 kB / 0.4958 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.5832, allocations: 11.98 kB / 0.4958 GB, free: 6.453 MB / 410.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.0001287/0.5834, allocations: 111.3 kB / 0.4959 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.5834, allocations: 7.906 kB / 0.4959 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000881/0.5843, allocations: 254.6 kB / 0.4962 GB, free: 6.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.5844, allocations: 4 kB / 0.4962 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.652e-06/0.5844, allocations: 0 / 0.4962 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.96e-06/0.5844, allocations: 4 kB / 0.4962 GB, free: 6.074 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.5871, allocations: 0.7276 MB / 0.4969 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.753e-06/0.5871, allocations: 0 / 0.4969 GB, free: 5.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.5877, allocations: 71.97 kB / 0.497 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.947e-06/0.5878, allocations: 0 / 0.497 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.5878, allocations: 7.984 kB / 0.497 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.044e-06/0.5878, allocations: 0 / 0.497 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.327e-06/0.5878, allocations: 4 kB / 0.497 GB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.5886, allocations: 363.1 kB / 0.4973 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.5888, allocations: 105 kB / 0.4974 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.5888, allocations: 11.95 kB / 0.4974 GB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/0.5894, allocations: 39.97 kB / 0.4975 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.5894, allocations: 7.984 kB / 0.4975 GB, free: 4.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.5895, allocations: 7.984 kB / 0.4975 GB, free: 4.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.5896, allocations: 99.28 kB / 0.4976 GB, free: 4.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.5896, allocations: 7.938 kB / 0.4976 GB, free: 4.512 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000778/0.5904, allocations: 183.7 kB / 0.4978 GB, free: 4.332 MB / 410.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.0008078/0.5912, allocations: 258.9 kB / 0.498 GB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005521/0.5918, allocations: 180 kB / 0.4982 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5918, allocations: 0 / 0.4982 GB, free: 3.891 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.5921, allocations: 95.91 kB / 0.4983 GB, free: 3.797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.5924, allocations: 19.92 kB / 0.4983 GB, free: 3.777 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.5948, allocations: 378.3 kB / 0.4987 GB, free: 3.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.5952, allocations: 0.7004 MB / 0.4993 GB, free: 2.656 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003426/0.5956, allocations: 48.52 kB / 0.4994 GB, free: 2.609 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.5958, allocations: 23.42 kB / 0.4994 GB, free: 2.586 MB / 410.7 MB Notification: Performance of SimCode: time 2.483e-06/0.5958, allocations: 0 / 0.4994 GB, free: 2.586 MB / 410.7 MB Notification: Performance of Templates: time 0.01347/0.6093, allocations: 5.719 MB / 0.505 GB, free: 12.93 MB / 426.7 MB