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_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.977e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08613/0.08618, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7744/0.8606, allocations: 277.3 MB / 0.585 GB, free: 109 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.8608, allocations: 83.95 kB / 0.5851 GB, free: 108.9 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.5652/1.426, allocations: 115.7 MB / 0.6981 GB, free: 104.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.079e-06/1.426, allocations: 0 / 0.6981 GB, free: 104.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.573e-05/1.426, allocations: 18.78 kB / 0.6981 GB, free: 104.7 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.001789/1.428, allocations: 0.8469 MB / 0.699 GB, free: 104.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.428, allocations: 9.094 kB / 0.699 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005574/1.429, allocations: 87.64 kB / 0.6991 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/1.43, allocations: 0.5388 MB / 0.6996 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/1.43, allocations: 31.81 kB / 0.6996 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.43, allocations: 42.22 kB / 0.6997 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/1.431, allocations: 0.6267 MB / 0.7003 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/1.432, allocations: 4.781 kB / 0.7003 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/1.432, allocations: 21.03 kB / 0.7003 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/1.432, allocations: 12.09 kB / 0.7003 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/1.433, allocations: 0.4952 MB / 0.7008 GB, free: 103.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004225/1.437, allocations: 3.063 MB / 0.7038 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/1.437, allocations: 184.1 kB / 0.704 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/1.438, allocations: 103.4 kB / 0.704 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001709/1.439, allocations: 1.034 MB / 0.7051 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003203/1.44, allocations: 169.8 kB / 0.7052 GB, free: 101 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 4.043e-06/1.44, allocations: 3.375 kB / 0.7052 GB, free: 101 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008588/1.441, allocations: 297 kB / 0.7055 GB, free: 101 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/1.441, allocations: 165.7 kB / 0.7057 GB, free: 100.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000699/1.441, allocations: 428.2 kB / 0.7061 GB, free: 100.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/1.442, allocations: 31.75 kB / 0.7061 GB, free: 100.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/1.442, allocations: 410.6 kB / 0.7065 GB, free: 100.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.843e-05/1.442, allocations: 80.61 kB / 0.7066 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/1.442, allocations: 9.438 kB / 0.7066 GB, free: 100.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/1.442, allocations: 333.5 kB / 0.7069 GB, free: 100 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/1.442, allocations: 103.2 kB / 0.707 GB, free: 100 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/1.443, allocations: 388.3 kB / 0.7074 GB, free: 99.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/1.443, allocations: 197.8 kB / 0.7076 GB, free: 99.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.443, allocations: 2.969 kB / 0.7076 GB, free: 99.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001347/1.445, allocations: 0.5252 MB / 0.7081 GB, free: 99.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007762/1.445, allocations: 3.695 MB / 0.7117 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/1.445, allocations: 8.219 kB / 0.7117 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.853e-05/1.445, allocations: 18.88 kB / 0.7117 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001443/1.447, allocations: 181.9 kB / 0.7119 GB, free: 95.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004555/1.447, allocations: 0.6175 MB / 0.7125 GB, free: 95.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008051/1.448, allocations: 72.88 kB / 0.7126 GB, free: 95.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.448, allocations: 35.94 kB / 0.7126 GB, free: 95.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.448, allocations: 7.688 kB / 0.7126 GB, free: 95.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00113/1.45, allocations: 492.8 kB / 0.7131 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.45, allocations: 9.406 kB / 0.7131 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.45, allocations: 15.59 kB / 0.7131 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000528/1.45, allocations: 137.7 kB / 0.7132 GB, free: 95.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/1.45, allocations: 16.81 kB / 0.7132 GB, free: 95.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004844/1.451, allocations: 62.72 kB / 0.7133 GB, free: 95.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/1.451, allocations: 34.92 kB / 0.7133 GB, free: 95.04 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.0002403/1.451, allocations: 173.1 kB / 0.7135 GB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/1.451, allocations: 54 kB / 0.7135 GB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001822/1.453, allocations: 0.6378 MB / 0.7142 GB, free: 94.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/1.453, allocations: 3.781 kB / 0.7142 GB, free: 94.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.541e-06/1.453, allocations: 3.953 kB / 0.7142 GB, free: 94.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.453, allocations: 2.75 kB / 0.7142 GB, free: 94.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008091/1.454, allocations: 472.7 kB / 0.7146 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.14e-06/1.454, allocations: 0 / 0.7146 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007442/1.455, allocations: 106.1 kB / 0.7147 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.379e-06/1.455, allocations: 1.094 kB / 0.7147 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/1.455, allocations: 13 kB / 0.7147 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003006/1.455, allocations: 0.5916 MB / 0.7153 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.039e-06/1.455, allocations: 1.469 kB / 0.7153 GB, free: 93.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008744/1.456, allocations: 409.2 kB / 0.7157 GB, free: 93.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003255/1.456, allocations: 186.4 kB / 0.7159 GB, free: 93.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.457, allocations: 14.42 kB / 0.7159 GB, free: 93.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/1.457, allocations: 19.3 kB / 0.7159 GB, free: 93.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.457, allocations: 24 kB / 0.7159 GB, free: 93.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/1.457, allocations: 13.38 kB / 0.716 GB, free: 93.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005358/1.458, allocations: 353.4 kB / 0.7163 GB, free: 93.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.26e-07/1.458, allocations: 0 / 0.7163 GB, free: 93.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001917/1.459, allocations: 427.3 kB / 0.7167 GB, free: 93.55 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.001126/1.461, allocations: 463.3 kB / 0.7171 GB, free: 93.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00264/1.463, allocations: 0.7364 MB / 0.7179 GB, free: 93.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.078e-06/1.463, allocations: 0 / 0.7179 GB, free: 93.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/1.464, allocations: 285.2 kB / 0.7181 GB, free: 93.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/1.466, allocations: 190.5 kB / 0.7183 GB, free: 93.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/1.468, allocations: 0.8517 MB / 0.7191 GB, free: 92.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/1.469, allocations: 0.8914 MB / 0.72 GB, free: 92.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/1.469, allocations: 72.36 kB / 0.7201 GB, free: 92.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.581e-06/1.469, allocations: 0 / 0.7201 GB, free: 92.23 MB / 426.7 MB Notification: Performance of Templates: time 0.02191/1.491, allocations: 13.22 MB / 0.733 GB, free: 91.38 MB / 426.7 MB