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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.253/2.253, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.575e-05/3.628e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1152, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/1.532, allocations: 477.1 MB / 0.8666 GB, free: 170.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002073/1.533, allocations: 81.7 kB / 0.8667 GB, free: 170 MB / 0.5261 GB [/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 0.9275/2.46, allocations: 190.1 MB / 1.052 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.355e-06/2.46, allocations: 0 / 1.052 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.226e-05/2.46, allocations: 17.86 kB / 1.052 GB, free: 114.4 MB / 0.5261 GB 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.002267/2.463, allocations: 0.9859 MB / 1.053 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/2.463, allocations: 13.25 kB / 1.053 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/2.464, allocations: 172.2 kB / 1.053 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/2.466, allocations: 0.5464 MB / 1.054 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/2.466, allocations: 34.47 kB / 1.054 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/2.466, allocations: 42.81 kB / 1.054 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/2.467, allocations: 0.599 MB / 1.055 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/2.467, allocations: 6.516 kB / 1.055 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.329e-05/2.468, allocations: 18.34 kB / 1.055 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/2.468, allocations: 14.25 kB / 1.055 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/2.469, allocations: 476.9 kB / 1.055 GB, free: 113.5 MB / 0.5261 GB 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.004093/2.473, allocations: 2.663 MB / 1.058 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007191/2.473, allocations: 277.5 kB / 1.058 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004194/2.474, allocations: 180.4 kB / 1.058 GB, free: 112 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/2.474, allocations: 343.5 kB / 1.059 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/2.475, allocations: 350.8 kB / 1.059 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 4.226e-06/2.475, allocations: 0 / 1.059 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001293/2.476, allocations: 0.4956 MB / 1.059 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.095e-05/2.476, allocations: 293.2 kB / 1.06 GB, free: 111 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009021/2.477, allocations: 0.5482 MB / 1.06 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/2.477, allocations: 31.39 kB / 1.06 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/2.478, allocations: 336.3 kB / 1.061 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/2.478, allocations: 118.7 kB / 1.061 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/2.478, allocations: 8.094 kB / 1.061 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001138/2.478, allocations: 368.9 kB / 1.061 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/2.478, allocations: 164.6 kB / 1.061 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/2.479, allocations: 381.2 kB / 1.062 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/2.479, allocations: 246.6 kB / 1.062 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.759e-06/2.479, allocations: 1.375 kB / 1.062 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001543/2.481, allocations: 0.6474 MB / 1.062 GB, free: 110 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004144/2.481, allocations: 2.042 MB / 1.064 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/2.481, allocations: 6.219 kB / 1.064 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/2.481, allocations: 7.344 kB / 1.064 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007095/2.489, allocations: 0.6048 MB / 1.065 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000525/2.489, allocations: 0.6597 MB / 1.066 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/2.49, allocations: 79 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/2.49, allocations: 52.59 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/2.49, allocations: 3.812 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/2.491, allocations: 0.5321 MB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/2.491, allocations: 12.06 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/2.491, allocations: 8.906 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/2.492, allocations: 127.9 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/2.492, allocations: 15.3 kB / 1.066 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007882/2.493, allocations: 65.41 kB / 1.067 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/2.493, allocations: 55.52 kB / 1.067 GB, free: 107.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (55): * Single equations (assignments): 53 * 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.0002429/2.493, allocations: 169.9 kB / 1.067 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/2.493, allocations: 69.38 kB / 1.067 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/2.496, allocations: 1.178 MB / 1.068 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.585e-06/2.496, allocations: 3.656 kB / 1.068 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.349e-06/2.496, allocations: 0 / 1.068 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.955e-06/2.496, allocations: 3.703 kB / 1.068 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003015/2.499, allocations: 2.281 MB / 1.07 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.839e-06/2.499, allocations: 3.75 kB / 1.07 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00252/2.502, allocations: 221 kB / 1.07 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/2.502, allocations: 3.719 kB / 1.07 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/2.502, allocations: 26.38 kB / 1.07 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/2.503, allocations: 0.6442 MB / 1.071 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.518e-06/2.503, allocations: 6.188 kB / 1.071 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/2.504, allocations: 0.8357 MB / 1.072 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/2.504, allocations: 156.2 kB / 1.072 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/2.504, allocations: 15.25 kB / 1.072 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/2.505, allocations: 31.22 kB / 1.072 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/2.505, allocations: 46.05 kB / 1.072 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/2.505, allocations: 39.3 kB / 1.072 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006865/2.506, allocations: 445.6 kB / 1.073 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.47e-07/2.506, allocations: 0 / 1.073 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002167/2.508, allocations: 0.5748 MB / 1.073 GB, free: 104 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.002263/2.51, allocations: 1.117 MB / 1.074 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01419/2.525, allocations: 1.626 MB / 1.076 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.044e-06/2.525, allocations: 0 / 1.076 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003888/2.529, allocations: 476.1 kB / 1.076 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/2.531, allocations: 302.8 kB / 1.077 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/2.532, allocations: 0.758 MB / 1.077 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/2.533, allocations: 0.9023 MB / 1.078 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003166/2.536, allocations: 1.031 MB / 1.079 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/2.536, allocations: 96.45 kB / 1.079 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.726e-06/2.537, allocations: 0 / 1.079 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.0546/2.591, allocations: 28.81 MB / 1.107 GB, free: 101.2 MB / 0.5261 GB