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.1_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.627/1.627, allocations: 171.2 MB / 183.4 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.024e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.546/5.757, allocations: 2.475 GB / 2.733 GB, free: 59.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/5.757, allocations: 79.92 kB / 2.733 GB, free: 59.79 MB / 362.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.317/8.074, allocations: 496.3 MB / 3.217 GB, free: 29.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.902e-06/8.075, allocations: 0 / 3.217 GB, free: 29.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001025/8.075, allocations: 33.8 kB / 3.217 GB, free: 29.3 MB / 378.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.007785/8.082, allocations: 2.091 MB / 3.219 GB, free: 28.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/8.082, allocations: 10.19 kB / 3.219 GB, free: 28.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008069/8.091, allocations: 0.6754 MB / 3.22 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/8.093, allocations: 0.9539 MB / 3.221 GB, free: 28.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.115e-05/8.093, allocations: 74.05 kB / 3.221 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/8.093, allocations: 96.22 kB / 3.221 GB, free: 28.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/8.098, allocations: 1.79 MB / 3.223 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/8.098, allocations: 4.688 kB / 3.223 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/8.098, allocations: 48.44 kB / 3.223 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/8.098, allocations: 26.72 kB / 3.223 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/8.103, allocations: 1.571 MB / 3.224 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/8.113, allocations: 8.269 MB / 3.233 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/8.118, allocations: 1.78 MB / 3.234 GB, free: 21.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000828/8.118, allocations: 407.8 kB / 3.235 GB, free: 21.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2109/8.329, allocations: 80.66 MB / 3.313 GB, free: 24.15 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/8.329, allocations: 41.88 kB / 3.313 GB, free: 24.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.012e-06/8.329, allocations: 3.938 kB / 3.313 GB, free: 24.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.006314/8.336, allocations: 1.681 MB / 3.315 GB, free: 24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/8.336, allocations: 202.9 kB / 3.315 GB, free: 23.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/8.337, allocations: 0.8068 MB / 3.316 GB, free: 23.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/8.337, allocations: 39.2 kB / 3.316 GB, free: 23.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/8.338, allocations: 0.6092 MB / 3.317 GB, free: 23.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/8.338, allocations: 273.2 kB / 3.317 GB, free: 23.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.73e-05/8.338, allocations: 26.09 kB / 3.317 GB, free: 23.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/8.338, allocations: 352.8 kB / 3.317 GB, free: 22.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006736/8.339, allocations: 328.5 kB / 3.318 GB, free: 22.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008692/8.34, allocations: 0.7984 MB / 3.318 GB, free: 22.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008606/8.341, allocations: 451.7 kB / 3.319 GB, free: 22.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/8.341, allocations: 7.281 kB / 3.319 GB, free: 22.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002858/8.344, allocations: 1.296 MB / 3.32 GB, free: 22.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/8.344, allocations: 11.56 kB / 3.32 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/8.344, allocations: 15.75 kB / 3.32 GB, free: 22.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00724/8.351, allocations: 0.8184 MB / 3.321 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/8.353, allocations: 333.9 kB / 3.321 GB, free: 21.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/8.354, allocations: 1.529 MB / 3.323 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/8.356, allocations: 154.5 kB / 3.323 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/8.356, allocations: 76.31 kB / 3.323 GB, free: 20.8 MB / 426.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 (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 (138): * Single equations (assignments): 136 * 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.0002939/8.356, allocations: 200.8 kB / 3.323 GB, free: 20.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/8.357, allocations: 106.5 kB / 3.323 GB, free: 20.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005724/8.362, allocations: 4.53 MB / 3.328 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-05/8.362, allocations: 42.97 kB / 3.328 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/8.362, allocations: 3.438 kB / 3.328 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/8.362, allocations: 7.547 kB / 3.328 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007054/8.369, allocations: 5.009 MB / 3.333 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.665e-06/8.37, allocations: 0 / 3.333 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/8.371, allocations: 199.2 kB / 3.333 GB, free: 19.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008294/8.379, allocations: 1.88 MB / 3.335 GB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/8.379, allocations: 29.38 kB / 3.335 GB, free: 18.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001958/8.381, allocations: 1.895 MB / 3.337 GB, free: 17.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/8.381, allocations: 3.953 kB / 3.337 GB, free: 17.85 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/8.385, allocations: 2.063 MB / 3.339 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005171/8.385, allocations: 324.5 kB / 3.339 GB, free: 17.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001953/8.385, allocations: 28.91 kB / 3.339 GB, free: 17.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008197/8.386, allocations: 66.64 kB / 3.339 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/8.386, allocations: 51.16 kB / 3.339 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/8.386, allocations: 26.36 kB / 3.339 GB, free: 17.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00111/8.387, allocations: 0.6935 MB / 3.34 GB, free: 17.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.651e-06/8.387, allocations: 0 / 3.34 GB, free: 17.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00491/8.392, allocations: 1.329 MB / 3.341 GB, free: 16.84 MB / 426.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 (83): * Single equations (assignments): 73 * 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.006659/8.399, allocations: 1.762 MB / 3.343 GB, free: 16.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003338/8.402, allocations: 1.321 MB / 3.344 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.094e-06/8.402, allocations: 0 / 3.344 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002116/8.405, allocations: 0.9401 MB / 3.345 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/8.408, allocations: 0.5431 MB / 3.345 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4268/8.834, allocations: 77.09 MB / 3.421 GB, free: 70.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/8.835, allocations: 1.348 MB / 3.422 GB, free: 69.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001973/8.837, allocations: 0.5778 MB / 3.423 GB, free: 69.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/8.838, allocations: 115 kB / 3.423 GB, free: 69.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.705e-06/8.838, allocations: 0 / 3.423 GB, free: 69.75 MB / 426.7 MB Notification: Performance of Templates: time 0.0965/8.934, allocations: 52.16 MB / 3.474 GB, free: 66.33 MB / 426.7 MB