Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadModel(ModelicaTest): time 2.134/2.134, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.154e-05/5.172e-05, allocations: 7.984 kB / 304.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 54.84 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.475/1.796, allocations: 0.6092 GB / 0.9605 GB, free: 143.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.796, allocations: 94.84 kB / 0.9606 GB, free: 143.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.099/2.895, allocations: 269.3 MB / 1.224 GB, free: 67.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.936e-06/2.895, allocations: 4 kB / 1.224 GB, free: 67.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.671e-05/2.895, allocations: 16 kB / 1.224 GB, free: 67.53 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002823/2.898, allocations: 1.195 MB / 1.225 GB, free: 66.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/2.898, allocations: 12.03 kB / 1.225 GB, free: 66.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/2.9, allocations: 151.1 kB / 1.225 GB, free: 66.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/2.901, allocations: 0.5249 MB / 1.226 GB, free: 65.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/2.901, allocations: 32.94 kB / 1.226 GB, free: 65.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.632e-05/2.901, allocations: 47.95 kB / 1.226 GB, free: 65.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/2.902, allocations: 0.6163 MB / 1.226 GB, free: 64.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/2.902, allocations: 7.938 kB / 1.226 GB, free: 64.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.701e-05/2.902, allocations: 20 kB / 1.226 GB, free: 64.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/2.903, allocations: 12 kB / 1.226 GB, free: 64.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/2.904, allocations: 485.7 kB / 1.227 GB, free: 64.3 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/2.907, allocations: 2.571 MB / 1.229 GB, free: 61.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007062/2.907, allocations: 291.6 kB / 1.229 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/2.908, allocations: 157.4 kB / 1.23 GB, free: 61.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003534/2.908, allocations: 325.6 kB / 1.23 GB, free: 60.72 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/2.908, allocations: 42.42 kB / 1.23 GB, free: 60.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.402e-06/2.908, allocations: 4 kB / 1.23 GB, free: 60.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.00127/2.909, allocations: 445.5 kB / 1.23 GB, free: 60.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/2.909, allocations: 162.2 kB / 1.231 GB, free: 60.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/2.91, allocations: 391.8 kB / 1.231 GB, free: 59.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/2.91, allocations: 33.7 kB / 1.231 GB, free: 59.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/2.91, allocations: 361.7 kB / 1.231 GB, free: 59.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/2.91, allocations: 118.3 kB / 1.231 GB, free: 59.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/2.91, allocations: 12 kB / 1.231 GB, free: 59.11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/2.91, allocations: 330.8 kB / 1.232 GB, free: 58.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/2.911, allocations: 133.1 kB / 1.232 GB, free: 58.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004964/2.911, allocations: 353.6 kB / 1.232 GB, free: 58.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/2.912, allocations: 188 kB / 1.232 GB, free: 58.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/2.912, allocations: 4 kB / 1.232 GB, free: 58.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00113/2.913, allocations: 0.5333 MB / 1.233 GB, free: 57.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/2.913, allocations: 15.89 kB / 1.233 GB, free: 57.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/2.913, allocations: 8.094 kB / 1.233 GB, free: 57.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/2.915, allocations: 236.5 kB / 1.233 GB, free: 57.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/2.915, allocations: 135.8 kB / 1.233 GB, free: 57.08 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004401/2.915, allocations: 0.5874 MB / 1.234 GB, free: 56.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005871/2.916, allocations: 71.45 kB / 1.234 GB, free: 56.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.807e-05/2.916, allocations: 60.05 kB / 1.234 GB, free: 56.34 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001467/2.916, allocations: 140.8 kB / 1.234 GB, free: 56.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/2.917, allocations: 59.28 kB / 1.234 GB, free: 56.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/2.918, allocations: 0.6468 MB / 1.235 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.356e-06/2.919, allocations: 4 kB / 1.235 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/2.919, allocations: 0 / 1.235 GB, free: 55.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.919e-06/2.919, allocations: 7.922 kB / 1.235 GB, free: 55.47 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/2.921, allocations: 1.5 MB / 1.236 GB, free: 53.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.861e-06/2.921, allocations: 4 kB / 1.236 GB, free: 53.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/2.921, allocations: 76.22 kB / 1.236 GB, free: 53.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/2.923, allocations: 232.6 kB / 1.237 GB, free: 53.52 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/2.923, allocations: 19.98 kB / 1.237 GB, free: 53.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004/2.923, allocations: 0.5797 MB / 1.237 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.923, allocations: 0 / 1.237 GB, free: 52.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008954/2.924, allocations: 0.689 MB / 1.238 GB, free: 52.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/2.924, allocations: 132.4 kB / 1.238 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/2.924, allocations: 16 kB / 1.238 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/2.925, allocations: 31.91 kB / 1.238 GB, free: 51.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/2.925, allocations: 31.92 kB / 1.238 GB, free: 51.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.969e-05/2.925, allocations: 35.98 kB / 1.238 GB, free: 51.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004199/2.925, allocations: 309.6 kB / 1.238 GB, free: 51.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.813e-06/2.925, allocations: 0 / 1.238 GB, free: 51.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001594/2.927, allocations: 447.3 kB / 1.239 GB, free: 51.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002172/2.929, allocations: 1.305 MB / 1.24 GB, free: 49.79 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009232/2.93, allocations: 375.6 kB / 1.24 GB, free: 49.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/2.93, allocations: 1.75 kB / 1.24 GB, free: 49.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/2.931, allocations: 184.4 kB / 1.241 GB, free: 49.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/2.932, allocations: 285.1 kB / 1.241 GB, free: 48.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/2.939, allocations: 2.112 MB / 1.243 GB, free: 46.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/2.94, allocations: 0.8716 MB / 1.244 GB, free: 45.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/2.94, allocations: 111.4 kB / 1.244 GB, free: 45.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.477e-06/2.94, allocations: 0 / 1.244 GB, free: 45.79 MB / 490.7 MB Notification: Performance of Templates: time 0.02587/2.966, allocations: 18.58 MB / 1.262 GB, free: 27.21 MB / 490.7 MB