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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.919e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 61.89 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001931/0.1342, allocations: 1.134 MB / 412.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1366, allocations: 1.181 MB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.1367, allocations: 0 / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.1368, allocations: 19.89 kB / 413.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.137, allocations: 39.86 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.1375, allocations: 131.5 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.407e-05/0.1376, allocations: 27.89 kB / 413.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.341e-05/0.1377, allocations: 0 / 413.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.1377, allocations: 23.97 kB / 413.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.888e-05/0.1378, allocations: 23.92 kB / 413.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007391/0.1386, allocations: 307.6 kB / 413.8 MB, free: 9.984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.151e-05/0.1387, allocations: 20 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1387, allocations: 11.91 kB / 413.8 MB, free: 9.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1387, allocations: 12 kB / 413.8 MB, free: 9.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004579/0.1392, allocations: 176 kB / 414 MB, free: 9.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1392, allocations: 0 / 414 MB, free: 9.77 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1392, allocations: 4 kB / 414 MB, free: 9.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.1393, allocations: 0 / 414 MB, free: 9.766 MB / 346.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.0005761/0.1398, allocations: 399.1 kB / 414.4 MB, free: 9.328 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.1399, allocations: 8.031 kB / 414.4 MB, free: 9.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.1399, allocations: 11.91 kB / 414.4 MB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.1401, allocations: 174.9 kB / 414.6 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1401, allocations: 4 kB / 414.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1402, allocations: 7.953 kB / 414.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1404, allocations: 69.59 kB / 414.7 MB, free: 9.012 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1404, allocations: 4 kB / 414.7 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.1404, allocations: 4 kB / 414.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1404, allocations: 0 / 414.7 MB, free: 9.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1406, allocations: 55.95 kB / 414.7 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.1408, allocations: 181.6 kB / 414.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.141, allocations: 62.56 kB / 415 MB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.956e-05/0.1411, allocations: 19.98 kB / 415 MB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1411, allocations: 34.52 kB / 415 MB, free: 8.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.536e-06/0.1411, allocations: 0 / 415 MB, free: 8.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.03808/0.1792, allocations: 1.665 MB / 416.7 MB, free: 6.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.1793, allocations: 59.39 kB / 416.8 MB, free: 6.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1795, allocations: 117.3 kB / 416.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.1795, allocations: 25.7 kB / 416.9 MB, free: 6.668 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.507e-05/0.1796, allocations: 158.5 kB / 417.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.452e-05/0.1797, allocations: 39.38 kB / 417.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.1798, allocations: 0 / 417.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1799, allocations: 322.8 kB / 417.4 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.1811, allocations: 204.1 kB / 417.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.1823, allocations: 204.2 kB / 417.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.1836, allocations: 187.7 kB / 418 MB, free: 5.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1836, allocations: 0 / 418 MB, free: 5.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.002642/0.1863, allocations: 467.3 kB / 418.4 MB, free: 5.109 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1863, allocations: 4 kB / 418.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1863, allocations: 0 / 418.4 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.1864, allocations: 4 kB / 418.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.1874, allocations: 71.92 kB / 418.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1874, allocations: 0 / 418.5 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007898/0.1882, allocations: 43.91 kB / 418.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.1883, allocations: 7.984 kB / 418.6 MB, free: 4.98 MB / 346.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.0001765/0.1885, allocations: 113.8 kB / 418.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.1885, allocations: 11.86 kB / 418.7 MB, free: 4.848 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002639/0.1912, allocations: 378 kB / 419.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.1912, allocations: 0 / 419.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1912, allocations: 0 / 419.1 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.1912, allocations: 4 kB / 419.1 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005222/0.1965, allocations: 0.7895 MB / 419.9 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1965, allocations: 0 / 419.9 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/0.1974, allocations: 71.88 kB / 419.9 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.1975, allocations: 96 / 419.9 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.1975, allocations: 11.98 kB / 419.9 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/0.1975, allocations: 4 kB / 419.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1975, allocations: 0 / 419.9 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002405/0.1999, allocations: 466.9 kB / 420.4 MB, free: 3.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.2001, allocations: 112.9 kB / 420.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.2002, allocations: 3.938 kB / 420.5 MB, free: 2.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008374/0.201, allocations: 51.91 kB / 420.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.2011, allocations: 7.984 kB / 420.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.2011, allocations: 8 kB / 420.6 MB, free: 2.828 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.874e-05/0.2012, allocations: 103.8 kB / 420.7 MB, free: 2.727 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.2013, allocations: 0 / 420.7 MB, free: 2.727 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008345/0.2021, allocations: 168 kB / 420.8 MB, free: 2.562 MB / 346.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.000936/0.203, allocations: 247.1 kB / 421.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002431/0.2055, allocations: 380 kB / 421.5 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2055, allocations: 0 / 421.5 MB, free: 1.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.2066, allocations: 152 kB / 421.6 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.207, allocations: 15.98 kB / 421.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/0.2116, allocations: 0.573 MB / 422.2 MB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.212, allocations: 0.7004 MB / 422.9 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.2122, allocations: 27.41 kB / 422.9 MB, free: 420 kB / 346.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2122, allocations: 0 / 422.9 MB, free: 420 kB / 346.7 MB Notification: Performance of Templates: time 0.3587/0.571, allocations: 4.907 MB / 427.8 MB, free: 12.04 MB / 346.7 MB