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_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.1/2.1, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.426e-05/3.448e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09656/0.09662, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.362/6.458, allocations: 2.483 GB / 2.797 GB, free: 77.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/6.458, allocations: 82.58 kB / 2.797 GB, free: 77.61 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.213/8.671, allocations: 495.3 MB / 3.281 GB, free: 38.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.362e-06/8.671, allocations: 0 / 3.281 GB, free: 38.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.854e-05/8.671, allocations: 33.3 kB / 3.281 GB, free: 38.11 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.007845/8.679, allocations: 2.084 MB / 3.283 GB, free: 37.14 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/8.679, allocations: 10.94 kB / 3.283 GB, free: 37.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/8.685, allocations: 0.5829 MB / 3.284 GB, free: 37.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/8.687, allocations: 0.9399 MB / 3.285 GB, free: 36.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.744e-05/8.687, allocations: 74.41 kB / 3.285 GB, free: 36.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/8.687, allocations: 92.91 kB / 3.285 GB, free: 36.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/8.692, allocations: 1.725 MB / 3.287 GB, free: 36.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/8.692, allocations: 6.531 kB / 3.287 GB, free: 36.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/8.692, allocations: 48.27 kB / 3.287 GB, free: 36.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/8.692, allocations: 28.97 kB / 3.287 GB, free: 36.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004659/8.697, allocations: 1.47 MB / 3.288 GB, free: 36.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00895/8.706, allocations: 8.049 MB / 3.296 GB, free: 30.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/8.71, allocations: 1.759 MB / 3.298 GB, free: 29.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/8.71, allocations: 355 kB / 3.298 GB, free: 29.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2209/8.931, allocations: 80.66 MB / 3.377 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/8.932, allocations: 41.95 kB / 3.377 GB, free: 5.602 MB / 474.7 MB Notification: Performance of pre-optimization done (n=69): time 7.499e-06/8.932, allocations: 0 / 3.377 GB, free: 5.602 MB / 474.7 MB Notification: Performance of matching and sorting (n=69): time 0.008948/8.941, allocations: 1.592 MB / 3.378 GB, free: 4.324 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/8.941, allocations: 192.4 kB / 3.379 GB, free: 4.094 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/8.942, allocations: 0.8142 MB / 3.379 GB, free: 3.328 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/8.942, allocations: 33.7 kB / 3.379 GB, free: 3.289 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005804/8.943, allocations: 0.6059 MB / 3.38 GB, free: 2.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/8.943, allocations: 247.7 kB / 3.38 GB, free: 2.516 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.968e-05/8.943, allocations: 24 kB / 3.38 GB, free: 2.492 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/8.943, allocations: 348.6 kB / 3.381 GB, free: 2.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/8.944, allocations: 288.9 kB / 3.381 GB, free: 1.891 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/8.945, allocations: 0.7611 MB / 3.382 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009052/8.946, allocations: 432.4 kB / 3.382 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/8.946, allocations: 4 kB / 3.382 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.3361/9.282, allocations: 1.206 MB / 3.383 GB, free: 70.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.234e-05/9.282, allocations: 11.75 kB / 3.383 GB, free: 70.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.046e-05/9.282, allocations: 18.44 kB / 3.383 GB, free: 70.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01317/9.296, allocations: 0.8128 MB / 3.384 GB, free: 70.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/9.299, allocations: 311.7 kB / 3.384 GB, free: 70.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/9.3, allocations: 1.528 MB / 3.386 GB, free: 69.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/9.302, allocations: 153.8 kB / 3.386 GB, free: 69.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/9.302, allocations: 69.28 kB / 3.386 GB, free: 69.58 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.0002656/9.302, allocations: 189.5 kB / 3.386 GB, free: 69.47 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/9.303, allocations: 108.1 kB / 3.386 GB, free: 69.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006183/9.309, allocations: 4.443 MB / 3.391 GB, free: 69.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-05/9.309, allocations: 43.95 kB / 3.391 GB, free: 69.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/9.309, allocations: 3.062 kB / 3.391 GB, free: 69.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/9.309, allocations: 7.422 kB / 3.391 GB, free: 69.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007494/9.316, allocations: 4.874 MB / 3.395 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/9.317, allocations: 3.469 kB / 3.395 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/9.318, allocations: 180 kB / 3.396 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008375/9.326, allocations: 1.884 MB / 3.397 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/9.326, allocations: 31.41 kB / 3.397 GB, free: 68.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/9.328, allocations: 1.901 MB / 3.399 GB, free: 66.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.271e-06/9.328, allocations: 0 / 3.399 GB, free: 66.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/9.331, allocations: 1.984 MB / 3.401 GB, free: 66.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/9.332, allocations: 321.6 kB / 3.402 GB, free: 66.26 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/9.332, allocations: 21.94 kB / 3.402 GB, free: 66.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000735/9.333, allocations: 59.08 kB / 3.402 GB, free: 66.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/9.333, allocations: 52.11 kB / 3.402 GB, free: 66.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/9.333, allocations: 23.16 kB / 3.402 GB, free: 66.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001123/9.334, allocations: 0.6938 MB / 3.402 GB, free: 66.13 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.46e-06/9.334, allocations: 0 / 3.402 GB, free: 66.13 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005106/9.339, allocations: 1.324 MB / 3.404 GB, free: 66.1 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.008188/9.347, allocations: 1.753 MB / 3.405 GB, free: 65.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003286/9.351, allocations: 1.224 MB / 3.407 GB, free: 65.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/9.351, allocations: 0 / 3.407 GB, free: 65.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/9.353, allocations: 0.8911 MB / 3.407 GB, free: 65.86 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/9.357, allocations: 0.5349 MB / 3.408 GB, free: 65.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1593/9.516, allocations: 76.81 MB / 3.483 GB, free: 62.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008774/9.517, allocations: 1.343 MB / 3.484 GB, free: 61.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001627/9.518, allocations: 0.5632 MB / 3.485 GB, free: 61.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/9.519, allocations: 100.5 kB / 3.485 GB, free: 61.74 MB / 474.7 MB Notification: Performance of SimCode: time 1.647e-06/9.519, allocations: 0 / 3.485 GB, free: 61.74 MB / 474.7 MB Notification: Performance of Templates: time 0.0915/9.61, allocations: 51.14 MB / 3.535 GB, free: 29.95 MB / 474.7 MB