Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|frac_A1toA2|frac_A1toA2|A_1|A_2|C_1|C_2|eta|rho|input_mdot|input_dp|M_FLOW|DP|d_hyd|velocity|Re|DP_plot|zeta_TOT|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.024/2.024, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.987e-05, allocations: 7.938 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3573, allocations: 48.7 MB / 324.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002584/0.36, allocations: 1.437 MB / 326.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.3625, allocations: 1.138 MB / 327.4 MB, free: 1.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3627, allocations: 7.875 kB / 327.5 MB, free: 1.723 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001785/0.3629, allocations: 24.91 kB / 327.5 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.3632, allocations: 48.62 kB / 327.5 MB, free: 1.695 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.3639, allocations: 141 kB / 327.7 MB, free: 1.629 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3641, allocations: 55.03 kB / 327.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.3642, allocations: 2.406 kB / 327.7 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001689/0.3643, allocations: 41.95 kB / 327.8 MB, free: 1.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3645, allocations: 42.25 kB / 327.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.3657, allocations: 494.9 kB / 328.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.3659, allocations: 16.59 kB / 328.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.57e-05/0.3659, allocations: 18.36 kB / 328.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.366, allocations: 6.875 kB / 328.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.3666, allocations: 215.4 kB / 328.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3667, allocations: 0 / 328.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.3667, allocations: 1.031 kB / 328.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3667, allocations: 4 kB / 328.5 MB, free: 1.355 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006263/0.3674, allocations: 423 kB / 329 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.3674, allocations: 8.188 kB / 329 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.81e-05/0.3675, allocations: 10.81 kB / 329 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3676, allocations: 179.2 kB / 329.1 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3676, allocations: 10.25 kB / 329.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.3677, allocations: 12 kB / 329.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.3682, allocations: 153.4 kB / 329.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3682, allocations: 0 / 329.3 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.3683, allocations: 8.875 kB / 329.3 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.3683, allocations: 3.125 kB / 329.3 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.3688, allocations: 146.7 kB / 329.5 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.3701, allocations: 0.5213 MB / 330 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.3705, allocations: 113.2 kB / 330.1 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.3706, allocations: 2.062 kB / 330.1 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.3706, allocations: 31.53 kB / 330.1 MB, free: 64 kB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 3.096e-06/0.3706, allocations: 5 kB / 330.1 MB, free: 60 kB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008114/0.3714, allocations: 175.9 kB / 330.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.3715, allocations: 52.91 kB / 330.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.3716, allocations: 115.6 kB / 330.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.3717, allocations: 30.77 kB / 330.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3718, allocations: 182.9 kB / 330.7 MB, free: 15.61 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.3719, allocations: 34.98 kB / 330.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.3719, allocations: 5.156 kB / 330.7 MB, free: 15.58 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.372, allocations: 318 kB / 331 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.3722, allocations: 46.31 kB / 331.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.3725, allocations: 81.39 kB / 331.2 MB, free: 15.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.3728, allocations: 50.98 kB / 331.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.3728, allocations: 5.109 kB / 331.2 MB, free: 15.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006248/0.3734, allocations: 169.3 kB / 331.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3735, allocations: 5.531 kB / 331.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3735, allocations: 2.812 kB / 331.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.3735, allocations: 2.531 kB / 331.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.3739, allocations: 51.91 kB / 331.4 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004452/0.3744, allocations: 0.5879 MB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3746, allocations: 19.14 kB / 332 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.3747, allocations: 14.67 kB / 332.1 MB, free: 14.49 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * 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): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.3748, allocations: 118.7 kB / 332.2 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.3749, allocations: 7.312 kB / 332.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007295/0.3756, allocations: 183.1 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3756, allocations: 1.375 kB / 332.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3757, allocations: 5.312 kB / 332.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3757, allocations: 1.406 kB / 332.4 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000414/0.3761, allocations: 221.6 kB / 332.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3761, allocations: 0 / 332.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.3765, allocations: 46.95 kB / 332.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3765, allocations: 0.7031 kB / 332.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3766, allocations: 3.359 kB / 332.6 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003997/0.377, allocations: 0.5853 MB / 333.2 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.377, allocations: 7.953 kB / 333.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.3779, allocations: 305.9 kB / 333.5 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.378, allocations: 94.55 kB / 333.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.378, allocations: 2.438 kB / 333.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.3782, allocations: 7.875 kB / 333.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.3783, allocations: 22.91 kB / 333.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.3784, allocations: 8.312 kB / 333.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.579e-05/0.3784, allocations: 88.19 kB / 333.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3784, allocations: 1.312 kB / 333.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00058/0.379, allocations: 75.44 kB / 333.8 MB, free: 13.06 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (frac_A1toA2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005023/0.3796, allocations: 185.6 kB / 334 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007889/0.3804, allocations: 135.1 kB / 334.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3804, allocations: 0 / 334.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.3808, allocations: 74.92 kB / 334.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.3811, allocations: 9.719 kB / 334.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3821, allocations: 381.8 kB / 334.6 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3825, allocations: 0.7141 MB / 335.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.3826, allocations: 21.75 kB / 335.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.3826, allocations: 0 / 335.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of Templates: time 0.008107/0.3907, allocations: 2.504 MB / 337.8 MB, free: 11.67 MB / 282.7 MB