Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.972/1.972, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.736e-05/4.746e-05, allocations: 4 kB / 276.2 MB, free: 15.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.355, allocations: 48.68 MB / 324.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002527/0.3575, allocations: 1.439 MB / 326.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.359, allocations: 0.6899 MB / 327 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.547e-05/0.3592, allocations: 1.156 kB / 327 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.3594, allocations: 36.55 kB / 327 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002577/0.3596, allocations: 48.06 kB / 327.1 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.3598, allocations: 41.62 kB / 327.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3599, allocations: 54.8 kB / 327.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.099e-05/0.36, allocations: 2.125 kB / 327.2 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.3602, allocations: 37.72 kB / 327.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.3603, allocations: 57.91 kB / 327.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.3605, allocations: 74.66 kB / 327.3 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.888e-05/0.3606, allocations: 9.094 kB / 327.4 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.3607, allocations: 26.67 kB / 327.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3607, allocations: 6.594 kB / 327.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.361, allocations: 90.03 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.361, allocations: 0 / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.361, allocations: 0 / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.361, allocations: 1.312 kB / 327.5 MB, free: 1.836 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005874/0.3616, allocations: 399.1 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3617, allocations: 9.594 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003954/0.3621, allocations: 30.33 kB / 327.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3623, allocations: 185.8 kB / 328.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.3623, allocations: 5.547 kB / 328.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.3623, allocations: 16.77 kB / 328.1 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.3629, allocations: 181.7 kB / 328.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3629, allocations: 0 / 328.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.3629, allocations: 6.641 kB / 328.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.653e-05/0.363, allocations: 10.56 kB / 328.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.3636, allocations: 149.6 kB / 328.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.3647, allocations: 0.6461 MB / 329.1 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.3652, allocations: 114.2 kB / 329.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.3652, allocations: 1.375 kB / 329.2 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.3653, allocations: 36.19 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.3653, allocations: 3.891 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007213/0.366, allocations: 153.7 kB / 329.4 MB, free: 404 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.3661, allocations: 56.41 kB / 329.5 MB, free: 336 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.919e-05/0.3662, allocations: 116.4 kB / 329.6 MB, free: 232 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.3662, allocations: 27.14 kB / 329.6 MB, free: 200 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.3663, allocations: 192.3 kB / 329.8 MB, free: 12 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.958e-05/0.3663, allocations: 30.17 kB / 329.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.3664, allocations: 0 / 329.8 MB, free: 15.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3665, allocations: 319.5 kB / 330.1 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.3667, allocations: 41.95 kB / 330.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.367, allocations: 102.1 kB / 330.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3672, allocations: 53.91 kB / 330.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3673, allocations: 0 / 330.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005773/0.3678, allocations: 177.2 kB / 330.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3679, allocations: 9.047 kB / 330.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3679, allocations: 2.406 kB / 330.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.3679, allocations: 3.453 kB / 330.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.3683, allocations: 43.95 kB / 330.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3683, allocations: 5.125 kB / 330.6 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.3685, allocations: 23.3 kB / 330.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.3685, allocations: 6.359 kB / 330.6 MB, free: 15.47 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * 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.0001394/0.3687, allocations: 125.7 kB / 330.7 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.3687, allocations: 15.08 kB / 330.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005349/0.3693, allocations: 133.4 kB / 330.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3693, allocations: 1.156 kB / 330.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3693, allocations: 3.938 kB / 330.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3693, allocations: 1.875 kB / 330.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.3696, allocations: 205.6 kB / 331.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3697, allocations: 1.781 kB / 331.1 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.3699, allocations: 36.36 kB / 331.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.37, allocations: 2.047 kB / 331.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.37, allocations: 4 kB / 331.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.37, allocations: 0.6562 kB / 331.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.37, allocations: 1.062 kB / 331.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.3705, allocations: 215.9 kB / 331.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.3706, allocations: 80.56 kB / 331.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.3706, allocations: 5.531 kB / 331.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.3708, allocations: 8.531 kB / 331.4 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.3709, allocations: 14.12 kB / 331.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.3709, allocations: 5.656 kB / 331.4 MB, free: 14.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.042e-05/0.371, allocations: 97.27 kB / 331.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.371, allocations: 0 / 331.5 MB, free: 14.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.3714, allocations: 23.16 kB / 331.5 MB, free: 14.71 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 (8): * Single equations (assignments): 8 * 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.0001798/0.3715, allocations: 104.3 kB / 331.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005071/0.3721, allocations: 113 kB / 331.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3721, allocations: 0 / 331.8 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.3723, allocations: 52.09 kB / 331.8 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3725, allocations: 11.44 kB / 331.8 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006832/0.3732, allocations: 325.9 kB / 332.1 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.3736, allocations: 0.7133 MB / 332.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.487e-05/0.3737, allocations: 13.59 kB / 332.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.3737, allocations: 0 / 332.9 MB, free: 13.64 MB / 282.7 MB Notification: Performance of Templates: time 0.004154/0.3778, allocations: 1.301 MB / 334.2 MB, free: 13.54 MB / 282.7 MB