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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.215/2.215, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.588e-05, allocations: 7.984 kB / 304.9 MB, free: 5.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3255, allocations: 54.87 MB / 359.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.374/6.699, allocations: 2.594 GB / 2.945 GB, free: 89.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/6.7, allocations: 85.11 kB / 2.945 GB, free: 89.33 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.388/9.088, allocations: 0.4943 GB / 3.44 GB, free: 37.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.374e-06/9.088, allocations: 0 / 3.44 GB, free: 37.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001011/9.088, allocations: 30.28 kB / 3.44 GB, free: 37.5 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.008543/9.097, allocations: 2.182 MB / 3.442 GB, free: 36.64 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/9.097, allocations: 9.156 kB / 3.442 GB, free: 36.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006405/9.103, allocations: 0.6165 MB / 3.442 GB, free: 36.57 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/9.105, allocations: 0.9417 MB / 3.443 GB, free: 36.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.797e-05/9.106, allocations: 77.56 kB / 3.443 GB, free: 36.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/9.106, allocations: 97.7 kB / 3.443 GB, free: 36.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005186/9.111, allocations: 1.725 MB / 3.445 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/9.111, allocations: 7.719 kB / 3.445 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/9.111, allocations: 43.34 kB / 3.445 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/9.111, allocations: 26.19 kB / 3.445 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004515/9.116, allocations: 1.47 MB / 3.447 GB, free: 35.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009618/9.125, allocations: 8.056 MB / 3.454 GB, free: 30.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003821/9.129, allocations: 1.744 MB / 3.456 GB, free: 29.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/9.13, allocations: 371.4 kB / 3.457 GB, free: 29.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2164/9.346, allocations: 80.69 MB / 3.535 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/9.347, allocations: 44.66 kB / 3.535 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=69): time 4.16e-06/9.347, allocations: 0.5625 kB / 3.535 GB, free: 16.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=69): time 0.006149/9.353, allocations: 1.593 MB / 3.537 GB, free: 16.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/9.353, allocations: 189.2 kB / 3.537 GB, free: 15.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/9.354, allocations: 0.805 MB / 3.538 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-05/9.354, allocations: 36.05 kB / 3.538 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004096/9.355, allocations: 0.611 MB / 3.539 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/9.355, allocations: 259 kB / 3.539 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/9.355, allocations: 20.78 kB / 3.539 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002057/9.355, allocations: 361.6 kB / 3.539 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005922/9.356, allocations: 285.5 kB / 3.539 GB, free: 15 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/9.357, allocations: 0.7592 MB / 3.54 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008581/9.358, allocations: 425 kB / 3.541 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/9.358, allocations: 7.094 kB / 3.541 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002821/9.361, allocations: 1.209 MB / 3.542 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/9.361, allocations: 13.25 kB / 3.542 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/9.361, allocations: 15.47 kB / 3.542 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00814/9.369, allocations: 0.8161 MB / 3.543 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/9.371, allocations: 305.9 kB / 3.543 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/9.373, allocations: 1.535 MB / 3.544 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/9.374, allocations: 151 kB / 3.544 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/9.374, allocations: 67.89 kB / 3.545 GB, free: 29.02 MB / 0.5261 GB 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.0002996/9.375, allocations: 196 kB / 3.545 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/9.375, allocations: 110.4 kB / 3.545 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/9.381, allocations: 4.434 MB / 3.549 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-05/9.381, allocations: 47.38 kB / 3.549 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.401e-06/9.381, allocations: 0 / 3.549 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.692e-05/9.381, allocations: 7.609 kB / 3.549 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/9.388, allocations: 4.873 MB / 3.554 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/9.388, allocations: 0 / 3.554 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/9.389, allocations: 179.7 kB / 3.554 GB, free: 27.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007946/9.397, allocations: 1.884 MB / 3.556 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/9.397, allocations: 25.94 kB / 3.556 GB, free: 27.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/9.399, allocations: 1.904 MB / 3.558 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.411e-06/9.399, allocations: 0 / 3.558 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/9.402, allocations: 1.983 MB / 3.56 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005737/9.403, allocations: 330.6 kB / 3.56 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001978/9.403, allocations: 25.92 kB / 3.56 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007288/9.404, allocations: 52.11 kB / 3.56 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/9.404, allocations: 47.52 kB / 3.56 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/9.404, allocations: 28.12 kB / 3.56 GB, free: 25.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001207/9.405, allocations: 0.6901 MB / 3.561 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.8e-07/9.405, allocations: 0 / 3.561 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005221/9.41, allocations: 1.332 MB / 3.562 GB, free: 25.08 MB / 0.5261 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 (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.008838/9.419, allocations: 1.771 MB / 3.564 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003496/9.423, allocations: 1.223 MB / 3.565 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.723e-06/9.423, allocations: 0 / 3.565 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/9.425, allocations: 0.8944 MB / 3.566 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003583/9.429, allocations: 0.5201 MB / 3.567 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5217/9.95, allocations: 81.09 MB / 3.646 GB, free: 81.84 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008714/9.951, allocations: 1.346 MB / 3.647 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00172/9.953, allocations: 0.5653 MB / 3.648 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/9.953, allocations: 99.77 kB / 3.648 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of SimCode: time 2.219e-06/9.953, allocations: 0 / 3.648 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.1674/10.12, allocations: 51.31 MB / 3.698 GB, free: 78.29 MB / 0.5261 GB