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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.577e-05/2.575e-05, allocations: 0 / 308 MB, free: 15.97 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3703, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_suddenChange_DPMFLOW): time 0.002808/0.3732, allocations: 1.439 MB / 364.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.376, allocations: 1.154 MB / 365.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3762, allocations: 1.25 kB / 365.5 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.3764, allocations: 26.41 kB / 365.5 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.3767, allocations: 42.56 kB / 365.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.3773, allocations: 140.4 kB / 365.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3775, allocations: 52.86 kB / 365.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.867e-05/0.3775, allocations: 1.406 kB / 365.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.3777, allocations: 49.33 kB / 365.8 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3778, allocations: 40.94 kB / 365.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.3791, allocations: 497.6 kB / 366.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.157e-05/0.3792, allocations: 16.97 kB / 366.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.3792, allocations: 17.78 kB / 366.3 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.156e-05/0.3793, allocations: 8.344 kB / 366.3 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.3799, allocations: 216.2 kB / 366.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3799, allocations: 0 / 366.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.38, allocations: 0 / 366.5 MB, free: 9.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.38, allocations: 0 / 366.5 MB, free: 9.305 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007319/0.3807, allocations: 430.6 kB / 367 MB, free: 8.875 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3808, allocations: 9.406 kB / 367 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.3809, allocations: 13.39 kB / 367 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.381, allocations: 175.1 kB / 367.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3811, allocations: 8.5 kB / 367.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.3811, allocations: 15.72 kB / 367.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004745/0.3816, allocations: 145.4 kB / 367.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3816, allocations: 0 / 367.3 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.3817, allocations: 5.25 kB / 367.3 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.3817, allocations: 7.953 kB / 367.3 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.3823, allocations: 145.1 kB / 367.5 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.3836, allocations: 0.5212 MB / 368 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.384, allocations: 100.2 kB / 368.1 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.3841, allocations: 5.203 kB / 368.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.3841, allocations: 35.59 kB / 368.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.515e-06/0.3842, allocations: 1.281 kB / 368.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000827/0.385, allocations: 181.2 kB / 368.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.3851, allocations: 57.55 kB / 368.4 MB, free: 7.711 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3852, allocations: 103.2 kB / 368.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.3852, allocations: 26.86 kB / 368.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3854, allocations: 194.5 kB / 368.7 MB, free: 7.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3854, allocations: 39.3 kB / 368.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.3855, allocations: 1.406 kB / 368.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3856, allocations: 317.3 kB / 369 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/0.3858, allocations: 40.62 kB / 369.1 MB, free: 7.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.3861, allocations: 91.61 kB / 369.2 MB, free: 6.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3864, allocations: 52.92 kB / 369.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3864, allocations: 1.062 kB / 369.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000645/0.3871, allocations: 165.5 kB / 369.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3871, allocations: 15.14 kB / 369.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3871, allocations: 2.156 kB / 369.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.3872, allocations: 1.969 kB / 369.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004301/0.3876, allocations: 52.16 kB / 369.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005064/0.3881, allocations: 0.5843 MB / 370 MB, free: 6.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.3884, allocations: 25.23 kB / 370.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.3884, allocations: 5.344 kB / 370.1 MB, free: 6.203 MB / 298.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.0001597/0.3886, allocations: 122.3 kB / 370.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.3886, allocations: 7.953 kB / 370.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.3894, allocations: 189.9 kB / 370.4 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3894, allocations: 5.281 kB / 370.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3894, allocations: 1.281 kB / 370.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3894, allocations: 0 / 370.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000413/0.3899, allocations: 218.6 kB / 370.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3899, allocations: 0 / 370.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.3903, allocations: 44.97 kB / 370.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3904, allocations: 0 / 370.6 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3904, allocations: 5.719 kB / 370.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004738/0.3909, allocations: 0.5918 MB / 371.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3909, allocations: 4.094 kB / 371.2 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.3918, allocations: 306.2 kB / 371.5 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.3919, allocations: 92.98 kB / 371.6 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3919, allocations: 8 kB / 371.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3921, allocations: 7.984 kB / 371.6 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.957e-05/0.3922, allocations: 15.98 kB / 371.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3922, allocations: 4 kB / 371.7 MB, free: 4.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.3923, allocations: 87.27 kB / 371.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3923, allocations: 0 / 371.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005361/0.3929, allocations: 83.92 kB / 371.8 MB, free: 4.477 MB / 298.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.0004535/0.3934, allocations: 175.3 kB / 372 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.3941, allocations: 140.2 kB / 372.1 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3941, allocations: 3.938 kB / 372.1 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.3945, allocations: 76.27 kB / 372.2 MB, free: 4.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3948, allocations: 224 / 372.2 MB, free: 4.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3958, allocations: 393.5 kB / 372.6 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3962, allocations: 0.7082 MB / 373.3 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.002e-05/0.3963, allocations: 19.42 kB / 373.3 MB, free: 2.914 MB / 298.7 MB Notification: Performance of SimCode: time 2.956e-06/0.3963, allocations: 4 kB / 373.3 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Templates: time 0.007452/0.4038, allocations: 2.519 MB / 375.9 MB, free: 408 kB / 298.7 MB