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.2_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.864e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07725/0.0773, allocations: 44.5 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.012/6.09, allocations: 2.585 GB / 2.877 GB, free: 3.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/6.09, allocations: 80.2 kB / 2.877 GB, free: 3.953 MB / 410.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.486/8.576, allocations: 0.4952 GB / 3.373 GB, free: 38.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.62e-06/8.576, allocations: 2.75 kB / 3.373 GB, free: 38.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001095/8.576, allocations: 29.91 kB / 3.373 GB, free: 38.02 MB / 426.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.008948/8.585, allocations: 2.192 MB / 3.375 GB, free: 37.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/8.585, allocations: 10.44 kB / 3.375 GB, free: 37.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007142/8.592, allocations: 0.713 MB / 3.376 GB, free: 37.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/8.595, allocations: 0.9501 MB / 3.377 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.984e-05/8.595, allocations: 74.86 kB / 3.377 GB, free: 36.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/8.595, allocations: 98.56 kB / 3.377 GB, free: 36.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005046/8.6, allocations: 1.786 MB / 3.378 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/8.6, allocations: 8.031 kB / 3.378 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/8.6, allocations: 45.69 kB / 3.378 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/8.6, allocations: 30.86 kB / 3.379 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004938/8.605, allocations: 1.572 MB / 3.38 GB, free: 36.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01107/8.616, allocations: 8.26 MB / 3.388 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006778/8.623, allocations: 1.785 MB / 3.39 GB, free: 30.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/8.625, allocations: 408.2 kB / 3.39 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2544/8.879, allocations: 80.7 MB / 3.469 GB, free: 17.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/8.879, allocations: 47.78 kB / 3.469 GB, free: 17.56 MB / 458.7 MB Notification: Performance of pre-optimization done (n=77): time 4.49e-06/8.879, allocations: 0 / 3.469 GB, free: 17.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=77): time 0.006276/8.886, allocations: 1.68 MB / 3.471 GB, free: 17.46 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/8.886, allocations: 188.3 kB / 3.471 GB, free: 17.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/8.887, allocations: 0.8093 MB / 3.472 GB, free: 17.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.063e-05/8.887, allocations: 39.73 kB / 3.472 GB, free: 17.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/8.888, allocations: 0.6121 MB / 3.472 GB, free: 16.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/8.888, allocations: 273.4 kB / 3.473 GB, free: 16.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/8.888, allocations: 26.41 kB / 3.473 GB, free: 16.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/8.888, allocations: 349.7 kB / 3.473 GB, free: 16.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006916/8.889, allocations: 326.5 kB / 3.473 GB, free: 16.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009406/8.89, allocations: 0.804 MB / 3.474 GB, free: 15.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000953/8.891, allocations: 456.4 kB / 3.475 GB, free: 15.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/8.891, allocations: 3.656 kB / 3.475 GB, free: 15.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002847/8.894, allocations: 1.296 MB / 3.476 GB, free: 15.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/8.894, allocations: 16.77 kB / 3.476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/8.894, allocations: 15.56 kB / 3.476 GB, free: 15.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007601/8.901, allocations: 0.8194 MB / 3.477 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/8.904, allocations: 329.3 kB / 3.477 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/8.905, allocations: 1.524 MB / 3.478 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/8.907, allocations: 163.9 kB / 3.479 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/8.907, allocations: 69.17 kB / 3.479 GB, free: 14.25 MB / 458.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.0003158/8.908, allocations: 199.5 kB / 3.479 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/8.908, allocations: 110 kB / 3.479 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005906/8.914, allocations: 4.523 MB / 3.483 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/8.914, allocations: 46.2 kB / 3.483 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-06/8.914, allocations: 11.7 kB / 3.483 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/8.914, allocations: 6.609 kB / 3.483 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007117/8.921, allocations: 5.004 MB / 3.488 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/8.921, allocations: 0.8438 kB / 3.488 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/8.923, allocations: 193.5 kB / 3.488 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007826/8.93, allocations: 1.886 MB / 3.49 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/8.931, allocations: 25.42 kB / 3.49 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/8.933, allocations: 1.899 MB / 3.492 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.371e-06/8.933, allocations: 0 / 3.492 GB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/8.936, allocations: 2.074 MB / 3.494 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/8.936, allocations: 321.5 kB / 3.495 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/8.937, allocations: 19.31 kB / 3.495 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008656/8.937, allocations: 63.53 kB / 3.495 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/8.938, allocations: 53.59 kB / 3.495 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/8.938, allocations: 29.33 kB / 3.495 GB, free: 10.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001156/8.939, allocations: 0.695 MB / 3.495 GB, free: 10.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.97e-07/8.939, allocations: 0 / 3.495 GB, free: 10.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005277/8.944, allocations: 1.34 MB / 3.497 GB, free: 10.29 MB / 458.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.007229/8.951, allocations: 1.758 MB / 3.498 GB, free: 9.891 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003427/8.955, allocations: 1.321 MB / 3.5 GB, free: 9.848 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.128e-06/8.955, allocations: 0 / 3.5 GB, free: 9.848 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002156/8.957, allocations: 0.9409 MB / 3.501 GB, free: 9.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003498/8.961, allocations: 0.5421 MB / 3.501 GB, free: 9.785 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4242/9.385, allocations: 80.95 MB / 3.58 GB, free: 66.78 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008506/9.386, allocations: 1.356 MB / 3.582 GB, free: 66.06 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001843/9.388, allocations: 0.5791 MB / 3.582 GB, free: 66.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003653/9.388, allocations: 111.1 kB / 3.582 GB, free: 66.05 MB / 458.7 MB Notification: Performance of SimCode: time 2.299e-06/9.388, allocations: 0 / 3.582 GB, free: 66.05 MB / 458.7 MB Notification: Performance of Templates: time 0.09564/9.484, allocations: 52.32 MB / 3.633 GB, free: 62.44 MB / 458.7 MB