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.2_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.251/2.251, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.944e-05/5.956e-05, allocations: 4 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3334, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6424/0.9759, allocations: 283.8 MB / 0.6285 GB, free: 49.97 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.9762, allocations: 80.45 kB / 0.6286 GB, free: 49.93 MB / 458.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.5957/1.572, allocations: 115.8 MB / 0.7417 GB, free: 131.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.572, allocations: 0 / 0.7417 GB, free: 131.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.624e-05/1.572, allocations: 9.312 kB / 0.7417 GB, free: 131.4 MB / 474.7 MB 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.001568/1.574, allocations: 0.8562 MB / 0.7425 GB, free: 130.8 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.574, allocations: 11.69 kB / 0.7425 GB, free: 130.8 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/1.574, allocations: 80.3 kB / 0.7426 GB, free: 130.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/1.575, allocations: 0.5483 MB / 0.7431 GB, free: 130.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.09e-05/1.575, allocations: 32.69 kB / 0.7432 GB, free: 130.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/1.575, allocations: 44.16 kB / 0.7432 GB, free: 130.4 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/1.577, allocations: 0.6348 MB / 0.7438 GB, free: 130 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.577, allocations: 0 / 0.7438 GB, free: 130 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/1.577, allocations: 22.53 kB / 0.7438 GB, free: 130 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.577, allocations: 10.22 kB / 0.7439 GB, free: 130 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/1.578, allocations: 0.4913 MB / 0.7443 GB, free: 129.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/1.582, allocations: 3.102 MB / 0.7474 GB, free: 127.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/1.582, allocations: 179.8 kB / 0.7475 GB, free: 127.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/1.582, allocations: 115.9 kB / 0.7476 GB, free: 127.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001537/1.584, allocations: 1.028 MB / 0.7486 GB, free: 126.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/1.584, allocations: 186.2 kB / 0.7488 GB, free: 126.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 3.683e-06/1.584, allocations: 0 / 0.7488 GB, free: 126.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007194/1.585, allocations: 284.6 kB / 0.7491 GB, free: 126.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.585, allocations: 170 kB / 0.7493 GB, free: 125.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/1.586, allocations: 427.9 kB / 0.7497 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/1.586, allocations: 28.39 kB / 0.7497 GB, free: 125.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/1.586, allocations: 377.3 kB / 0.7501 GB, free: 125.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/1.586, allocations: 81.28 kB / 0.7501 GB, free: 125.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/1.586, allocations: 18.06 kB / 0.7501 GB, free: 125.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/1.586, allocations: 364.4 kB / 0.7505 GB, free: 125 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/1.587, allocations: 111.7 kB / 0.7506 GB, free: 124.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/1.587, allocations: 393.3 kB / 0.751 GB, free: 124.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003674/1.587, allocations: 208.8 kB / 0.7512 GB, free: 124.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/1.587, allocations: 3.844 kB / 0.7512 GB, free: 124.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001247/1.589, allocations: 0.5425 MB / 0.7517 GB, free: 124.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007266/1.589, allocations: 3.691 MB / 0.7553 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.589, allocations: 15.34 kB / 0.7553 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.589, allocations: 13.31 kB / 0.7553 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.591, allocations: 186.9 kB / 0.7555 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004424/1.591, allocations: 0.6212 MB / 0.7561 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/1.592, allocations: 77.95 kB / 0.7562 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.592, allocations: 38.94 kB / 0.7562 GB, free: 119.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.592, allocations: 2.844 kB / 0.7562 GB, free: 119.6 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/1.593, allocations: 487.2 kB / 0.7567 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/1.593, allocations: 7.906 kB / 0.7567 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/1.593, allocations: 17.23 kB / 0.7567 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/1.594, allocations: 129.1 kB / 0.7569 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/1.594, allocations: 18.62 kB / 0.7569 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/1.595, allocations: 62.17 kB / 0.7569 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/1.595, allocations: 37.59 kB / 0.757 GB, free: 119.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * 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.000269/1.595, allocations: 176.7 kB / 0.7571 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.595, allocations: 61.53 kB / 0.7572 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/1.597, allocations: 0.6359 MB / 0.7578 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.597, allocations: 7.688 kB / 0.7578 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.835e-06/1.597, allocations: 0 / 0.7578 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.024e-06/1.597, allocations: 7.984 kB / 0.7578 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000813/1.598, allocations: 476.7 kB / 0.7583 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/1.598, allocations: 3.125 kB / 0.7583 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008088/1.599, allocations: 102.8 kB / 0.7584 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/1.599, allocations: 7.547 kB / 0.7584 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/1.599, allocations: 7.875 kB / 0.7584 GB, free: 118.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003044/1.599, allocations: 0.6008 MB / 0.759 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-06/1.599, allocations: 0 / 0.759 GB, free: 117.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/1.6, allocations: 410.3 kB / 0.7594 GB, free: 117.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/1.6, allocations: 187.6 kB / 0.7596 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/1.6, allocations: 7.875 kB / 0.7596 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003584/1.601, allocations: 23.89 kB / 0.7596 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/1.601, allocations: 23.84 kB / 0.7596 GB, free: 117.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/1.601, allocations: 18.91 kB / 0.7596 GB, free: 117.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005281/1.602, allocations: 346.5 kB / 0.76 GB, free: 117.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.31e-07/1.602, allocations: 0 / 0.76 GB, free: 117.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001857/1.603, allocations: 434.8 kB / 0.7604 GB, free: 117 MB / 474.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: 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.001116/1.605, allocations: 461 kB / 0.7608 GB, free: 116.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002663/1.607, allocations: 0.8023 MB / 0.7616 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.978e-06/1.607, allocations: 0 / 0.7616 GB, free: 116.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.608, allocations: 313.5 kB / 0.7619 GB, free: 116.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/1.61, allocations: 191.7 kB / 0.7621 GB, free: 116.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/1.612, allocations: 0.8422 MB / 0.7629 GB, free: 115.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/1.612, allocations: 0.899 MB / 0.7638 GB, free: 114.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001192/1.614, allocations: 220.4 kB / 0.764 GB, free: 114.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/1.614, allocations: 58.16 kB / 0.764 GB, free: 114.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.648e-06/1.614, allocations: 4 kB / 0.764 GB, free: 114.7 MB / 474.7 MB Notification: Performance of Templates: time 0.0285/1.642, allocations: 12.69 MB / 0.7764 GB, free: 105.8 MB / 474.7 MB