Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|leftBoundary1.ports.1..m_flow|leftBoundary1.ports.1..p|leftBoundary1.ports.1..h_outflow|rightBoundary1.ports.1..m_flow|rightBoundary1.ports.1..p|rightBoundary1.ports.1..h_outflow|suddenExpansion1.port_b.m_flow|suddenExpansion1.port_b.p|suddenExpansion1.port_b.h_outflow|leftBoundary2.ports.1..m_flow|leftBoundary2.ports.1..p|leftBoundary2.ports.1..h_outflow|rightBoundary2.ports.1..m_flow|rightBoundary2.ports.1..p|rightBoundary2.ports.1..h_outflow|suddenExpansion2.port_b.m_flow|suddenExpansion2.port_b.p|suddenExpansion2.port_b.h_outflow|leftAdapter.port_b.m_flow|leftAdapter.port_b.p|leftAdapter.port_b.h_outflow|rightAdapter.port_b.m_flow|rightAdapter.port_b.p|rightAdapter.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 1.837/1.837, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.578e-05/4.6e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 48.69 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.28/6.392, allocations: 2.483 GB / 2.797 GB, free: 118.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.393, allocations: 81.12 kB / 2.797 GB, free: 118.4 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:327:3-329:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.243/8.636, allocations: 495.3 MB / 3.281 GB, free: 40.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.313e-06/8.636, allocations: 0 / 3.281 GB, free: 40.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001198/8.636, allocations: 37.81 kB / 3.281 GB, free: 40.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.008873/8.645, allocations: 2.073 MB / 3.283 GB, free: 39.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/8.645, allocations: 16 kB / 3.283 GB, free: 39.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006127/8.651, allocations: 0.5853 MB / 3.284 GB, free: 39.51 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/8.654, allocations: 0.9436 MB / 3.285 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/8.654, allocations: 73.84 kB / 3.285 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/8.654, allocations: 93.62 kB / 3.285 GB, free: 39.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00471/8.659, allocations: 1.721 MB / 3.287 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/8.659, allocations: 8.719 kB / 3.287 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/8.659, allocations: 46.38 kB / 3.287 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/8.659, allocations: 25.25 kB / 3.287 GB, free: 38.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004501/8.664, allocations: 1.473 MB / 3.288 GB, free: 38.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00987/8.673, allocations: 8.06 MB / 3.296 GB, free: 33.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/8.678, allocations: 1.747 MB / 3.298 GB, free: 32.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/8.678, allocations: 360.2 kB / 3.298 GB, free: 32.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2084/8.887, allocations: 80.65 MB / 3.377 GB, free: 19.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/8.887, allocations: 46.36 kB / 3.377 GB, free: 19.76 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 4.227e-06/8.887, allocations: 0 / 3.377 GB, free: 19.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.005611/8.893, allocations: 1.593 MB / 3.378 GB, free: 19.65 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/8.893, allocations: 190.6 kB / 3.378 GB, free: 19.43 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/8.894, allocations: 0.8064 MB / 3.379 GB, free: 19.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/8.894, allocations: 35.8 kB / 3.379 GB, free: 19.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/8.895, allocations: 0.6239 MB / 3.38 GB, free: 18.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/8.895, allocations: 248.1 kB / 3.38 GB, free: 18.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/8.895, allocations: 24.34 kB / 3.38 GB, free: 18.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/8.895, allocations: 360.8 kB / 3.381 GB, free: 18.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000608/8.896, allocations: 287.8 kB / 3.381 GB, free: 18.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008024/8.897, allocations: 0.7593 MB / 3.382 GB, free: 17.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/8.898, allocations: 428.8 kB / 3.382 GB, free: 17.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/8.898, allocations: 3.906 kB / 3.382 GB, free: 17.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002517/8.9, allocations: 1.15 MB / 3.383 GB, free: 17.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/8.9, allocations: 15.31 kB / 3.383 GB, free: 17.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/8.9, allocations: 23.61 kB / 3.383 GB, free: 17.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00712/8.907, allocations: 0.8175 MB / 3.384 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/8.909, allocations: 306.8 kB / 3.384 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/8.911, allocations: 1.518 MB / 3.386 GB, free: 16.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/8.912, allocations: 159.9 kB / 3.386 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/8.913, allocations: 68.23 kB / 3.386 GB, free: 16.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 20 (rightAdapter.state_b.phase,rightAdapter.state_a.phase,rightAdapter.state_a_nondes.phase,rightAdapter.state_b_des.phase,leftAdapter.state_b.phase,leftAdapter.state_a.phase,leftAdapter.state_a_nondes.phase,leftAdapter.state_b_des.phase,suddenExpansion2.state_b.phase,suddenExpansion2.state_a.phase,suddenExpansion2.state_a_nondes.phase,suddenExpansion2.state_b_des.phase,rightBoundary2.medium.phase,leftBoundary2.medium.phase,suddenExpansion1.state_b.phase,suddenExpansion1.state_a.phase,suddenExpansion1.state_a_nondes.phase,suddenExpansion1.state_b_des.phase,rightBoundary1.medium.phase,leftBoundary1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003018/8.913, allocations: 196.2 kB / 3.386 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/8.913, allocations: 108.1 kB / 3.386 GB, free: 16.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005637/8.919, allocations: 4.438 MB / 3.391 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.194e-05/8.919, allocations: 45.75 kB / 3.391 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.642e-06/8.919, allocations: 0 / 3.391 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/8.919, allocations: 10.7 kB / 3.391 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/8.926, allocations: 4.868 MB / 3.395 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/8.926, allocations: 7.125 kB / 3.395 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/8.927, allocations: 179.8 kB / 3.396 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00911/8.937, allocations: 1.881 MB / 3.397 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/8.937, allocations: 21.56 kB / 3.397 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001981/8.939, allocations: 1.907 MB / 3.399 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.979e-06/8.939, allocations: 4.094 kB / 3.399 GB, free: 13.48 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/8.942, allocations: 1.988 MB / 3.401 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000645/8.942, allocations: 315.9 kB / 3.401 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002262/8.943, allocations: 23.66 kB / 3.402 GB, free: 12.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007918/8.943, allocations: 61.38 kB / 3.402 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/8.944, allocations: 55.75 kB / 3.402 GB, free: 12.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.695e-05/8.944, allocations: 24.34 kB / 3.402 GB, free: 12.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001186/8.945, allocations: 0.6921 MB / 3.402 GB, free: 12.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.96e-07/8.945, allocations: 0 / 3.402 GB, free: 12.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005517/8.95, allocations: 1.324 MB / 3.404 GB, free: 12.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.008489/8.959, allocations: 1.768 MB / 3.405 GB, free: 12.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003492/8.962, allocations: 1.211 MB / 3.407 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.408e-06/8.963, allocations: 5.969 kB / 3.407 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/8.965, allocations: 0.9271 MB / 3.407 GB, free: 12.03 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/8.969, allocations: 0.5283 MB / 3.408 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4549/9.424, allocations: 77.51 MB / 3.484 GB, free: 83.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/9.425, allocations: 1.337 MB / 3.485 GB, free: 83.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003721/9.425, allocations: 101.5 kB / 3.485 GB, free: 83.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.85e-06/9.425, allocations: 0 / 3.485 GB, free: 83.17 MB / 490.7 MB Notification: Performance of Templates: time 0.07533/9.5, allocations: 51.06 MB / 3.535 GB, free: 80.75 MB / 490.7 MB