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.1_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.636e-05/3.657e-05, allocations: 8 kB / 273.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08838/0.08844, allocations: 48.68 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8317/0.9202, allocations: 277.3 MB / 0.5851 GB, free: 91.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.9204, allocations: 84.14 kB / 0.5851 GB, free: 91.57 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 .... [/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 0.6292/1.55, allocations: 115.7 MB / 0.6981 GB, free: 108.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.69e-06/1.55, allocations: 0 / 0.6981 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.976e-05/1.55, allocations: 17.91 kB / 0.6982 GB, free: 108.9 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001601/1.551, allocations: 0.8558 MB / 0.699 GB, free: 108.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/1.551, allocations: 11.75 kB / 0.699 GB, free: 108.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004604/1.552, allocations: 84.7 kB / 0.6991 GB, free: 108.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/1.553, allocations: 0.5313 MB / 0.6996 GB, free: 108.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/1.553, allocations: 38.81 kB / 0.6996 GB, free: 108.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/1.553, allocations: 39.75 kB / 0.6997 GB, free: 108.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/1.554, allocations: 0.626 MB / 0.7003 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/1.554, allocations: 13.95 kB / 0.7003 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-05/1.555, allocations: 20.69 kB / 0.7003 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/1.555, allocations: 14.88 kB / 0.7003 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/1.556, allocations: 497 kB / 0.7008 GB, free: 107.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/1.559, allocations: 3.066 MB / 0.7038 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/1.56, allocations: 191.1 kB / 0.704 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/1.56, allocations: 105.8 kB / 0.7041 GB, free: 105.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0016/1.562, allocations: 1.026 MB / 0.7051 GB, free: 105.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002953/1.562, allocations: 178.2 kB / 0.7053 GB, free: 105.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 3.502e-06/1.562, allocations: 0 / 0.7053 GB, free: 105.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.000724/1.563, allocations: 295.6 kB / 0.7055 GB, free: 105.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/1.563, allocations: 173.4 kB / 0.7057 GB, free: 104.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/1.564, allocations: 421.9 kB / 0.7061 GB, free: 104.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/1.564, allocations: 32.48 kB / 0.7061 GB, free: 104.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/1.564, allocations: 371.5 kB / 0.7065 GB, free: 104.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/1.564, allocations: 78.16 kB / 0.7066 GB, free: 104.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/1.564, allocations: 10.88 kB / 0.7066 GB, free: 104.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/1.564, allocations: 365.5 kB / 0.7069 GB, free: 104.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/1.564, allocations: 98.75 kB / 0.707 GB, free: 104.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003661/1.565, allocations: 397.9 kB / 0.7074 GB, free: 103.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/1.565, allocations: 190.7 kB / 0.7076 GB, free: 103.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.601e-06/1.565, allocations: 3.469 kB / 0.7076 GB, free: 103.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001186/1.566, allocations: 0.5563 MB / 0.7081 GB, free: 103.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007422/1.567, allocations: 3.679 MB / 0.7117 GB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/1.567, allocations: 11.75 kB / 0.7117 GB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.063e-05/1.567, allocations: 13.97 kB / 0.7117 GB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.569, allocations: 191.1 kB / 0.7119 GB, free: 99.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004326/1.569, allocations: 0.6122 MB / 0.7125 GB, free: 99.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/1.57, allocations: 87.38 kB / 0.7126 GB, free: 99.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.924e-05/1.57, allocations: 40.69 kB / 0.7126 GB, free: 99.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.57, allocations: 3.594 kB / 0.7126 GB, free: 99.22 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/1.571, allocations: 0.4888 MB / 0.7131 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/1.571, allocations: 7.781 kB / 0.7131 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.571, allocations: 15.41 kB / 0.7131 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/1.572, allocations: 131.9 kB / 0.7133 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/1.572, allocations: 19.88 kB / 0.7133 GB, free: 99.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/1.572, allocations: 56.91 kB / 0.7133 GB, free: 99.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.155e-05/1.572, allocations: 31.25 kB / 0.7134 GB, free: 99.16 MB / 426.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: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * 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.0002515/1.573, allocations: 181.1 kB / 0.7135 GB, free: 99.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/1.573, allocations: 54.19 kB / 0.7136 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/1.574, allocations: 0.6374 MB / 0.7142 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/1.574, allocations: 3.875 kB / 0.7142 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.234e-06/1.574, allocations: 3.953 kB / 0.7142 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.09e-06/1.574, allocations: 3.891 kB / 0.7142 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/1.575, allocations: 469.4 kB / 0.7147 GB, free: 98.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.156e-06/1.575, allocations: 0 / 0.7147 GB, free: 98.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/1.576, allocations: 112 kB / 0.7148 GB, free: 98.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.672e-06/1.576, allocations: 0 / 0.7148 GB, free: 98.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/1.576, allocations: 14.97 kB / 0.7148 GB, free: 98.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002874/1.576, allocations: 0.5955 MB / 0.7154 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.576, allocations: 0 / 0.7154 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008123/1.577, allocations: 414.2 kB / 0.7158 GB, free: 97.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/1.578, allocations: 187.1 kB / 0.716 GB, free: 97.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.578, allocations: 13.94 kB / 0.716 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003072/1.578, allocations: 22.42 kB / 0.716 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/1.578, allocations: 21.73 kB / 0.716 GB, free: 97.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/1.578, allocations: 14.81 kB / 0.716 GB, free: 97.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000516/1.579, allocations: 346.2 kB / 0.7164 GB, free: 97.73 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.95e-07/1.579, allocations: 0 / 0.7164 GB, free: 97.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001747/1.58, allocations: 426.5 kB / 0.7168 GB, free: 97.66 MB / 426.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: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,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.001078/1.582, allocations: 440.3 kB / 0.7172 GB, free: 97.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/1.584, allocations: 0.7466 MB / 0.7179 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.341e-06/1.584, allocations: 0 / 0.7179 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.585, allocations: 290.4 kB / 0.7182 GB, free: 97.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/1.586, allocations: 185.4 kB / 0.7184 GB, free: 97.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/1.588, allocations: 0.8405 MB / 0.7192 GB, free: 97.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/1.589, allocations: 0.8969 MB / 0.7201 GB, free: 96.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001135/1.59, allocations: 211.9 kB / 0.7203 GB, free: 96.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/1.59, allocations: 59.94 kB / 0.7203 GB, free: 96.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.974e-06/1.59, allocations: 0 / 0.7203 GB, free: 96.35 MB / 426.7 MB Notification: Performance of Templates: time 0.02817/1.618, allocations: 12.51 MB / 0.7325 GB, free: 95.39 MB / 426.7 MB