Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.959/1.959, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.07e-05, allocations: 4 kB / 276.2 MB, free: 15.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3506, allocations: 48.69 MB / 324.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00259/0.3533, allocations: 1.459 MB / 326.3 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002922/0.3562, allocations: 1.397 MB / 327.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.3565, allocations: 0.7812 kB / 327.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3567, allocations: 33.23 kB / 327.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.357, allocations: 59.75 kB / 327.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.3579, allocations: 191.8 kB / 328 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.3582, allocations: 108.7 kB / 328.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.899e-05/0.3582, allocations: 6.828 kB / 328.1 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3584, allocations: 72.69 kB / 328.2 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.3586, allocations: 84.47 kB / 328.3 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002038/0.3607, allocations: 0.6889 MB / 329 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001948/0.3609, allocations: 23.19 kB / 329 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3611, allocations: 60.67 kB / 329 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.3612, allocations: 19.25 kB / 329.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.3623, allocations: 365 kB / 329.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3624, allocations: 0.7812 kB / 329.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3624, allocations: 0 / 329.4 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.3624, allocations: 0 / 329.4 MB, free: 0.9375 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001211/0.3636, allocations: 0.577 MB / 330 MB, free: 460 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3637, allocations: 13.62 kB / 330 MB, free: 456 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.3638, allocations: 34.03 kB / 330 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.3642, allocations: 245 kB / 330.3 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.3642, allocations: 18.72 kB / 330.3 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3643, allocations: 28.98 kB / 330.3 MB, free: 176 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.3655, allocations: 467.4 kB / 330.8 MB, free: 8 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.3656, allocations: 4.5 kB / 330.8 MB, free: 4 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.942e-05/0.3657, allocations: 10.83 kB / 330.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3658, allocations: 52.42 kB / 330.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.3674, allocations: 0.552 MB / 331.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.3707, allocations: 1.347 MB / 332.8 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3718, allocations: 284.2 kB / 333 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-05/0.3719, allocations: 5.312 kB / 333 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.372, allocations: 46.67 kB / 333.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.926e-06/0.372, allocations: 0 / 333.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.001322/0.3733, allocations: 343.5 kB / 333.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.3734, allocations: 53.69 kB / 333.5 MB, free: 14.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3736, allocations: 134.5 kB / 333.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.3736, allocations: 29.7 kB / 333.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.3739, allocations: 259.5 kB / 333.9 MB, free: 14.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.374, allocations: 85.97 kB / 334 MB, free: 14.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.374, allocations: 9.594 kB / 334 MB, free: 14.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3742, allocations: 322.6 kB / 334.3 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.3746, allocations: 95.05 kB / 334.4 MB, free: 13.88 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.375, allocations: 173.4 kB / 334.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004366/0.3755, allocations: 120.9 kB / 334.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3755, allocations: 1.312 kB / 334.7 MB, free: 13.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001062/0.3766, allocations: 333.9 kB / 335 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.3766, allocations: 10.03 kB / 335 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3766, allocations: 6.781 kB / 335 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3767, allocations: 4.875 kB / 335 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.3778, allocations: 136.4 kB / 335.2 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.3796, allocations: 2.364 MB / 337.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.3801, allocations: 36.88 kB / 337.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.3801, allocations: 14.69 kB / 337.6 MB, free: 11.21 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003436/0.3805, allocations: 183 kB / 337.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.3806, allocations: 14.5 kB / 337.8 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.3821, allocations: 384.4 kB / 338.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3822, allocations: 2.438 kB / 338.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.403e-06/0.3822, allocations: 1.125 kB / 338.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3822, allocations: 1.5 kB / 338.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.3829, allocations: 342.1 kB / 338.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3829, allocations: 1.312 kB / 338.5 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009951/0.384, allocations: 121.2 kB / 338.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/0.384, allocations: 1.5 kB / 338.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.384, allocations: 10.17 kB / 338.6 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.3856, allocations: 2.355 MB / 341 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3857, allocations: 0 / 341 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3867, allocations: 390.2 kB / 341.3 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.754e-05/0.3868, allocations: 95.44 kB / 341.4 MB, free: 7.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.3869, allocations: 5.953 kB / 341.4 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.3872, allocations: 18.53 kB / 341.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.3873, allocations: 18.75 kB / 341.5 MB, free: 7.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.3873, allocations: 12.97 kB / 341.5 MB, free: 7.965 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.3874, allocations: 102.3 kB / 341.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3875, allocations: 0 / 341.6 MB, free: 7.883 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008673/0.3883, allocations: 165.9 kB / 341.8 MB, free: 7.828 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006815/0.389, allocations: 234.9 kB / 342 MB, free: 7.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.3904, allocations: 294.2 kB / 342.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3905, allocations: 0 / 342.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/0.3913, allocations: 179.6 kB / 342.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.3916, allocations: 9.031 kB / 342.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.3933, allocations: 0.7398 MB / 343.2 MB, free: 7.137 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.3939, allocations: 0.8053 MB / 344 MB, free: 6.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3941, allocations: 28.09 kB / 344 MB, free: 6.422 MB / 282.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3941, allocations: 0 / 344 MB, free: 6.422 MB / 282.7 MB Notification: Performance of Templates: time 0.01996/0.414, allocations: 8.661 MB / 352.7 MB, free: 2.004 MB / 282.7 MB