Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.24/2.24, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.282e-05/4.298e-05, allocations: 0 / 305 MB, free: 5.156 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3725, allocations: 54.84 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.403, allocations: 469.9 MB / 0.8103 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.403, allocations: 81.2 kB / 0.8104 GB, free: 105.3 MB / 490.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 .... Notification: Performance of FrontEnd - DAE generated: time 0.8795/2.283, allocations: 195.6 MB / 1.001 GB, free: 106.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.128e-06/2.283, allocations: 3.938 kB / 1.001 GB, free: 106.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.286e-05/2.283, allocations: 16 kB / 1.001 GB, free: 106.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002439/2.285, allocations: 1.012 MB / 1.002 GB, free: 105.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/2.285, allocations: 19.95 kB / 1.002 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/2.287, allocations: 174.9 kB / 1.003 GB, free: 104.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/2.289, allocations: 0.5793 MB / 1.003 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.009e-05/2.289, allocations: 37 kB / 1.003 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/2.289, allocations: 40 kB / 1.003 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/2.29, allocations: 0.59 MB / 1.004 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/2.29, allocations: 0 / 1.004 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.51e-05/2.29, allocations: 20 kB / 1.004 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/2.29, allocations: 12 kB / 1.004 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000875/2.291, allocations: 465.5 kB / 1.004 GB, free: 103.1 MB / 490.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.003502/2.294, allocations: 2.597 MB / 1.007 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/2.295, allocations: 259.9 kB / 1.007 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/2.295, allocations: 184.8 kB / 1.007 GB, free: 99.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000318/2.296, allocations: 236.6 kB / 1.007 GB, free: 99.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004248/2.296, allocations: 276.7 kB / 1.008 GB, free: 99.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 4.597e-06/2.296, allocations: 0 / 1.008 GB, free: 99.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009773/2.297, allocations: 438.5 kB / 1.008 GB, free: 98.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/2.297, allocations: 158.7 kB / 1.008 GB, free: 98.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/2.298, allocations: 484.8 kB / 1.009 GB, free: 98.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/2.298, allocations: 33.7 kB / 1.009 GB, free: 98.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/2.298, allocations: 355 kB / 1.009 GB, free: 97.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.298, allocations: 114.4 kB / 1.009 GB, free: 97.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/2.298, allocations: 19.94 kB / 1.009 GB, free: 97.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/2.298, allocations: 370.7 kB / 1.01 GB, free: 97.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003178/2.299, allocations: 157.1 kB / 1.01 GB, free: 97.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/2.299, allocations: 379.8 kB / 1.01 GB, free: 96.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/2.3, allocations: 249.2 kB / 1.01 GB, free: 96.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/2.3, allocations: 0 / 1.01 GB, free: 96.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00128/2.301, allocations: 0.6391 MB / 1.011 GB, free: 95.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005422/2.302, allocations: 2.727 MB / 1.014 GB, free: 92.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/2.302, allocations: 8 kB / 1.014 GB, free: 92.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/2.302, allocations: 12 kB / 1.014 GB, free: 92.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00684/2.308, allocations: 0.6087 MB / 1.014 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005016/2.309, allocations: 0.6562 MB / 1.015 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/2.31, allocations: 71.52 kB / 1.015 GB, free: 91.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/2.31, allocations: 55.98 kB / 1.015 GB, free: 91.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/2.31, allocations: 4 kB / 1.015 GB, free: 91.41 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/2.311, allocations: 0.5207 MB / 1.016 GB, free: 90.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/2.311, allocations: 12.16 kB / 1.016 GB, free: 90.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/2.311, allocations: 12 kB / 1.016 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/2.312, allocations: 139.8 kB / 1.016 GB, free: 90.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/2.312, allocations: 11.98 kB / 1.016 GB, free: 90.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/2.312, allocations: 63.45 kB / 1.016 GB, free: 90.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/2.312, allocations: 55.98 kB / 1.016 GB, free: 90.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002177/2.313, allocations: 182.9 kB / 1.016 GB, free: 90.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/2.313, allocations: 55.34 kB / 1.016 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/2.315, allocations: 0.7568 MB / 1.017 GB, free: 89.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.278e-06/2.315, allocations: 4 kB / 1.017 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.807e-06/2.315, allocations: 3.953 kB / 1.017 GB, free: 89.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.594e-06/2.315, allocations: 3.984 kB / 1.017 GB, free: 89.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/2.317, allocations: 1.654 MB / 1.018 GB, free: 87.74 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.464e-06/2.317, allocations: 0 / 1.018 GB, free: 87.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002044/2.319, allocations: 212 kB / 1.019 GB, free: 87.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/2.319, allocations: 4 kB / 1.019 GB, free: 87.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.646e-05/2.32, allocations: 20 kB / 1.019 GB, free: 87.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003654/2.32, allocations: 0.6405 MB / 1.019 GB, free: 86.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.828e-06/2.32, allocations: 8.062 kB / 1.019 GB, free: 86.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/2.321, allocations: 0.7394 MB / 1.02 GB, free: 86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/2.321, allocations: 144.2 kB / 1.02 GB, free: 85.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/2.321, allocations: 12 kB / 1.02 GB, free: 85.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004315/2.322, allocations: 19.98 kB / 1.02 GB, free: 85.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.629e-05/2.322, allocations: 39.97 kB / 1.02 GB, free: 85.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/2.322, allocations: 39.92 kB / 1.02 GB, free: 85.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005368/2.323, allocations: 381.5 kB / 1.021 GB, free: 85.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.21e-07/2.323, allocations: 0 / 1.021 GB, free: 85.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002333/2.325, allocations: 0.6162 MB / 1.021 GB, free: 84.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.002619/2.328, allocations: 1.229 MB / 1.022 GB, free: 83.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01185/2.34, allocations: 1.648 MB / 1.024 GB, free: 81.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/2.34, allocations: 3.938 kB / 1.024 GB, free: 81.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/2.343, allocations: 483.7 kB / 1.024 GB, free: 81.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/2.344, allocations: 240.8 kB / 1.025 GB, free: 81.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007667/2.352, allocations: 2.303 MB / 1.027 GB, free: 78.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/2.352, allocations: 0.904 MB / 1.028 GB, free: 77.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002073/2.355, allocations: 308.4 kB / 1.028 GB, free: 77.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/2.355, allocations: 79.41 kB / 1.028 GB, free: 77.46 MB / 490.7 MB Notification: Performance of SimCode: time 2.051e-06/2.355, allocations: 0 / 1.028 GB, free: 77.46 MB / 490.7 MB Notification: Performance of Templates: time 0.04816/2.403, allocations: 27.38 MB / 1.055 GB, free: 50.09 MB / 490.7 MB