Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|p_table.a|p_table.b|p_table.last|p_table.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.306/2.306, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 2.945e-05/2.963e-05, allocations: 4 kB / 323.4 MB, free: 4.301 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 58.82 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6117/0.9355, allocations: 289 MB / 0.6554 GB, free: 6.324 MB / 458.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.9358, allocations: 84.28 kB / 0.6555 GB, free: 6.281 MB / 458.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.6225/1.558, allocations: 117.3 MB / 0.7701 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.161e-06/1.558, allocations: 0 / 0.7701 GB, free: 143.5 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 4.363e-05/1.558, allocations: 16 kB / 0.7701 GB, free: 143.5 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001468/1.56, allocations: 0.8655 MB / 0.771 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/1.56, allocations: 12.03 kB / 0.771 GB, free: 142.6 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/1.56, allocations: 75.23 kB / 0.771 GB, free: 142.5 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.561, allocations: 0.5223 MB / 0.7716 GB, free: 142 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/1.561, allocations: 33 kB / 0.7716 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.058e-05/1.562, allocations: 44 kB / 0.7716 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/1.563, allocations: 0.6453 MB / 0.7723 GB, free: 141.2 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/1.563, allocations: 4 kB / 0.7723 GB, free: 141.2 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.737e-05/1.563, allocations: 24 kB / 0.7723 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.563, allocations: 12 kB / 0.7723 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008853/1.564, allocations: 0.4977 MB / 0.7728 GB, free: 140.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003628/1.567, allocations: 3.075 MB / 0.7758 GB, free: 137.4 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004446/1.568, allocations: 206.7 kB / 0.776 GB, free: 137.2 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/1.568, allocations: 141 kB / 0.7761 GB, free: 137 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002298/1.568, allocations: 339.4 kB / 0.7764 GB, free: 136.6 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004181/1.569, allocations: 286.9 kB / 0.7767 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=28): time 2.958e-06/1.569, allocations: 0 / 0.7767 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of matching and sorting (n=28): time 0.0009115/1.57, allocations: 405.5 kB / 0.7771 GB, free: 135.9 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/1.57, allocations: 290.7 kB / 0.7774 GB, free: 135.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000635/1.57, allocations: 481 kB / 0.7778 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/1.57, allocations: 33.7 kB / 0.7779 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/1.571, allocations: 341.4 kB / 0.7782 GB, free: 134.7 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-05/1.571, allocations: 96.94 kB / 0.7783 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/1.571, allocations: 8 kB / 0.7783 GB, free: 134.6 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.8e-05/1.571, allocations: 370.8 kB / 0.7786 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/1.571, allocations: 137.1 kB / 0.7788 GB, free: 134.1 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/1.572, allocations: 368.4 kB / 0.7791 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/1.572, allocations: 211 kB / 0.7793 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.949e-06/1.572, allocations: 4 kB / 0.7793 GB, free: 133.4 MB / 0.4949 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001219/1.573, allocations: 0.6008 MB / 0.7799 GB, free: 132.8 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/1.574, allocations: 2.129 MB / 0.782 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.574, allocations: 4 kB / 0.782 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/1.574, allocations: 11.94 kB / 0.782 GB, free: 130.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.575, allocations: 179.7 kB / 0.7822 GB, free: 130.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004053/1.576, allocations: 0.6094 MB / 0.7828 GB, free: 129.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007289/1.576, allocations: 79.22 kB / 0.7829 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.678e-05/1.576, allocations: 40.02 kB / 0.7829 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.576, allocations: 4 kB / 0.7829 GB, free: 129.6 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/1.578, allocations: 0.5131 MB / 0.7834 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.985e-06/1.578, allocations: 4 kB / 0.7834 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/1.578, allocations: 8 kB / 0.7834 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/1.578, allocations: 115.8 kB / 0.7835 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.578, allocations: 8 kB / 0.7835 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/1.579, allocations: 67.72 kB / 0.7836 GB, free: 128.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.078e-05/1.579, allocations: 31.98 kB / 0.7836 GB, free: 128.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (56): * Single equations (assignments): 54 * 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.0001819/1.579, allocations: 166.5 kB / 0.7838 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/1.579, allocations: 67.2 kB / 0.7838 GB, free: 128.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/1.581, allocations: 0.7436 MB / 0.7846 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.581, allocations: 8 kB / 0.7846 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-06/1.581, allocations: 3.938 kB / 0.7846 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.297e-06/1.581, allocations: 7.984 kB / 0.7846 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006984/1.581, allocations: 0.5184 MB / 0.7851 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.446e-06/1.581, allocations: 0 / 0.7851 GB, free: 127.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/1.582, allocations: 111.9 kB / 0.7852 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.195e-06/1.582, allocations: 7.953 kB / 0.7852 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/1.582, allocations: 12 kB / 0.7852 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002615/1.583, allocations: 0.5938 MB / 0.7858 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.475e-06/1.583, allocations: 8.016 kB / 0.7858 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009203/1.584, allocations: 0.5209 MB / 0.7863 GB, free: 126 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/1.584, allocations: 216 kB / 0.7865 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/1.584, allocations: 12.09 kB / 0.7865 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/1.584, allocations: 31.92 kB / 0.7866 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/1.585, allocations: 24.28 kB / 0.7866 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/1.585, allocations: 20 kB / 0.7866 GB, free: 125.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005532/1.585, allocations: 407.2 kB / 0.787 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.711e-06/1.585, allocations: 0 / 0.787 GB, free: 125.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001587/1.587, allocations: 471.3 kB / 0.7874 GB, free: 124.8 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.001087/1.588, allocations: 478.9 kB / 0.7879 GB, free: 124.3 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002414/1.59, allocations: 0.8798 MB / 0.7888 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.344e-06/1.59, allocations: 6.062 kB / 0.7888 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.591, allocations: 355.6 kB / 0.7891 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.593, allocations: 263 kB / 0.7894 GB, free: 122.8 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/1.595, allocations: 0.7344 MB / 0.7901 GB, free: 122 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/1.595, allocations: 0.9087 MB / 0.791 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001124/1.596, allocations: 228.5 kB / 0.7912 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/1.596, allocations: 63.41 kB / 0.7912 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.722e-06/1.596, allocations: 0 / 0.7912 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of Templates: time 0.04226/1.639, allocations: 16.06 MB / 0.8069 GB, free: 104.8 MB / 0.4949 GB