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_cpp_Modelica.Fluid.Examples.Explanatory.MomentumBalanceFittings") Notification: Performance of loadModel(Modelica): time 1.825/1.825, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.132e-05, allocations: 4 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07919/0.07925, allocations: 44.5 MB / 299.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.929/6.008, allocations: 2.585 GB / 2.877 GB, free: 83.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/6.009, allocations: 83.08 kB / 2.877 GB, free: 83.2 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.143/8.152, allocations: 0.4952 GB / 3.373 GB, free: 20.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.291e-06/8.152, allocations: 0 / 3.373 GB, free: 20.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.536e-05/8.152, allocations: 30.33 kB / 3.373 GB, free: 20.73 MB / 410.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.008375/8.16, allocations: 2.191 MB / 3.375 GB, free: 19.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/8.16, allocations: 9.625 kB / 3.375 GB, free: 19.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006868/8.167, allocations: 0.7094 MB / 3.376 GB, free: 19.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/8.17, allocations: 0.9467 MB / 3.377 GB, free: 18.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.878e-05/8.17, allocations: 76.02 kB / 3.377 GB, free: 18.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/8.17, allocations: 97.25 kB / 3.377 GB, free: 18.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005128/8.175, allocations: 1.782 MB / 3.378 GB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/8.175, allocations: 11.67 kB / 3.378 GB, free: 17.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/8.175, allocations: 52.19 kB / 3.378 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/8.175, allocations: 29.09 kB / 3.378 GB, free: 17.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00494/8.18, allocations: 1.567 MB / 3.38 GB, free: 17.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009879/8.19, allocations: 8.259 MB / 3.388 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003882/8.194, allocations: 1.779 MB / 3.39 GB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008479/8.195, allocations: 415.2 kB / 3.39 GB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4708/8.666, allocations: 80.95 MB / 3.469 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/8.666, allocations: 41.88 kB / 3.469 GB, free: 15.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=77): time 4.052e-06/8.666, allocations: 0 / 3.469 GB, free: 15.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=77): time 0.006556/8.672, allocations: 1.68 MB / 3.471 GB, free: 15.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005538/8.673, allocations: 190.8 kB / 3.471 GB, free: 31.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/8.674, allocations: 0.8116 MB / 3.472 GB, free: 30.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001334/8.675, allocations: 40.05 kB / 3.472 GB, free: 30.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004316/8.675, allocations: 0.61 MB / 3.473 GB, free: 30.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/8.675, allocations: 284.5 kB / 3.473 GB, free: 30.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/8.675, allocations: 22.62 kB / 3.473 GB, free: 30.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002016/8.676, allocations: 359.4 kB / 3.473 GB, free: 30.11 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007131/8.676, allocations: 321.5 kB / 3.474 GB, free: 30.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/8.677, allocations: 0.8025 MB / 3.474 GB, free: 29.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009339/8.678, allocations: 451.4 kB / 3.475 GB, free: 29.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-05/8.678, allocations: 8.375 kB / 3.475 GB, free: 29.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002786/8.681, allocations: 1.237 MB / 3.476 GB, free: 29.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/8.681, allocations: 13.81 kB / 3.476 GB, free: 29.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/8.681, allocations: 14.56 kB / 3.476 GB, free: 29.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007658/8.689, allocations: 0.8179 MB / 3.477 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/8.691, allocations: 325.1 kB / 3.477 GB, free: 29.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/8.693, allocations: 1.531 MB / 3.479 GB, free: 28.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/8.694, allocations: 159.5 kB / 3.479 GB, free: 28.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/8.694, allocations: 70.27 kB / 3.479 GB, free: 28.2 MB / 442.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.0003207/8.695, allocations: 196.7 kB / 3.479 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/8.695, allocations: 108.3 kB / 3.479 GB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005683/8.701, allocations: 4.531 MB / 3.484 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.936e-05/8.701, allocations: 50.55 kB / 3.484 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.044e-06/8.701, allocations: 0 / 3.484 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.86e-05/8.701, allocations: 6.047 kB / 3.484 GB, free: 27.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00747/8.708, allocations: 5.004 MB / 3.488 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/8.708, allocations: 0 / 3.488 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001471/8.71, allocations: 199.1 kB / 3.489 GB, free: 26.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008951/8.719, allocations: 1.881 MB / 3.49 GB, free: 26.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/8.719, allocations: 23.23 kB / 3.49 GB, free: 26.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/8.721, allocations: 1.91 MB / 3.492 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-06/8.721, allocations: 4.875 kB / 3.492 GB, free: 25.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/8.724, allocations: 2.059 MB / 3.494 GB, free: 24.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/8.725, allocations: 330.9 kB / 3.495 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/8.725, allocations: 13.59 kB / 3.495 GB, free: 24.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/8.726, allocations: 65 kB / 3.495 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.481e-05/8.726, allocations: 57.09 kB / 3.495 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/8.726, allocations: 20.5 kB / 3.495 GB, free: 24.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001153/8.727, allocations: 0.6965 MB / 3.496 GB, free: 24.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/8.727, allocations: 3.469 kB / 3.496 GB, free: 24.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005247/8.732, allocations: 1.337 MB / 3.497 GB, free: 24.44 MB / 442.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.008348/8.741, allocations: 1.771 MB / 3.499 GB, free: 24.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003715/8.745, allocations: 1.32 MB / 3.5 GB, free: 24.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.045e-06/8.745, allocations: 0 / 3.5 GB, free: 24.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002877/8.747, allocations: 0.97 MB / 3.501 GB, free: 24.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/8.751, allocations: 0.542 MB / 3.501 GB, free: 24.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1659/8.917, allocations: 80.83 MB / 3.58 GB, free: 13.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/8.918, allocations: 1.349 MB / 3.582 GB, free: 12.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/8.919, allocations: 111.6 kB / 3.582 GB, free: 12.73 MB / 458.7 MB Notification: Performance of SimCode: time 1.662e-06/8.919, allocations: 0 / 3.582 GB, free: 12.73 MB / 458.7 MB Notification: Performance of Templates: time 0.3604/9.279, allocations: 52.34 MB / 3.633 GB, free: 63.3 MB / 458.7 MB