Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 1.818/1.818, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.63e-05/3.635e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.08591, allocations: 48.69 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.128/6.214, allocations: 2.485 GB / 2.799 GB, free: 78.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/6.214, allocations: 81.42 kB / 2.8 GB, free: 78.72 MB / 426.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 .... Notification: Performance of FrontEnd - DAE generated: time 1.551/7.765, allocations: 389.3 MB / 3.18 GB, free: 17.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.242e-06/7.765, allocations: 0 / 3.18 GB, free: 17.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.268e-05/7.765, allocations: 14.89 kB / 3.18 GB, free: 17.77 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.004597/7.77, allocations: 1.497 MB / 3.181 GB, free: 16.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/7.77, allocations: 8.031 kB / 3.181 GB, free: 16.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/7.773, allocations: 275.1 kB / 3.182 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/7.774, allocations: 471.8 kB / 3.182 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.646e-05/7.774, allocations: 34.03 kB / 3.182 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.952e-05/7.774, allocations: 36 kB / 3.182 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/7.776, allocations: 0.6767 MB / 3.183 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/7.776, allocations: 4.453 kB / 3.183 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.279e-05/7.776, allocations: 20 kB / 3.183 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/7.776, allocations: 8.344 kB / 3.183 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/7.778, allocations: 0.5635 MB / 3.183 GB, free: 14.08 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003404/7.781, allocations: 2.867 MB / 3.186 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/7.782, allocations: 450.5 kB / 3.187 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/7.783, allocations: 140.8 kB / 3.187 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5114/8.294, allocations: 96.24 MB / 3.281 GB, free: 17.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/8.294, allocations: 41.53 kB / 3.281 GB, free: 17.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=30): time 3.188e-06/8.294, allocations: 0 / 3.281 GB, free: 17.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=30): time 0.0029/8.297, allocations: 0.6766 MB / 3.281 GB, free: 17.35 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/8.297, allocations: 109.8 kB / 3.281 GB, free: 17.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/8.298, allocations: 306 kB / 3.282 GB, free: 17.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/8.298, allocations: 31.17 kB / 3.282 GB, free: 17.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/8.298, allocations: 305.8 kB / 3.282 GB, free: 16.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/8.298, allocations: 109.8 kB / 3.282 GB, free: 16.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/8.298, allocations: 10.97 kB / 3.282 GB, free: 16.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/8.298, allocations: 324 kB / 3.282 GB, free: 16.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/8.298, allocations: 109.5 kB / 3.283 GB, free: 16.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/8.299, allocations: 253.6 kB / 3.283 GB, free: 16.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/8.299, allocations: 136.2 kB / 3.283 GB, free: 16.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.886e-06/8.299, allocations: 3.312 kB / 3.283 GB, free: 16.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009887/8.3, allocations: 416.8 kB / 3.283 GB, free: 16.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009231/8.301, allocations: 1.745 MB / 3.285 GB, free: 30.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/8.301, allocations: 7.969 kB / 3.285 GB, free: 30.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002154/8.303, allocations: 200.4 kB / 3.285 GB, free: 30.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/8.304, allocations: 99.3 kB / 3.285 GB, free: 30.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006926/8.305, allocations: 0.5835 MB / 3.286 GB, free: 29.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/8.305, allocations: 67.55 kB / 3.286 GB, free: 29.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/8.305, allocations: 22.91 kB / 3.286 GB, free: 29.92 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/8.305, allocations: 3.875 kB / 3.286 GB, free: 29.92 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000771/8.306, allocations: 346.8 kB / 3.286 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.804e-06/8.306, allocations: 7.188 kB / 3.286 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/8.306, allocations: 8.906 kB / 3.286 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/8.307, allocations: 111.5 kB / 3.286 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/8.307, allocations: 5.281 kB / 3.286 GB, free: 29.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/8.307, allocations: 58.77 kB / 3.287 GB, free: 29.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-05/8.307, allocations: 20.31 kB / 3.287 GB, free: 29.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001845/8.307, allocations: 129.4 kB / 3.287 GB, free: 29.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/8.307, allocations: 40.95 kB / 3.287 GB, free: 29.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/8.31, allocations: 1.985 MB / 3.289 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-05/8.31, allocations: 26.84 kB / 3.289 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.436e-06/8.31, allocations: 1.125 kB / 3.289 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.894e-06/8.31, allocations: 8.938 kB / 3.289 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/8.311, allocations: 0.9894 MB / 3.29 GB, free: 29.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-06/8.311, allocations: 0.5 kB / 3.29 GB, free: 29.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/8.312, allocations: 67.34 kB / 3.29 GB, free: 29.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/8.313, allocations: 0.7025 MB / 3.29 GB, free: 29.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/8.314, allocations: 21.2 kB / 3.29 GB, free: 29.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009799/8.315, allocations: 0.9961 MB / 3.291 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.561e-06/8.315, allocations: 0 / 3.291 GB, free: 28.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/8.316, allocations: 1.236 MB / 3.293 GB, free: 28.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/8.316, allocations: 251.5 kB / 3.293 GB, free: 28.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/8.317, allocations: 6.188 kB / 3.293 GB, free: 28.34 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/8.317, allocations: 39.62 kB / 3.293 GB, free: 28.33 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/8.317, allocations: 28.14 kB / 3.293 GB, free: 28.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/8.317, allocations: 19.69 kB / 3.293 GB, free: 28.33 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004237/8.318, allocations: 302 kB / 3.293 GB, free: 28.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.26e-07/8.318, allocations: 0 / 3.293 GB, free: 28.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004515/8.322, allocations: 1.197 MB / 3.294 GB, free: 28.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.007843/8.33, allocations: 1.611 MB / 3.296 GB, free: 27.98 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/8.331, allocations: 0.6896 MB / 3.297 GB, free: 27.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.862e-06/8.331, allocations: 2.25 kB / 3.297 GB, free: 27.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006018/8.332, allocations: 464.1 kB / 3.297 GB, free: 27.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/8.333, allocations: 215.5 kB / 3.297 GB, free: 27.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6164/8.95, allocations: 149.4 MB / 3.443 GB, free: 84.14 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004808/8.95, allocations: 1.001 MB / 3.444 GB, free: 83.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/8.951, allocations: 48.47 kB / 3.444 GB, free: 83.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.734e-06/8.951, allocations: 2.812 kB / 3.444 GB, free: 83.44 MB / 474.7 MB Notification: Performance of Templates: time 0.05036/9.001, allocations: 31.43 MB / 3.475 GB, free: 80.87 MB / 474.7 MB