Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|orifice1.port_b.m_flow|orifice1.port_b.p|orifice1.port_b.h_outflow|orifice2.port_b.m_flow|orifice2.port_b.p|orifice2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.17/2.17, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.454e-05/3.466e-05, allocations: 7.984 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3201, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.351, allocations: 469.9 MB / 0.8103 GB, free: 105.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/1.351, allocations: 80.67 kB / 0.8103 GB, free: 105.3 MB / 490.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.8472/2.198, allocations: 195.6 MB / 1.001 GB, free: 106.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.695e-06/2.198, allocations: 0 / 1.001 GB, free: 106.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.889e-05/2.198, allocations: 15.98 kB / 1.001 GB, free: 106.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002231/2.201, allocations: 1.025 MB / 1.002 GB, free: 105.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/2.201, allocations: 8.031 kB / 1.002 GB, free: 105.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/2.203, allocations: 174.9 kB / 1.003 GB, free: 105 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/2.204, allocations: 0.5794 MB / 1.003 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/2.204, allocations: 29 kB / 1.003 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.61e-05/2.204, allocations: 44 kB / 1.003 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/2.205, allocations: 0.5938 MB / 1.004 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/2.205, allocations: 0 / 1.004 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/2.205, allocations: 20 kB / 1.004 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/2.205, allocations: 8 kB / 1.004 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009206/2.206, allocations: 469.5 kB / 1.004 GB, free: 103.2 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/2.21, allocations: 2.597 MB / 1.007 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/2.211, allocations: 255 kB / 1.007 GB, free: 100.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/2.211, allocations: 192.9 kB / 1.007 GB, free: 99.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003362/2.211, allocations: 232.6 kB / 1.007 GB, free: 99.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/2.212, allocations: 280.6 kB / 1.008 GB, free: 99.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 3.574e-06/2.212, allocations: 0 / 1.008 GB, free: 99.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009692/2.213, allocations: 438.5 kB / 1.008 GB, free: 98.98 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/2.213, allocations: 170.7 kB / 1.008 GB, free: 98.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/2.213, allocations: 484.8 kB / 1.009 GB, free: 98.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/2.214, allocations: 29.7 kB / 1.009 GB, free: 98.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/2.214, allocations: 385.5 kB / 1.009 GB, free: 97.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/2.214, allocations: 114.4 kB / 1.009 GB, free: 97.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/2.214, allocations: 12 kB / 1.009 GB, free: 97.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/2.214, allocations: 330.8 kB / 1.01 GB, free: 97.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/2.214, allocations: 157.1 kB / 1.01 GB, free: 97.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/2.215, allocations: 383.8 kB / 1.01 GB, free: 96.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004227/2.215, allocations: 249.2 kB / 1.01 GB, free: 96.53 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.983e-06/2.215, allocations: 4 kB / 1.01 GB, free: 96.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001208/2.216, allocations: 0.5958 MB / 1.011 GB, free: 95.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005308/2.217, allocations: 2.736 MB / 1.014 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/2.217, allocations: 4 kB / 1.014 GB, free: 92.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/2.217, allocations: 12 kB / 1.014 GB, free: 92.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006918/2.224, allocations: 0.6126 MB / 1.014 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005087/2.225, allocations: 0.6562 MB / 1.015 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/2.225, allocations: 67.52 kB / 1.015 GB, free: 91.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/2.225, allocations: 55.98 kB / 1.015 GB, free: 91.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/2.225, allocations: 4 kB / 1.015 GB, free: 91.53 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001062/2.226, allocations: 0.5202 MB / 1.015 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/2.226, allocations: 8 kB / 1.015 GB, free: 91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/2.227, allocations: 12 kB / 1.015 GB, free: 90.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005181/2.227, allocations: 132.5 kB / 1.016 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/2.227, allocations: 15.92 kB / 1.016 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004059/2.227, allocations: 67.45 kB / 1.016 GB, free: 90.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.354e-05/2.228, allocations: 59.98 kB / 1.016 GB, free: 90.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (62): * Single equations (assignments): 60 * 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.0002063/2.228, allocations: 175.3 kB / 1.016 GB, free: 90.53 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/2.228, allocations: 63.19 kB / 1.016 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/2.23, allocations: 0.7568 MB / 1.017 GB, free: 89.69 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.568e-06/2.23, allocations: 4 kB / 1.017 GB, free: 89.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/2.23, allocations: 7.953 kB / 1.017 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.183e-06/2.23, allocations: 3.984 kB / 1.017 GB, free: 89.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/2.233, allocations: 1.646 MB / 1.018 GB, free: 87.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/2.233, allocations: 4 kB / 1.018 GB, free: 87.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/2.235, allocations: 203.8 kB / 1.019 GB, free: 87.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/2.235, allocations: 7.984 kB / 1.019 GB, free: 87.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.531e-05/2.235, allocations: 20 kB / 1.019 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000375/2.235, allocations: 0.6366 MB / 1.019 GB, free: 86.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.324e-06/2.235, allocations: 11.91 kB / 1.019 GB, free: 86.97 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/2.236, allocations: 0.7356 MB / 1.02 GB, free: 86.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/2.237, allocations: 144.2 kB / 1.02 GB, free: 85.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/2.237, allocations: 12 kB / 1.02 GB, free: 85.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/2.237, allocations: 27.98 kB / 1.02 GB, free: 85.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.937e-05/2.237, allocations: 39.89 kB / 1.02 GB, free: 85.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.568e-05/2.237, allocations: 39.92 kB / 1.02 GB, free: 85.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005414/2.238, allocations: 381.5 kB / 1.021 GB, free: 85.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.73e-07/2.238, allocations: 4 kB / 1.021 GB, free: 85.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002197/2.24, allocations: 0.6162 MB / 1.021 GB, free: 84.87 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.002474/2.243, allocations: 1.228 MB / 1.022 GB, free: 83.64 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01259/2.255, allocations: 1.628 MB / 1.024 GB, free: 81.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.351e-06/2.255, allocations: 0 / 1.024 GB, free: 81.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003298/2.259, allocations: 492.8 kB / 1.024 GB, free: 81.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/2.26, allocations: 226.9 kB / 1.025 GB, free: 81.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007656/2.268, allocations: 2.332 MB / 1.027 GB, free: 78.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/2.268, allocations: 0.8991 MB / 1.028 GB, free: 77.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/2.269, allocations: 111.4 kB / 1.028 GB, free: 77.85 MB / 490.7 MB Notification: Performance of SimCode: time 1.711e-06/2.269, allocations: 0 / 1.028 GB, free: 77.85 MB / 490.7 MB Notification: Performance of Templates: time 0.02732/2.296, allocations: 18.89 MB / 1.046 GB, free: 58.97 MB / 490.7 MB