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_trunk_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.971/1.971, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.697e-05, allocations: 0 / 292.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09206/0.09211, allocations: 50.42 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.126/7.218, allocations: 2.756 GB / 3.091 GB, free: 48.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/7.218, allocations: 78.02 kB / 3.091 GB, free: 48.77 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.257/9.476, allocations: 0.5041 GB / 3.595 GB, free: 34.05 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.347e-06/9.476, allocations: 0 / 3.595 GB, free: 34.05 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.065e-05/9.476, allocations: 36.36 kB / 3.595 GB, free: 34.04 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.008103/9.484, allocations: 2.194 MB / 3.597 GB, free: 32.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/9.484, allocations: 10.62 kB / 3.597 GB, free: 32.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007402/9.491, allocations: 0.707 MB / 3.598 GB, free: 32.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/9.493, allocations: 0.9259 MB / 3.599 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/9.493, allocations: 77.14 kB / 3.599 GB, free: 32.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/9.494, allocations: 96.47 kB / 3.599 GB, free: 32.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/9.498, allocations: 1.788 MB / 3.601 GB, free: 31.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/9.498, allocations: 7.281 kB / 3.601 GB, free: 31.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/9.499, allocations: 45.34 kB / 3.601 GB, free: 31.19 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/9.499, allocations: 30.88 kB / 3.601 GB, free: 31.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/9.503, allocations: 1.579 MB / 3.602 GB, free: 30.69 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/9.515, allocations: 8.547 MB / 3.611 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003891/9.519, allocations: 1.822 MB / 3.612 GB, free: 22.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008473/9.519, allocations: 428.8 kB / 3.613 GB, free: 22.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4294/9.949, allocations: 63.2 MB / 3.675 GB, free: 44.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/9.949, allocations: 49.95 kB / 3.675 GB, free: 44.82 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 5.009e-06/9.949, allocations: 0 / 3.675 GB, free: 44.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=77): time 0.006122/9.955, allocations: 1.725 MB / 3.676 GB, free: 44.78 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/9.955, allocations: 192.2 kB / 3.676 GB, free: 44.56 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/9.957, allocations: 0.9234 MB / 3.677 GB, free: 44.41 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/9.957, allocations: 40.61 kB / 3.677 GB, free: 44.38 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000438/9.958, allocations: 0.5664 MB / 3.678 GB, free: 44.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/9.958, allocations: 276.5 kB / 3.678 GB, free: 44.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/9.958, allocations: 20.19 kB / 3.678 GB, free: 44.05 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.501e-05/9.958, allocations: 354 kB / 3.679 GB, free: 43.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007865/9.959, allocations: 333.4 kB / 3.679 GB, free: 43.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009981/9.96, allocations: 0.7376 MB / 3.68 GB, free: 43.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009439/9.961, allocations: 453.3 kB / 3.68 GB, free: 43.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/9.961, allocations: 6.25 kB / 3.68 GB, free: 43.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002853/9.964, allocations: 1.277 MB / 3.681 GB, free: 43.12 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/9.964, allocations: 9.844 kB / 3.681 GB, free: 43.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/9.964, allocations: 17.66 kB / 3.681 GB, free: 43.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007505/9.971, allocations: 0.834 MB / 3.682 GB, free: 43.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/9.973, allocations: 298.2 kB / 3.682 GB, free: 43.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/9.975, allocations: 1.554 MB / 3.684 GB, free: 42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/9.976, allocations: 162.1 kB / 3.684 GB, free: 41.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/9.976, allocations: 63.64 kB / 3.684 GB, free: 41.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.0002826/9.977, allocations: 193.1 kB / 3.684 GB, free: 41.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/9.977, allocations: 124.1 kB / 3.684 GB, free: 41.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/9.983, allocations: 4.545 MB / 3.689 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.828e-05/9.983, allocations: 49.66 kB / 3.689 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.364e-06/9.983, allocations: 3.219 kB / 3.689 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/9.983, allocations: 3.609 kB / 3.689 GB, free: 41.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006924/9.99, allocations: 5.115 MB / 3.694 GB, free: 40.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.452e-06/9.99, allocations: 0 / 3.694 GB, free: 40.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/9.991, allocations: 192.9 kB / 3.694 GB, free: 40.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008963/10, allocations: 1.916 MB / 3.696 GB, free: 40.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/10, allocations: 26.5 kB / 3.696 GB, free: 40.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/10, allocations: 1.92 MB / 3.698 GB, free: 39.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.982e-06/10, allocations: 2.531 kB / 3.698 GB, free: 39.16 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/10, allocations: 2.1 MB / 3.7 GB, free: 38.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006074/10.01, allocations: 357.9 kB / 3.7 GB, free: 38.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/10.01, allocations: 16.78 kB / 3.7 GB, free: 38.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/10.01, allocations: 63.88 kB / 3.7 GB, free: 38.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/10.01, allocations: 58.11 kB / 3.7 GB, free: 38.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/10.01, allocations: 38.06 kB / 3.7 GB, free: 38.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001498/10.01, allocations: 0.8866 MB / 3.701 GB, free: 38.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.093e-06/10.01, allocations: 1.719 kB / 3.701 GB, free: 38.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005273/10.01, allocations: 1.347 MB / 3.703 GB, free: 38.29 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.007042/10.02, allocations: 1.77 MB / 3.704 GB, free: 38.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003674/10.02, allocations: 1.318 MB / 3.706 GB, free: 38.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.259e-06/10.02, allocations: 3.844 kB / 3.706 GB, free: 38.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/10.03, allocations: 0.9405 MB / 3.707 GB, free: 38.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004328/10.03, allocations: 0.6858 MB / 3.707 GB, free: 38.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/10.04, allocations: 2.342 MB / 3.71 GB, free: 37.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009546/10.04, allocations: 1.356 MB / 3.711 GB, free: 36.72 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001913/10.04, allocations: 0.6198 MB / 3.711 GB, free: 36.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003894/10.04, allocations: 116.2 kB / 3.712 GB, free: 36.69 MB / 474.7 MB Notification: Performance of SimCode: time 2.606e-06/10.04, allocations: 0 / 3.712 GB, free: 36.69 MB / 474.7 MB Notification: Performance of Templates: time 0.1063/10.15, allocations: 55.81 MB / 3.766 GB, free: 33.43 MB / 474.7 MB