Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|SourceP1.ports.2..m_flow|SourceP1.ports.2..p|SourceP1.ports.2..h_outflow|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|SourceP2.ports.2..m_flow|SourceP2.ports.2..p|SourceP2.ports.2..h_outflow|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|V5.port_b.m_flow|V5.port_b.p|V5.port_b.h_outflow|V5.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow|CloseLoad.y|OpenRelief.y|CloseValves.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.246e-05, allocations: 4 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3194, allocations: 54.85 MB / 359.8 MB, free: 2.652 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5284/0.8478, allocations: 215.4 MB / 0.5617 GB, free: 136.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.8481, allocations: 84.16 kB / 0.5618 GB, free: 136.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.356/3.204, allocations: 0.5087 GB / 1.07 GB, free: 69.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.958e-06/3.204, allocations: 0 / 1.07 GB, free: 69.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.896e-05/3.204, allocations: 32.11 kB / 1.07 GB, free: 69.02 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005558/3.209, allocations: 1.898 MB / 1.072 GB, free: 68.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/3.209, allocations: 9.594 kB / 1.072 GB, free: 68.63 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/3.214, allocations: 356 kB / 1.073 GB, free: 68.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002697/3.217, allocations: 0.8988 MB / 1.074 GB, free: 68.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/3.217, allocations: 60.88 kB / 1.074 GB, free: 68.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002347/3.217, allocations: 82.97 kB / 1.074 GB, free: 68.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/3.221, allocations: 1.124 MB / 1.075 GB, free: 68.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/3.221, allocations: 1.094 kB / 1.075 GB, free: 68.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/3.221, allocations: 36.69 kB / 1.075 GB, free: 68.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/3.221, allocations: 23.12 kB / 1.075 GB, free: 68.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003176/3.225, allocations: 0.8089 MB / 1.076 GB, free: 68.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00884/3.234, allocations: 6.28 MB / 1.082 GB, free: 63.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/3.235, allocations: 494.8 kB / 1.082 GB, free: 63.81 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/3.236, allocations: 222.4 kB / 1.082 GB, free: 63.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004961/3.236, allocations: 0.7609 MB / 1.083 GB, free: 62.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/3.236, allocations: 44.7 kB / 1.083 GB, free: 62.91 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008797/3.237, allocations: 108.1 kB / 1.083 GB, free: 62.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 4.129e-06/3.237, allocations: 1.094 kB / 1.083 GB, free: 62.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.003232/3.241, allocations: 0.6944 MB / 1.084 GB, free: 62.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/3.241, allocations: 188.8 kB / 1.084 GB, free: 62.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/3.242, allocations: 0.7477 MB / 1.085 GB, free: 62.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/3.242, allocations: 35.86 kB / 1.085 GB, free: 62.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000373/3.243, allocations: 0.6066 MB / 1.086 GB, free: 62.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/3.243, allocations: 169.5 kB / 1.086 GB, free: 62.01 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/3.243, allocations: 19.62 kB / 1.086 GB, free: 62.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/3.243, allocations: 351.2 kB / 1.086 GB, free: 61.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000683/3.244, allocations: 267.7 kB / 1.086 GB, free: 61.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/3.245, allocations: 0.6 MB / 1.087 GB, free: 61.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/3.245, allocations: 364.4 kB / 1.087 GB, free: 61.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/3.245, allocations: 3.906 kB / 1.087 GB, free: 61.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002731/3.248, allocations: 1.006 MB / 1.088 GB, free: 61.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008344/3.249, allocations: 4.184 MB / 1.092 GB, free: 56.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/3.249, allocations: 13.92 kB / 1.092 GB, free: 56.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008319/3.257, allocations: 0.7486 MB / 1.093 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/3.259, allocations: 289.1 kB / 1.093 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/3.26, allocations: 0.7854 MB / 1.094 GB, free: 56.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/3.262, allocations: 104.4 kB / 1.094 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/3.262, allocations: 82.25 kB / 1.094 GB, free: 56.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/3.262, allocations: 7.969 kB / 1.094 GB, free: 56.3 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002762/3.265, allocations: 0.896 MB / 1.095 GB, free: 56.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/3.265, allocations: 11.78 kB / 1.095 GB, free: 56.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/3.266, allocations: 79.55 kB / 1.095 GB, free: 56.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/3.267, allocations: 304.8 kB / 1.096 GB, free: 56.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001883/3.269, allocations: 1.637 MB / 1.097 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/3.27, allocations: 97.52 kB / 1.097 GB, free: 54.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/3.27, allocations: 72.27 kB / 1.097 GB, free: 54.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003594/3.271, allocations: 162.5 kB / 1.097 GB, free: 54.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/3.271, allocations: 102 kB / 1.098 GB, free: 54.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004425/3.276, allocations: 1.498 MB / 1.099 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.817e-06/3.276, allocations: 6.5 kB / 1.099 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.809e-06/3.276, allocations: 0 / 1.099 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/3.276, allocations: 3 kB / 1.099 GB, free: 54.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/3.279, allocations: 1.645 MB / 1.101 GB, free: 54.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.137e-06/3.279, allocations: 3.688 kB / 1.101 GB, free: 54.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/3.28, allocations: 134.6 kB / 1.101 GB, free: 54.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004224/3.284, allocations: 0.5578 MB / 1.101 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/3.284, allocations: 27.78 kB / 1.101 GB, free: 54.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009604/3.285, allocations: 0.8028 MB / 1.102 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.421e-06/3.285, allocations: 2.594 kB / 1.102 GB, free: 53.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/3.287, allocations: 0.903 MB / 1.103 GB, free: 53.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/3.288, allocations: 310.3 kB / 1.103 GB, free: 53.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/3.288, allocations: 19.41 kB / 1.103 GB, free: 53.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009071/3.289, allocations: 71.19 kB / 1.103 GB, free: 53.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/3.289, allocations: 57.12 kB / 1.103 GB, free: 53.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.69e-05/3.289, allocations: 26.97 kB / 1.104 GB, free: 53.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009821/3.29, allocations: 0.5816 MB / 1.104 GB, free: 53.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.08e-07/3.29, allocations: 1.969 kB / 1.104 GB, free: 53.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004047/3.294, allocations: 1.028 MB / 1.105 GB, free: 53.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002345/3.297, allocations: 0.8113 MB / 1.106 GB, free: 52.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002961/3.3, allocations: 1.253 MB / 1.107 GB, free: 52.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.715e-06/3.3, allocations: 0 / 1.107 GB, free: 52.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007603/3.3, allocations: 311.2 kB / 1.107 GB, free: 52.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/3.303, allocations: 422.2 kB / 1.108 GB, free: 52.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/3.307, allocations: 1.543 MB / 1.109 GB, free: 52.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/3.307, allocations: 1.093 MB / 1.11 GB, free: 51.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000609/3.308, allocations: 131.2 kB / 1.11 GB, free: 51.55 MB / 490.7 MB Notification: Performance of SimCode: time 2.539e-06/3.308, allocations: 0 / 1.11 GB, free: 51.55 MB / 490.7 MB Notification: Performance of Templates: time 0.04124/3.349, allocations: 26.89 MB / 1.137 GB, free: 50.62 MB / 490.7 MB