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.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.49e-05, allocations: 7.984 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.502/6.834, allocations: 2.76 GB / 3.134 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.835, allocations: 79.95 kB / 3.134 GB, free: 68.52 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:306:3-308: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.317/9.152, allocations: 0.4976 GB / 3.631 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.221e-06/9.152, allocations: 0 / 3.631 GB, free: 48.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.984e-05/9.152, allocations: 33.39 kB / 3.631 GB, free: 48.02 MB / 0.5105 GB 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.008846/9.161, allocations: 2.177 MB / 3.633 GB, free: 47.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/9.161, allocations: 9.906 kB / 3.633 GB, free: 47.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007049/9.168, allocations: 0.6205 MB / 3.634 GB, free: 47.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/9.17, allocations: 0.9151 MB / 3.635 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/9.17, allocations: 71.72 kB / 3.635 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/9.171, allocations: 93.19 kB / 3.635 GB, free: 46.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005042/9.176, allocations: 1.737 MB / 3.637 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.977e-05/9.176, allocations: 3.375 kB / 3.637 GB, free: 46.46 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/9.176, allocations: 54.42 kB / 3.637 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/9.176, allocations: 28.69 kB / 3.637 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/9.181, allocations: 1.475 MB / 3.638 GB, free: 46.45 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/9.192, allocations: 8.343 MB / 3.646 GB, free: 40.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003989/9.196, allocations: 1.772 MB / 3.648 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008252/9.197, allocations: 370 kB / 3.649 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1515/9.349, allocations: 63.19 MB / 3.71 GB, free: 32.73 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.904e-05/9.349, allocations: 47.2 kB / 3.71 GB, free: 32.69 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=69): time 4.295e-06/9.349, allocations: 3.938 kB / 3.71 GB, free: 32.68 MB / 0.5418 GB Notification: Performance of matching and sorting (n=69): time 0.005704/9.355, allocations: 1.64 MB / 3.712 GB, free: 32.57 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/9.355, allocations: 190.8 kB / 3.712 GB, free: 32.36 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/9.356, allocations: 0.9184 MB / 3.713 GB, free: 32.2 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/9.357, allocations: 43.33 kB / 3.713 GB, free: 32.16 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/9.357, allocations: 0.5686 MB / 3.714 GB, free: 31.9 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/9.357, allocations: 245.8 kB / 3.714 GB, free: 31.75 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.344e-05/9.357, allocations: 23.09 kB / 3.714 GB, free: 31.75 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001976/9.358, allocations: 343.2 kB / 3.714 GB, free: 31.45 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006629/9.358, allocations: 298.1 kB / 3.714 GB, free: 31.44 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008724/9.359, allocations: 0.6977 MB / 3.715 GB, free: 30.93 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/9.36, allocations: 408.7 kB / 3.716 GB, free: 30.9 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/9.36, allocations: 6.781 kB / 3.716 GB, free: 30.9 MB / 0.5418 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.002715/9.363, allocations: 1.197 MB / 3.717 GB, free: 30.77 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/9.363, allocations: 10.84 kB / 3.717 GB, free: 30.77 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/9.363, allocations: 13.69 kB / 3.717 GB, free: 30.77 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007941/9.371, allocations: 0.8335 MB / 3.718 GB, free: 30.74 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/9.373, allocations: 284.2 kB / 3.718 GB, free: 30.73 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/9.374, allocations: 1.546 MB / 3.719 GB, free: 29.61 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/9.376, allocations: 160.4 kB / 3.719 GB, free: 29.54 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/9.376, allocations: 66.25 kB / 3.72 GB, free: 29.54 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (116): * Single equations (assignments): 114 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003086/9.376, allocations: 187.5 kB / 3.72 GB, free: 29.41 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/9.377, allocations: 120.3 kB / 3.72 GB, free: 29.36 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005656/9.382, allocations: 4.466 MB / 3.724 GB, free: 28.91 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-05/9.382, allocations: 46.12 kB / 3.724 GB, free: 28.91 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.811e-06/9.382, allocations: 3.953 kB / 3.724 GB, free: 28.91 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/9.383, allocations: 7.609 kB / 3.724 GB, free: 28.9 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007091/9.39, allocations: 4.982 MB / 3.729 GB, free: 27.75 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/9.39, allocations: 0 / 3.729 GB, free: 27.75 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/9.391, allocations: 176.4 kB / 3.729 GB, free: 27.75 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009152/9.4, allocations: 1.92 MB / 3.731 GB, free: 27.7 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/9.4, allocations: 17.34 kB / 3.731 GB, free: 27.7 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002067/9.402, allocations: 1.934 MB / 3.733 GB, free: 26.56 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.81e-06/9.402, allocations: 0 / 3.733 GB, free: 26.56 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/9.405, allocations: 2.02 MB / 3.735 GB, free: 26.11 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/9.406, allocations: 352.2 kB / 3.735 GB, free: 25.87 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/9.406, allocations: 15.5 kB / 3.735 GB, free: 25.87 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008514/9.407, allocations: 56.3 kB / 3.735 GB, free: 25.86 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/9.407, allocations: 56.81 kB / 3.736 GB, free: 25.86 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-05/9.408, allocations: 21.16 kB / 3.736 GB, free: 25.86 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.001562/9.409, allocations: 0.8899 MB / 3.736 GB, free: 25.74 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.069e-06/9.409, allocations: 0 / 3.736 GB, free: 25.74 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.005416/9.415, allocations: 1.337 MB / 3.738 GB, free: 25.55 MB / 0.5418 GB 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 (73): * Single equations (assignments): 63 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.008211/9.423, allocations: 1.769 MB / 3.739 GB, free: 25.15 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.003549/9.426, allocations: 1.223 MB / 3.741 GB, free: 25.12 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.515e-06/9.426, allocations: 0 / 3.741 GB, free: 25.12 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002355/9.429, allocations: 0.8974 MB / 3.741 GB, free: 25.1 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/9.433, allocations: 0.6691 MB / 3.742 GB, free: 25.05 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/9.438, allocations: 2.303 MB / 3.744 GB, free: 24.46 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/9.439, allocations: 1.344 MB / 3.746 GB, free: 23.73 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00177/9.441, allocations: 0.6055 MB / 3.746 GB, free: 23.68 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/9.441, allocations: 103.2 kB / 3.746 GB, free: 23.68 MB / 0.5418 GB Notification: Performance of SimCode: time 1.86e-06/9.441, allocations: 0 / 3.746 GB, free: 23.68 MB / 0.5418 GB Notification: Performance of Templates: time 0.1022/9.543, allocations: 54.78 MB / 3.8 GB, free: 0.9375 MB / 0.5418 GB