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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.721e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1132, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.121, allocations: 290.1 MB / 0.684 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/1.121, allocations: 81.67 kB / 0.6841 GB, free: 115.4 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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.3633/1.485, allocations: 119.7 MB / 0.8009 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.139e-06/1.485, allocations: 0 / 0.8009 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.1e-05/1.485, allocations: 16 kB / 0.8009 GB, free: 15.16 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.001899/1.487, allocations: 0.863 MB / 0.8018 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.487, allocations: 8.031 kB / 0.8018 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/1.487, allocations: 87.09 kB / 0.8019 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/1.489, allocations: 0.5249 MB / 0.8024 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/1.489, allocations: 36.98 kB / 0.8024 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/1.489, allocations: 44 kB / 0.8025 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/1.49, allocations: 0.6415 MB / 0.8031 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/1.49, allocations: 0 / 0.8031 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/1.49, allocations: 24 kB / 0.8031 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/1.491, allocations: 12 kB / 0.8031 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/1.492, allocations: 0.5016 MB / 0.8036 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005395/1.497, allocations: 3.074 MB / 0.8066 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/1.498, allocations: 206.7 kB / 0.8068 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/1.498, allocations: 133.1 kB / 0.8069 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004038/1.498, allocations: 344.4 kB / 0.8073 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/1.499, allocations: 277.6 kB / 0.8075 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 4.379e-06/1.499, allocations: 0 / 0.8075 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.001165/1.5, allocations: 401.5 kB / 0.8079 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/1.5, allocations: 290.9 kB / 0.8082 GB, free: 7.199 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008911/1.501, allocations: 492.8 kB / 0.8087 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.721e-05/1.501, allocations: 33.7 kB / 0.8087 GB, free: 6.668 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/1.502, allocations: 331.1 kB / 0.809 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/1.502, allocations: 94.75 kB / 0.8091 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/1.502, allocations: 8 kB / 0.8091 GB, free: 6.238 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002295/1.502, allocations: 366.8 kB / 0.8095 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/1.503, allocations: 145.1 kB / 0.8096 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/1.503, allocations: 363.9 kB / 0.8099 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005086/1.504, allocations: 224.3 kB / 0.8102 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.607e-06/1.504, allocations: 0 / 0.8102 GB, free: 5.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001615/1.505, allocations: 0.5957 MB / 0.8107 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001268/1.507, allocations: 2.127 MB / 0.8128 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/1.507, allocations: 11.95 kB / 0.8128 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/1.507, allocations: 8 kB / 0.8128 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/1.508, allocations: 179.7 kB / 0.813 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006756/1.509, allocations: 0.6173 MB / 0.8136 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008541/1.51, allocations: 75.27 kB / 0.8137 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.51, allocations: 36.08 kB / 0.8137 GB, free: 1.199 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/1.51, allocations: 4 kB / 0.8137 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001336/1.511, allocations: 0.5131 MB / 0.8142 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.511, allocations: 8 kB / 0.8142 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/1.512, allocations: 8 kB / 0.8142 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/1.512, allocations: 111.8 kB / 0.8143 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.26e-05/1.512, allocations: 19.88 kB / 0.8144 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000725/1.513, allocations: 67.7 kB / 0.8144 GB, free: 476 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/1.513, allocations: 27.98 kB / 0.8145 GB, free: 448 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.0003043/1.513, allocations: 184.8 kB / 0.8146 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/1.513, allocations: 63.25 kB / 0.8147 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2967/1.81, allocations: 0.7335 MB / 0.8154 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/1.81, allocations: 7.75 kB / 0.8154 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.947e-06/1.81, allocations: 2.422 kB / 0.8154 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.81, allocations: 2.703 kB / 0.8154 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/1.811, allocations: 0.5202 MB / 0.8159 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.688e-06/1.811, allocations: 0 / 0.8159 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/1.812, allocations: 121.8 kB / 0.816 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.04e-05/1.812, allocations: 1.125 kB / 0.816 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.751e-05/1.812, allocations: 14.91 kB / 0.8161 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002982/1.813, allocations: 0.5893 MB / 0.8166 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.136e-06/1.813, allocations: 1.875 kB / 0.8166 GB, free: 137 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.814, allocations: 0.5291 MB / 0.8172 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/1.814, allocations: 216.1 kB / 0.8174 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.814, allocations: 8.812 kB / 0.8174 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/1.815, allocations: 34.03 kB / 0.8174 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/1.815, allocations: 28.56 kB / 0.8174 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-05/1.815, allocations: 20.48 kB / 0.8174 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007634/1.816, allocations: 403.8 kB / 0.8178 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.34e-07/1.816, allocations: 0 / 0.8178 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001875/1.818, allocations: 463.9 kB / 0.8183 GB, free: 136.7 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.001243/1.819, allocations: 474.2 kB / 0.8187 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002849/1.822, allocations: 0.8918 MB / 0.8196 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.859e-06/1.822, allocations: 0 / 0.8196 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.823, allocations: 358.8 kB / 0.8199 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/1.825, allocations: 261.9 kB / 0.8202 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/1.827, allocations: 0.7318 MB / 0.8209 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/1.827, allocations: 0.9041 MB / 0.8218 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001292/1.829, allocations: 222.6 kB / 0.822 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/1.829, allocations: 65.77 kB / 0.8221 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.658e-06/1.829, allocations: 0 / 0.8221 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.04002/1.869, allocations: 16.06 MB / 0.8377 GB, free: 134.9 MB / 0.5261 GB