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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSuddenExpansion") Notification: Performance of loadModel(ModelicaTest): time 2.127/2.127, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.825e-05/5.835e-05, allocations: 7.984 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3833, allocations: 54.86 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.287, allocations: 2.594 GB / 2.945 GB, free: 6.094 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/6.287, allocations: 80.77 kB / 2.945 GB, free: 6.051 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.198/8.485, allocations: 0.4943 GB / 3.44 GB, free: 45.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.756e-06/8.485, allocations: 3.906 kB / 3.44 GB, free: 45.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.811e-05/8.485, allocations: 30.47 kB / 3.44 GB, free: 45.1 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.007887/8.493, allocations: 2.176 MB / 3.442 GB, free: 44 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/8.493, allocations: 11.84 kB / 3.442 GB, free: 44 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005725/8.499, allocations: 0.6178 MB / 3.442 GB, free: 43.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/8.501, allocations: 0.9475 MB / 3.443 GB, free: 43.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/8.501, allocations: 72.22 kB / 3.443 GB, free: 43.28 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/8.501, allocations: 95.94 kB / 3.443 GB, free: 43.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/8.506, allocations: 1.726 MB / 3.445 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/8.506, allocations: 7.438 kB / 3.445 GB, free: 42.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/8.506, allocations: 43.59 kB / 3.445 GB, free: 42.37 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/8.506, allocations: 26.88 kB / 3.445 GB, free: 42.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/8.51, allocations: 1.471 MB / 3.447 GB, free: 41.92 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008221/8.518, allocations: 8.066 MB / 3.454 GB, free: 35.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003483/8.522, allocations: 1.736 MB / 3.456 GB, free: 34.13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006196/8.523, allocations: 363.1 kB / 3.456 GB, free: 33.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4905/9.013, allocations: 80.69 MB / 3.535 GB, free: 57.67 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/9.013, allocations: 39.11 kB / 3.535 GB, free: 57.63 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=69): time 4.498e-06/9.013, allocations: 1.406 kB / 3.535 GB, free: 57.63 MB / 0.4948 GB Notification: Performance of matching and sorting (n=69): time 0.006044/9.019, allocations: 1.597 MB / 3.537 GB, free: 57.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/9.019, allocations: 193.4 kB / 3.537 GB, free: 57.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/9.021, allocations: 0.8027 MB / 3.538 GB, free: 57.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/9.021, allocations: 39.47 kB / 3.538 GB, free: 57.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/9.021, allocations: 0.6129 MB / 3.538 GB, free: 56.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/9.022, allocations: 251.1 kB / 3.539 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/9.022, allocations: 25.53 kB / 3.539 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001094/9.022, allocations: 353.8 kB / 3.539 GB, free: 56.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/9.023, allocations: 286.9 kB / 3.539 GB, free: 56.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009402/9.024, allocations: 0.7653 MB / 3.54 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/9.025, allocations: 426.4 kB / 3.541 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.641e-05/9.025, allocations: 5.125 kB / 3.541 GB, free: 55.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002787/9.027, allocations: 1.154 MB / 3.542 GB, free: 55.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/9.027, allocations: 12 kB / 3.542 GB, free: 55.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/9.027, allocations: 17.59 kB / 3.542 GB, free: 55.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007851/9.035, allocations: 0.8252 MB / 3.542 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/9.037, allocations: 307.8 kB / 3.543 GB, free: 55.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/9.038, allocations: 1.523 MB / 3.544 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/9.04, allocations: 153.8 kB / 3.544 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/9.04, allocations: 70.11 kB / 3.544 GB, free: 54.62 MB / 0.4948 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.0002453/9.04, allocations: 191.6 kB / 3.545 GB, free: 54.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/9.04, allocations: 113.1 kB / 3.545 GB, free: 54.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005883/9.046, allocations: 4.431 MB / 3.549 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.345e-05/9.046, allocations: 43.52 kB / 3.549 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/9.046, allocations: 0.625 kB / 3.549 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/9.046, allocations: 7.062 kB / 3.549 GB, free: 54.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/9.053, allocations: 4.882 MB / 3.554 GB, free: 53.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/9.053, allocations: 6.859 kB / 3.554 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/9.054, allocations: 174.1 kB / 3.554 GB, free: 53.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008495/9.062, allocations: 1.885 MB / 3.556 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/9.062, allocations: 22.19 kB / 3.556 GB, free: 53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/9.064, allocations: 1.91 MB / 3.558 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.195e-06/9.064, allocations: 0 / 3.558 GB, free: 51.86 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/9.067, allocations: 1.982 MB / 3.56 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004859/9.067, allocations: 325.9 kB / 3.56 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/9.068, allocations: 23.5 kB / 3.56 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007069/9.068, allocations: 58.22 kB / 3.56 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/9.068, allocations: 47.7 kB / 3.56 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/9.068, allocations: 27.72 kB / 3.56 GB, free: 51.21 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001142/9.07, allocations: 0.69 MB / 3.561 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.54e-07/9.07, allocations: 0 / 3.561 GB, free: 51.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005148/9.075, allocations: 1.33 MB / 3.562 GB, free: 51.01 MB / 0.4948 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.00695/9.082, allocations: 1.771 MB / 3.564 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003257/9.085, allocations: 1.22 MB / 3.565 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.345e-06/9.085, allocations: 0 / 3.565 GB, free: 50.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/9.087, allocations: 0.9165 MB / 3.566 GB, free: 50.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/9.091, allocations: 0.5348 MB / 3.567 GB, free: 50.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1558/9.247, allocations: 80.87 MB / 3.645 GB, free: 43.89 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008001/9.248, allocations: 1.345 MB / 3.647 GB, free: 42.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/9.248, allocations: 100.2 kB / 3.647 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/9.248, allocations: 0 / 3.647 GB, free: 42.67 MB / 0.4948 GB Notification: Performance of Templates: time 0.06572/9.314, allocations: 51.23 MB / 3.697 GB, free: 8.793 MB / 0.4948 GB