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_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.702/1.702, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.187e-05, allocations: 4 kB / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2136, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.046/6.26, allocations: 2.475 GB / 2.732 GB, free: 66.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/6.26, allocations: 77.8 kB / 2.733 GB, free: 66.62 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.047/8.307, allocations: 496.3 MB / 3.217 GB, free: 31.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.38e-06/8.307, allocations: 0 / 3.217 GB, free: 31.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.265e-05/8.307, allocations: 32.77 kB / 3.217 GB, free: 31.22 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.007981/8.315, allocations: 2.1 MB / 3.219 GB, free: 30.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/8.315, allocations: 7.469 kB / 3.219 GB, free: 30.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007172/8.323, allocations: 0.68 MB / 3.22 GB, free: 30.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/8.325, allocations: 0.9446 MB / 3.221 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/8.325, allocations: 74.17 kB / 3.221 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/8.325, allocations: 97.53 kB / 3.221 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00521/8.33, allocations: 1.79 MB / 3.223 GB, free: 29.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/8.331, allocations: 7.875 kB / 3.223 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001603/8.331, allocations: 47.5 kB / 3.223 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/8.331, allocations: 27.81 kB / 3.223 GB, free: 29.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004957/8.336, allocations: 1.565 MB / 3.224 GB, free: 29.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01054/8.346, allocations: 8.261 MB / 3.232 GB, free: 23.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003827/8.35, allocations: 1.784 MB / 3.234 GB, free: 22.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/8.351, allocations: 404 kB / 3.235 GB, free: 22.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4455/8.797, allocations: 80.65 MB / 3.313 GB, free: 34.12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.693e-05/8.797, allocations: 49.22 kB / 3.313 GB, free: 34.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=77): time 4.066e-06/8.797, allocations: 4.094 kB / 3.313 GB, free: 34.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=77): time 0.005959/8.803, allocations: 1.681 MB / 3.315 GB, free: 34.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/8.803, allocations: 193.1 kB / 3.315 GB, free: 33.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/8.804, allocations: 0.8041 MB / 3.316 GB, free: 33.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.5e-05/8.804, allocations: 40.2 kB / 3.316 GB, free: 33.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/8.805, allocations: 0.612 MB / 3.317 GB, free: 33.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000244/8.805, allocations: 282.2 kB / 3.317 GB, free: 33.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/8.805, allocations: 23.94 kB / 3.317 GB, free: 33.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/8.805, allocations: 356.3 kB / 3.317 GB, free: 32.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/8.806, allocations: 329.2 kB / 3.318 GB, free: 32.89 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009518/8.807, allocations: 0.7997 MB / 3.318 GB, free: 32.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009065/8.808, allocations: 457.1 kB / 3.319 GB, free: 32.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/8.808, allocations: 5.688 kB / 3.319 GB, free: 32.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002676/8.81, allocations: 1.233 MB / 3.32 GB, free: 32.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/8.81, allocations: 12.81 kB / 3.32 GB, free: 32.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/8.81, allocations: 20.28 kB / 3.32 GB, free: 32.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007499/8.818, allocations: 0.8197 MB / 3.321 GB, free: 32.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/8.82, allocations: 333 kB / 3.321 GB, free: 32.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/8.821, allocations: 1.521 MB / 3.323 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/8.822, allocations: 160.4 kB / 3.323 GB, free: 31.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/8.823, allocations: 74.22 kB / 3.323 GB, free: 31.05 MB / 394.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.0002716/8.823, allocations: 194.7 kB / 3.323 GB, free: 30.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/8.823, allocations: 106.3 kB / 3.323 GB, free: 30.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00577/8.829, allocations: 4.532 MB / 3.328 GB, free: 30.53 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/8.829, allocations: 41.83 kB / 3.328 GB, free: 30.53 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.423e-06/8.829, allocations: 3.375 kB / 3.328 GB, free: 30.53 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/8.829, allocations: 5.422 kB / 3.328 GB, free: 30.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007032/8.836, allocations: 5.011 MB / 3.333 GB, free: 29.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/8.836, allocations: 0 / 3.333 GB, free: 29.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/8.838, allocations: 199.2 kB / 3.333 GB, free: 29.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008793/8.846, allocations: 1.875 MB / 3.335 GB, free: 29.38 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/8.847, allocations: 25.59 kB / 3.335 GB, free: 29.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/8.848, allocations: 1.912 MB / 3.336 GB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.004e-06/8.848, allocations: 0 / 3.336 GB, free: 28.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/8.851, allocations: 2.064 MB / 3.338 GB, free: 27.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005757/8.852, allocations: 332.2 kB / 3.339 GB, free: 27.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/8.852, allocations: 20.62 kB / 3.339 GB, free: 27.56 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/8.853, allocations: 63.7 kB / 3.339 GB, free: 27.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.727e-05/8.853, allocations: 50.83 kB / 3.339 GB, free: 27.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/8.853, allocations: 33.23 kB / 3.339 GB, free: 27.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001159/8.854, allocations: 0.6881 MB / 3.34 GB, free: 27.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/8.854, allocations: 0 / 3.34 GB, free: 27.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005374/8.86, allocations: 1.339 MB / 3.341 GB, free: 27.36 MB / 394.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.008177/8.868, allocations: 1.761 MB / 3.343 GB, free: 27.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00341/8.871, allocations: 1.313 MB / 3.344 GB, free: 27.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.604e-06/8.872, allocations: 3.031 kB / 3.344 GB, free: 27.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002805/8.874, allocations: 0.9721 MB / 3.345 GB, free: 27.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003653/8.878, allocations: 0.5385 MB / 3.345 GB, free: 27.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1584/9.036, allocations: 76.78 MB / 3.42 GB, free: 8.816 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/9.037, allocations: 1.351 MB / 3.422 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000451/9.038, allocations: 119.6 kB / 3.422 GB, free: 7.574 MB / 394.7 MB Notification: Performance of SimCode: time 1.992e-06/9.038, allocations: 0 / 3.422 GB, free: 7.574 MB / 394.7 MB Notification: Performance of Templates: time 0.4035/9.441, allocations: 51.99 MB / 3.473 GB, free: 42.81 MB / 394.7 MB