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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.633e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.998/7.109, allocations: 2.766 GB / 3.166 GB, free: 169.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/7.109, allocations: 82.3 kB / 3.166 GB, free: 169.8 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.112/9.221, allocations: 0.5031 GB / 3.669 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.248e-06/9.221, allocations: 0 / 3.669 GB, free: 48.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001023/9.221, allocations: 30.97 kB / 3.669 GB, free: 48.16 MB / 0.5261 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.008678/9.23, allocations: 2.178 MB / 3.672 GB, free: 47.01 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/9.23, allocations: 9.375 kB / 3.672 GB, free: 47.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006439/9.237, allocations: 0.6274 MB / 3.672 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/9.239, allocations: 0.9092 MB / 3.673 GB, free: 46.33 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/9.239, allocations: 72.53 kB / 3.673 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/9.239, allocations: 93.28 kB / 3.673 GB, free: 46.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/9.244, allocations: 1.73 MB / 3.675 GB, free: 45.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/9.244, allocations: 7.75 kB / 3.675 GB, free: 45.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/9.244, allocations: 47.22 kB / 3.675 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/9.244, allocations: 30.39 kB / 3.675 GB, free: 45.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004545/9.249, allocations: 1.483 MB / 3.676 GB, free: 44.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/9.26, allocations: 8.336 MB / 3.685 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/9.264, allocations: 1.77 MB / 3.686 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/9.265, allocations: 376 kB / 3.687 GB, free: 36.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1428/9.407, allocations: 63.21 MB / 3.748 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.934e-05/9.407, allocations: 46.95 kB / 3.748 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=69): time 6.898e-06/9.407, allocations: 0 / 3.748 GB, free: 1.719 MB / 0.5573 GB Notification: Performance of matching and sorting (n=69): time 0.006317/9.414, allocations: 1.644 MB / 3.75 GB, free: 68 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.355/9.769, allocations: 187.3 kB / 3.75 GB, free: 91.12 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/9.772, allocations: 0.9238 MB / 3.751 GB, free: 90.97 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/9.772, allocations: 36.02 kB / 3.751 GB, free: 90.94 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007892/9.773, allocations: 0.5674 MB / 3.752 GB, free: 90.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004564/9.774, allocations: 247 kB / 3.752 GB, free: 90.69 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/9.774, allocations: 20.16 kB / 3.752 GB, free: 90.69 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001525/9.774, allocations: 347.3 kB / 3.752 GB, free: 90.39 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/9.775, allocations: 299.1 kB / 3.753 GB, free: 90.39 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/9.777, allocations: 0.6979 MB / 3.753 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/9.779, allocations: 417.4 kB / 3.754 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.842e-05/9.779, allocations: 4.797 kB / 3.754 GB, free: 89.89 MB / 0.5573 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.005369/9.784, allocations: 1.192 MB / 3.755 GB, free: 89.78 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/9.784, allocations: 11.27 kB / 3.755 GB, free: 89.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.503e-05/9.785, allocations: 14.72 kB / 3.755 GB, free: 89.78 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0151/9.8, allocations: 0.8291 MB / 3.756 GB, free: 89.77 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003393/9.803, allocations: 286.8 kB / 3.756 GB, free: 89.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/9.806, allocations: 1.553 MB / 3.758 GB, free: 88.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/9.809, allocations: 159.7 kB / 3.758 GB, free: 88.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/9.809, allocations: 59.59 kB / 3.758 GB, free: 88.61 MB / 0.5573 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.0004779/9.809, allocations: 179 kB / 3.758 GB, free: 88.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005881/9.81, allocations: 130.1 kB / 3.758 GB, free: 88.44 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007103/9.817, allocations: 4.45 MB / 3.762 GB, free: 88.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.78e-05/9.817, allocations: 45.58 kB / 3.762 GB, free: 88.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/9.817, allocations: 5.188 kB / 3.762 GB, free: 88.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/9.817, allocations: 5.625 kB / 3.762 GB, free: 88.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008193/9.826, allocations: 4.981 MB / 3.767 GB, free: 86.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.447e-05/9.826, allocations: 1 kB / 3.767 GB, free: 86.99 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/9.827, allocations: 175.7 kB / 3.767 GB, free: 86.99 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008901/9.836, allocations: 1.917 MB / 3.769 GB, free: 86.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/9.836, allocations: 19.64 kB / 3.769 GB, free: 86.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/9.838, allocations: 1.94 MB / 3.771 GB, free: 85.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.394e-06/9.838, allocations: 0.7812 kB / 3.771 GB, free: 85.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/9.842, allocations: 2.013 MB / 3.773 GB, free: 85.38 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008827/9.843, allocations: 358.7 kB / 3.774 GB, free: 85.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003135/9.843, allocations: 18.66 kB / 3.774 GB, free: 85.18 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009128/9.844, allocations: 61.45 kB / 3.774 GB, free: 85.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/9.844, allocations: 56.81 kB / 3.774 GB, free: 85.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.167e-05/9.844, allocations: 31.61 kB / 3.774 GB, free: 85.17 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001772/9.846, allocations: 0.8864 MB / 3.775 GB, free: 85.05 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.21e-06/9.846, allocations: 0 / 3.775 GB, free: 85.05 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005768/9.852, allocations: 1.331 MB / 3.776 GB, free: 84.98 MB / 0.5573 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.008722/9.861, allocations: 1.756 MB / 3.778 GB, free: 84.77 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003573/9.864, allocations: 1.224 MB / 3.779 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.061e-06/9.864, allocations: 3.781 kB / 3.779 GB, free: 84.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002523/9.867, allocations: 0.8929 MB / 3.78 GB, free: 84.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/9.872, allocations: 0.6771 MB / 3.78 GB, free: 84.71 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/9.876, allocations: 2.307 MB / 3.783 GB, free: 84.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008723/9.877, allocations: 1.336 MB / 3.784 GB, free: 83.44 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001867/9.879, allocations: 0.6128 MB / 3.784 GB, free: 83.42 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/9.879, allocations: 110.2 kB / 3.785 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of SimCode: time 1.791e-06/9.879, allocations: 0 / 3.785 GB, free: 83.41 MB / 0.5573 GB Notification: Performance of Templates: time 0.1056/9.985, allocations: 54.79 MB / 3.838 GB, free: 81.71 MB / 0.5573 GB