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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.206e-05, allocations: 10.05 kB / 348.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 61.88 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.25, allocations: 290.1 MB / 0.684 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/1.25, allocations: 86.69 kB / 0.6841 GB, free: 115.2 MB / 0.5105 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.3658/1.616, allocations: 119.7 MB / 0.801 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.319e-06/1.616, allocations: 0 / 0.801 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.222e-05/1.616, allocations: 12 kB / 0.801 GB, free: 15.1 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002/1.618, allocations: 0.8669 MB / 0.8018 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.618, allocations: 8.031 kB / 0.8018 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005267/1.619, allocations: 83.11 kB / 0.8019 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.62, allocations: 0.5171 MB / 0.8024 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/1.62, allocations: 33 kB / 0.8024 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.62, allocations: 47.98 kB / 0.8025 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/1.622, allocations: 0.6493 MB / 0.8031 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/1.622, allocations: 4 kB / 0.8031 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/1.622, allocations: 20 kB / 0.8031 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.622, allocations: 12 kB / 0.8031 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.623, allocations: 0.5055 MB / 0.8036 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/1.628, allocations: 3.07 MB / 0.8066 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/1.629, allocations: 206.8 kB / 0.8068 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/1.629, allocations: 137.1 kB / 0.807 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003913/1.63, allocations: 336.4 kB / 0.8073 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/1.63, allocations: 289.6 kB / 0.8076 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.567e-06/1.63, allocations: 0 / 0.8076 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.001201/1.632, allocations: 397.5 kB / 0.8079 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/1.632, allocations: 294.9 kB / 0.8082 GB, free: 7.133 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008943/1.633, allocations: 484.9 kB / 0.8087 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/1.633, allocations: 33.7 kB / 0.8087 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/1.633, allocations: 335.1 kB / 0.809 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/1.633, allocations: 90.73 kB / 0.8091 GB, free: 6.188 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/1.633, allocations: 12 kB / 0.8091 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002312/1.634, allocations: 366.8 kB / 0.8095 GB, free: 5.809 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/1.634, allocations: 141.1 kB / 0.8096 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/1.635, allocations: 367.9 kB / 0.81 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/1.635, allocations: 220.2 kB / 0.8102 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.177e-06/1.635, allocations: 3.938 kB / 0.8102 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001622/1.637, allocations: 0.6 MB / 0.8108 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001242/1.638, allocations: 2.123 MB / 0.8128 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.638, allocations: 12.02 kB / 0.8129 GB, free: 2.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/1.638, allocations: 15.94 kB / 0.8129 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/1.64, allocations: 163.8 kB / 0.813 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006731/1.64, allocations: 0.6211 MB / 0.8136 GB, free: 1.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/1.641, allocations: 79.36 kB / 0.8137 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/1.641, allocations: 31.98 kB / 0.8137 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.641, allocations: 7.938 kB / 0.8137 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001314/1.643, allocations: 0.5126 MB / 0.8142 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.643, allocations: 4 kB / 0.8143 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/1.643, allocations: 8.719 kB / 0.8143 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005689/1.643, allocations: 119.8 kB / 0.8144 GB, free: 496 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/1.643, allocations: 15.89 kB / 0.8144 GB, free: 480 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/1.644, allocations: 63.5 kB / 0.8145 GB, free: 416 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/1.644, allocations: 28 kB / 0.8145 GB, free: 388 kB / 0.5261 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.0002927/1.645, allocations: 170.5 kB / 0.8146 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/1.645, allocations: 67.25 kB / 0.8147 GB, free: 136 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3809/2.026, allocations: 0.7375 MB / 0.8154 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/2.026, allocations: 5.562 kB / 0.8154 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/2.026, allocations: 3.094 kB / 0.8154 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/2.026, allocations: 6.016 kB / 0.8154 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/2.028, allocations: 0.5276 MB / 0.816 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/2.028, allocations: 0.6562 kB / 0.816 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/2.029, allocations: 113.5 kB / 0.8161 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.638e-05/2.029, allocations: 0.75 kB / 0.8161 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/2.029, allocations: 17.81 kB / 0.8161 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004793/2.03, allocations: 0.5926 MB / 0.8167 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.255e-06/2.03, allocations: 0 / 0.8167 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/2.032, allocations: 0.5297 MB / 0.8172 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006368/2.033, allocations: 209.9 kB / 0.8174 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/2.033, allocations: 13.73 kB / 0.8174 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008677/2.034, allocations: 32.44 kB / 0.8174 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/2.034, allocations: 26.16 kB / 0.8174 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/2.034, allocations: 19.58 kB / 0.8175 GB, free: 137 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001258/2.036, allocations: 406.1 kB / 0.8179 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.656e-06/2.036, allocations: 0 / 0.8179 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00336/2.039, allocations: 464.4 kB / 0.8183 GB, free: 136.9 MB / 0.5261 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.001946/2.041, allocations: 473.1 kB / 0.8187 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005016/2.046, allocations: 0.8777 MB / 0.8196 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/2.046, allocations: 11.03 kB / 0.8196 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002085/2.048, allocations: 351.7 kB / 0.8199 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003096/2.051, allocations: 274.9 kB / 0.8202 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00498/2.056, allocations: 0.7241 MB / 0.8209 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/2.057, allocations: 0.9092 MB / 0.8218 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002668/2.06, allocations: 231.8 kB / 0.822 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/2.06, allocations: 61 kB / 0.8221 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.757e-06/2.06, allocations: 0 / 0.8221 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.04784/2.108, allocations: 16.05 MB / 0.8378 GB, free: 135.1 MB / 0.5261 GB