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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.348e-05, allocations: 7.984 kB / 308 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4149, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW): time 0.002679/0.4176, allocations: 1.442 MB / 364.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.4193, allocations: 0.6944 MB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4195, allocations: 1.031 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.4197, allocations: 25.7 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.42, allocations: 57.64 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.4202, allocations: 41.17 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.4204, allocations: 55.94 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.478e-05/0.4204, allocations: 1.469 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.4206, allocations: 44.02 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.4207, allocations: 49.45 kB / 365.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.421, allocations: 68.67 kB / 365.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.4211, allocations: 4.719 kB / 365.4 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.4211, allocations: 33.86 kB / 365.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.4212, allocations: 6.875 kB / 365.4 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.4215, allocations: 97.94 kB / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4215, allocations: 0 / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4215, allocations: 4 kB / 365.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.148e-05/0.4215, allocations: 5.094 kB / 365.5 MB, free: 10.01 MB / 298.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.0007112/0.4222, allocations: 384.8 kB / 365.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4223, allocations: 8.719 kB / 365.9 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.4227, allocations: 36.94 kB / 365.9 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.423, allocations: 186 kB / 366.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.423, allocations: 16.19 kB / 366.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.4231, allocations: 10.52 kB / 366.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.4236, allocations: 182.7 kB / 366.3 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4237, allocations: 1 kB / 366.3 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.4237, allocations: 5.078 kB / 366.3 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.75e-05/0.4238, allocations: 19.45 kB / 366.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.4243, allocations: 141.4 kB / 366.5 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.4257, allocations: 0.6423 MB / 367.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4262, allocations: 116.6 kB / 367.2 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.4263, allocations: 1 kB / 367.2 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.4263, allocations: 31.78 kB / 367.3 MB, free: 8.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.4263, allocations: 4 kB / 367.3 MB, free: 8.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007198/0.4271, allocations: 146.5 kB / 367.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.4271, allocations: 63.34 kB / 367.5 MB, free: 8.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4273, allocations: 120.7 kB / 367.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.4273, allocations: 25.7 kB / 367.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4274, allocations: 195.2 kB / 367.8 MB, free: 7.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.4275, allocations: 23.92 kB / 367.8 MB, free: 7.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.4275, allocations: 4 kB / 367.8 MB, free: 7.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.4276, allocations: 320.8 kB / 368.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.4279, allocations: 41.94 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.4281, allocations: 97.05 kB / 368.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.4284, allocations: 55.09 kB / 368.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4284, allocations: 1.156 kB / 368.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005794/0.429, allocations: 169.3 kB / 368.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.429, allocations: 6.312 kB / 368.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.429, allocations: 2.469 kB / 368.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.4291, allocations: 7.062 kB / 368.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.4294, allocations: 40.78 kB / 368.6 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4294, allocations: 7.094 kB / 368.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.4296, allocations: 25.38 kB / 368.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.4297, allocations: 9.594 kB / 368.6 MB, free: 7.371 MB / 298.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.0001416/0.4298, allocations: 122.4 kB / 368.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.4299, allocations: 11.06 kB / 368.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005776/0.4304, allocations: 133.3 kB / 368.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4305, allocations: 1.25 kB / 368.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4305, allocations: 3.938 kB / 368.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4305, allocations: 8.922 kB / 368.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.4308, allocations: 205.4 kB / 369.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4308, allocations: 0 / 369.1 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.4311, allocations: 28.11 kB / 369.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.4311, allocations: 0 / 369.1 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.4312, allocations: 4.953 kB / 369.1 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.4312, allocations: 4 kB / 369.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4312, allocations: 1 kB / 369.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005384/0.4317, allocations: 225.9 kB / 369.3 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.4318, allocations: 83.23 kB / 369.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.4319, allocations: 5.078 kB / 369.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.432, allocations: 14.09 kB / 369.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.4321, allocations: 7.047 kB / 369.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.4321, allocations: 2.125 kB / 369.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.73e-05/0.4322, allocations: 92.55 kB / 369.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4322, allocations: 1.062 kB / 369.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003671/0.4326, allocations: 27.78 kB / 369.6 MB, free: 6.523 MB / 298.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.0001749/0.4328, allocations: 101.3 kB / 369.7 MB, free: 6.434 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.4333, allocations: 115.9 kB / 369.8 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4333, allocations: 4 kB / 369.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.4335, allocations: 41.62 kB / 369.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.4338, allocations: 18.62 kB / 369.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/0.4345, allocations: 327.7 kB / 370.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.4349, allocations: 0.7175 MB / 370.9 MB, free: 5.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.4349, allocations: 12.56 kB / 370.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4349, allocations: 0 / 370.9 MB, free: 5.359 MB / 298.7 MB Notification: Performance of Templates: time 0.003991/0.4389, allocations: 1.298 MB / 372.2 MB, free: 4.109 MB / 298.7 MB