Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|suddenExpansion1.dp|suddenExpansion1.m_flow|suddenExpansion1.port_b_T|suddenExpansion2.dp|suddenExpansion2.m_flow|suddenExpansion2.port_b_T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.605e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08546/0.08551, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.449/6.535, allocations: 2.75 GB / 3.06 GB, free: 95.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/6.535, allocations: 77.77 kB / 3.06 GB, free: 95.2 MB / 426.7 MB [/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.217/8.752, allocations: 0.4986 GB / 3.559 GB, free: 38.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.203e-06/8.752, allocations: 1.594 kB / 3.559 GB, free: 38.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.916e-05/8.752, allocations: 35.92 kB / 3.559 GB, free: 38.24 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.008562/8.761, allocations: 2.187 MB / 3.561 GB, free: 37.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/8.761, allocations: 11.28 kB / 3.561 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00685/8.768, allocations: 0.7095 MB / 3.561 GB, free: 37.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002247/8.77, allocations: 0.919 MB / 3.562 GB, free: 36.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.686e-05/8.77, allocations: 77.77 kB / 3.562 GB, free: 36.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/8.77, allocations: 97.28 kB / 3.563 GB, free: 36.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004577/8.775, allocations: 1.803 MB / 3.564 GB, free: 36.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.969e-05/8.775, allocations: 6.875 kB / 3.564 GB, free: 36.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/8.775, allocations: 47.06 kB / 3.564 GB, free: 36.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.12e-05/8.775, allocations: 29.5 kB / 3.564 GB, free: 36.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/8.78, allocations: 1.575 MB / 3.566 GB, free: 36.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/8.791, allocations: 8.536 MB / 3.574 GB, free: 30.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003745/8.795, allocations: 1.825 MB / 3.576 GB, free: 29.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/8.796, allocations: 424.3 kB / 3.576 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1409/8.937, allocations: 63.2 MB / 3.638 GB, free: 21.53 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/8.937, allocations: 42.88 kB / 3.638 GB, free: 21.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 4.453e-06/8.937, allocations: 4 kB / 3.638 GB, free: 21.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.0058/8.943, allocations: 1.724 MB / 3.64 GB, free: 20.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/8.943, allocations: 192.3 kB / 3.64 GB, free: 20.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/8.944, allocations: 0.9326 MB / 3.641 GB, free: 19.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001282/8.945, allocations: 41.7 kB / 3.641 GB, free: 19.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/8.945, allocations: 0.5628 MB / 3.642 GB, free: 18.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002333/8.945, allocations: 267.2 kB / 3.642 GB, free: 18.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/8.945, allocations: 24 kB / 3.642 GB, free: 18.71 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/8.945, allocations: 350.8 kB / 3.642 GB, free: 18.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/8.946, allocations: 334.2 kB / 3.643 GB, free: 18.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/8.947, allocations: 0.7376 MB / 3.643 GB, free: 17.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008682/8.948, allocations: 442.3 kB / 3.644 GB, free: 16.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/8.948, allocations: 4 kB / 3.644 GB, free: 16.77 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002775/8.951, allocations: 1.281 MB / 3.645 GB, free: 15.58 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/8.951, allocations: 11.52 kB / 3.645 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/8.951, allocations: 20 kB / 3.645 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007215/8.958, allocations: 0.8377 MB / 3.646 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/8.96, allocations: 300 kB / 3.646 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/8.962, allocations: 1.55 MB / 3.648 GB, free: 13.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/8.963, allocations: 165.7 kB / 3.648 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/8.963, allocations: 67.59 kB / 3.648 GB, free: 12.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 20 (rightAdaptor.state_b.phase,rightAdaptor.state_a.phase,rightAdaptor.state_a_nondes.phase,rightAdaptor.state_b_des.phase,leftAdaptor.state_b.phase,leftAdaptor.state_a.phase,leftAdaptor.state_a_nondes.phase,leftAdaptor.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 (124): * Single equations (assignments): 122 * 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.0003196/8.964, allocations: 191.4 kB / 3.648 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/8.964, allocations: 126.5 kB / 3.648 GB, free: 12.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005521/8.97, allocations: 4.556 MB / 3.653 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.908e-05/8.97, allocations: 48.58 kB / 3.653 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.894e-06/8.97, allocations: 0 / 3.653 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-05/8.97, allocations: 3.422 kB / 3.653 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008135/8.978, allocations: 5.111 MB / 3.658 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/8.978, allocations: 0 / 3.658 GB, free: 3.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/8.979, allocations: 198.4 kB / 3.658 GB, free: 3.777 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008441/8.988, allocations: 1.909 MB / 3.66 GB, free: 2.188 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/8.988, allocations: 23.66 kB / 3.66 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/8.99, allocations: 1.935 MB / 3.662 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.325e-06/8.99, allocations: 0 / 3.662 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3073/9.298, allocations: 2.092 MB / 3.664 GB, free: 70.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006821/9.298, allocations: 355.8 kB / 3.664 GB, free: 70.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/9.298, allocations: 20.56 kB / 3.664 GB, free: 70.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/9.299, allocations: 60.45 kB / 3.664 GB, free: 70.31 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/9.3, allocations: 64.06 kB / 3.664 GB, free: 70.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.14e-05/9.3, allocations: 30.27 kB / 3.664 GB, free: 70.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00165/9.301, allocations: 0.8908 MB / 3.665 GB, free: 70.19 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.03e-07/9.301, allocations: 0 / 3.665 GB, free: 70.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005174/9.307, allocations: 1.343 MB / 3.666 GB, free: 70.18 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 (81): * Single equations (assignments): 71 * 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.008009/9.315, allocations: 1.765 MB / 3.668 GB, free: 70.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003808/9.318, allocations: 1.316 MB / 3.669 GB, free: 70.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.289e-06/9.318, allocations: 1.5 kB / 3.669 GB, free: 70.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002364/9.321, allocations: 0.9438 MB / 3.67 GB, free: 70.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/9.325, allocations: 0.6743 MB / 3.671 GB, free: 70 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/9.329, allocations: 2.342 MB / 3.673 GB, free: 69.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/9.33, allocations: 1.352 MB / 3.674 GB, free: 68.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001962/9.332, allocations: 0.615 MB / 3.675 GB, free: 68.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/9.333, allocations: 120.7 kB / 3.675 GB, free: 68.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.632e-06/9.333, allocations: 4.375 kB / 3.675 GB, free: 68.7 MB / 474.7 MB Notification: Performance of Templates: time 0.103/9.436, allocations: 55.8 MB / 3.73 GB, free: 65.87 MB / 474.7 MB