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_4.0.0_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 2.618/2.618, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.803e-05, allocations: 4 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.08993, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.068/7.158, allocations: 2.756 GB / 3.09 GB, free: 48.32 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/7.159, allocations: 77.95 kB / 3.09 GB, free: 48.29 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.214/9.372, allocations: 0.5041 GB / 3.594 GB, free: 33.99 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.502e-06/9.372, allocations: 0 / 3.594 GB, free: 33.99 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.375e-05/9.373, allocations: 33.48 kB / 3.594 GB, free: 33.98 MB / 458.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.008566/9.381, allocations: 2.197 MB / 3.597 GB, free: 32.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/9.381, allocations: 6.562 kB / 3.597 GB, free: 32.83 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006874/9.388, allocations: 0.7104 MB / 3.597 GB, free: 32.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002222/9.39, allocations: 0.929 MB / 3.598 GB, free: 32.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/9.39, allocations: 73.98 kB / 3.598 GB, free: 32.08 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001742/9.391, allocations: 96.5 kB / 3.598 GB, free: 32.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005144/9.396, allocations: 1.789 MB / 3.6 GB, free: 31.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/9.396, allocations: 9.844 kB / 3.6 GB, free: 31.16 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/9.396, allocations: 47.97 kB / 3.6 GB, free: 31.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/9.396, allocations: 27.12 kB / 3.6 GB, free: 31.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/9.401, allocations: 1.571 MB / 3.602 GB, free: 30.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/9.413, allocations: 8.549 MB / 3.61 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00418/9.417, allocations: 1.827 MB / 3.612 GB, free: 22.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009017/9.418, allocations: 418.4 kB / 3.612 GB, free: 22.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4288/9.847, allocations: 63.2 MB / 3.674 GB, free: 44.02 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/9.847, allocations: 40.34 kB / 3.674 GB, free: 43.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 4.35e-06/9.847, allocations: 0 / 3.674 GB, free: 43.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.00616/9.853, allocations: 1.725 MB / 3.676 GB, free: 43.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/9.853, allocations: 197.9 kB / 3.676 GB, free: 43.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/9.855, allocations: 0.9257 MB / 3.677 GB, free: 43.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/9.855, allocations: 38.48 kB / 3.677 GB, free: 43.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/9.855, allocations: 0.5684 MB / 3.677 GB, free: 43.34 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002551/9.855, allocations: 275 kB / 3.678 GB, free: 43.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/9.856, allocations: 23.09 kB / 3.678 GB, free: 43.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/9.856, allocations: 351.7 kB / 3.678 GB, free: 42.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/9.856, allocations: 333 kB / 3.678 GB, free: 42.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/9.858, allocations: 0.7354 MB / 3.679 GB, free: 42.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/9.859, allocations: 452.1 kB / 3.68 GB, free: 42.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/9.859, allocations: 5.125 kB / 3.68 GB, free: 42.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002924/9.862, allocations: 1.282 MB / 3.681 GB, free: 42.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/9.862, allocations: 8.375 kB / 3.681 GB, free: 42.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/9.862, allocations: 18.28 kB / 3.681 GB, free: 42.28 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/9.869, allocations: 0.8272 MB / 3.682 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/9.871, allocations: 300.8 kB / 3.682 GB, free: 42.27 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/9.873, allocations: 1.555 MB / 3.683 GB, free: 41.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/9.874, allocations: 166.5 kB / 3.684 GB, free: 41.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/9.874, allocations: 65.97 kB / 3.684 GB, free: 41.12 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.0002944/9.875, allocations: 191.6 kB / 3.684 GB, free: 41.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/9.875, allocations: 122.9 kB / 3.684 GB, free: 40.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006019/9.881, allocations: 4.55 MB / 3.688 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.575e-05/9.881, allocations: 42.78 kB / 3.688 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/9.881, allocations: 6.844 kB / 3.688 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/9.881, allocations: 5.969 kB / 3.688 GB, free: 40.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007131/9.888, allocations: 5.112 MB / 3.693 GB, free: 39.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/9.888, allocations: 5.375 kB / 3.693 GB, free: 39.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/9.89, allocations: 190.8 kB / 3.694 GB, free: 39.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007596/9.897, allocations: 1.917 MB / 3.695 GB, free: 39.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/9.897, allocations: 23.58 kB / 3.696 GB, free: 39.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/9.899, allocations: 1.931 MB / 3.697 GB, free: 38.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.133e-06/9.899, allocations: 0 / 3.697 GB, free: 38.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/9.902, allocations: 2.096 MB / 3.699 GB, free: 37.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000641/9.903, allocations: 361.5 kB / 3.7 GB, free: 37.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002369/9.903, allocations: 19.72 kB / 3.7 GB, free: 37.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/9.904, allocations: 62.52 kB / 3.7 GB, free: 37.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/9.904, allocations: 57.31 kB / 3.7 GB, free: 37.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.049e-05/9.904, allocations: 37.36 kB / 3.7 GB, free: 37.63 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001466/9.906, allocations: 0.8824 MB / 3.701 GB, free: 37.52 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.02e-06/9.906, allocations: 0 / 3.701 GB, free: 37.52 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005287/9.911, allocations: 1.343 MB / 3.702 GB, free: 37.45 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.00809/9.919, allocations: 1.776 MB / 3.704 GB, free: 37.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003612/9.923, allocations: 1.318 MB / 3.705 GB, free: 37.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.966e-06/9.923, allocations: 2.188 kB / 3.705 GB, free: 37.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002303/9.925, allocations: 0.9426 MB / 3.706 GB, free: 37.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/9.929, allocations: 0.6703 MB / 3.707 GB, free: 37.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/9.933, allocations: 2.343 MB / 3.709 GB, free: 36.61 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/9.934, allocations: 1.347 MB / 3.71 GB, free: 35.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001962/9.936, allocations: 0.6276 MB / 3.711 GB, free: 35.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/9.937, allocations: 114.2 kB / 3.711 GB, free: 35.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.758e-06/9.937, allocations: 0.7656 kB / 3.711 GB, free: 35.86 MB / 474.7 MB Notification: Performance of Templates: time 0.1055/10.04, allocations: 55.83 MB / 3.766 GB, free: 32.59 MB / 474.7 MB