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.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.359e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08759/0.08764, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5134/0.6011, allocations: 209.1 MB / 0.5184 GB, free: 3.871 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.6014, allocations: 83.89 kB / 0.5185 GB, free: 3.828 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.287/2.888, allocations: 0.4989 GB / 1.017 GB, free: 4.512 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.985e-06/2.888, allocations: 0 / 1.017 GB, free: 4.512 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001053/2.888, allocations: 31.98 kB / 1.017 GB, free: 4.48 MB / 442.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.005979/2.894, allocations: 1.897 MB / 1.019 GB, free: 2.539 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/2.894, allocations: 8.031 kB / 1.019 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/2.899, allocations: 350.1 kB / 1.02 GB, free: 2.188 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002717/2.902, allocations: 0.906 MB / 1.021 GB, free: 1.238 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.629e-05/2.902, allocations: 62 kB / 1.021 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/2.902, allocations: 80 kB / 1.021 GB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2649/3.167, allocations: 1.12 MB / 1.022 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/3.167, allocations: 1.375 kB / 1.022 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002154/3.168, allocations: 40.41 kB / 1.022 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/3.168, allocations: 20.53 kB / 1.022 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/3.171, allocations: 0.8086 MB / 1.023 GB, free: 56.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008589/3.179, allocations: 6.279 MB / 1.029 GB, free: 52.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/3.181, allocations: 499.5 kB / 1.029 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/3.182, allocations: 220.4 kB / 1.029 GB, free: 52.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000495/3.182, allocations: 0.7602 MB / 1.03 GB, free: 51.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/3.182, allocations: 38.38 kB / 1.03 GB, free: 51.89 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008144/3.183, allocations: 108.2 kB / 1.03 GB, free: 51.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 3.895e-06/3.183, allocations: 0 / 1.03 GB, free: 51.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.003172/3.186, allocations: 0.6993 MB / 1.031 GB, free: 51.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/3.186, allocations: 189.7 kB / 1.031 GB, free: 51.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/3.188, allocations: 0.747 MB / 1.032 GB, free: 51.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/3.188, allocations: 33.08 kB / 1.032 GB, free: 51.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/3.188, allocations: 0.6044 MB / 1.033 GB, free: 51.07 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/3.188, allocations: 176.8 kB / 1.033 GB, free: 50.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.038e-05/3.189, allocations: 16.88 kB / 1.033 GB, free: 50.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/3.189, allocations: 344.3 kB / 1.033 GB, free: 50.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006878/3.189, allocations: 270.7 kB / 1.033 GB, free: 50.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/3.19, allocations: 0.6026 MB / 1.034 GB, free: 50.26 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/3.191, allocations: 360.1 kB / 1.034 GB, free: 50.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/3.191, allocations: 3.781 kB / 1.034 GB, free: 50.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003203/3.194, allocations: 1.009 MB / 1.035 GB, free: 50.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008336/3.195, allocations: 4.185 MB / 1.039 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/3.195, allocations: 10.66 kB / 1.039 GB, free: 45.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007812/3.203, allocations: 0.7496 MB / 1.04 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/3.205, allocations: 291.4 kB / 1.04 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/3.206, allocations: 0.7882 MB / 1.041 GB, free: 45.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/3.207, allocations: 98.62 kB / 1.041 GB, free: 45.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/3.207, allocations: 83.81 kB / 1.041 GB, free: 45.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/3.208, allocations: 3.125 kB / 1.041 GB, free: 45.3 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002493/3.21, allocations: 0.9004 MB / 1.042 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/3.21, allocations: 14.62 kB / 1.042 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003729/3.21, allocations: 80.48 kB / 1.042 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/3.212, allocations: 300.4 kB / 1.043 GB, free: 45.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/3.214, allocations: 1.646 MB / 1.044 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/3.215, allocations: 95.92 kB / 1.044 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/3.215, allocations: 71.33 kB / 1.044 GB, free: 43.93 MB / 442.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.0003408/3.216, allocations: 164.4 kB / 1.044 GB, free: 43.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003121/3.216, allocations: 107.5 kB / 1.045 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004431/3.22, allocations: 1.487 MB / 1.046 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/3.22, allocations: 7.125 kB / 1.046 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-06/3.22, allocations: 0.6094 kB / 1.046 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/3.22, allocations: 10.64 kB / 1.046 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003579/3.224, allocations: 1.64 MB / 1.048 GB, free: 43.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.443e-06/3.224, allocations: 6.141 kB / 1.048 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006901/3.225, allocations: 133.4 kB / 1.048 GB, free: 43.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004434/3.229, allocations: 0.564 MB / 1.048 GB, free: 43.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/3.229, allocations: 24.19 kB / 1.048 GB, free: 43.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009397/3.23, allocations: 0.8076 MB / 1.049 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.385e-06/3.23, allocations: 1.312 kB / 1.049 GB, free: 42.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/3.232, allocations: 0.9057 MB / 1.05 GB, free: 42.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005904/3.233, allocations: 306.9 kB / 1.05 GB, free: 42.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/3.233, allocations: 18.59 kB / 1.05 GB, free: 42.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/3.234, allocations: 67.09 kB / 1.05 GB, free: 42.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/3.234, allocations: 55.8 kB / 1.05 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.722e-05/3.234, allocations: 34.31 kB / 1.05 GB, free: 42.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001215/3.235, allocations: 0.5836 MB / 1.051 GB, free: 42.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.34e-06/3.235, allocations: 2.953 kB / 1.051 GB, free: 42.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006278/3.242, allocations: 1.021 MB / 1.052 GB, free: 42.11 MB / 442.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.003432/3.245, allocations: 0.7919 MB / 1.053 GB, free: 42.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004797/3.25, allocations: 1.259 MB / 1.054 GB, free: 41.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.144e-06/3.25, allocations: 1.406 kB / 1.054 GB, free: 41.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/3.251, allocations: 301.2 kB / 1.054 GB, free: 41.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/3.256, allocations: 428.6 kB / 1.055 GB, free: 41.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/3.262, allocations: 1.544 MB / 1.056 GB, free: 41.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008883/3.263, allocations: 1.094 MB / 1.057 GB, free: 40.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009462/3.264, allocations: 129.8 kB / 1.057 GB, free: 40.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.801e-06/3.264, allocations: 1.688 kB / 1.057 GB, free: 40.73 MB / 442.7 MB Notification: Performance of Templates: time 0.07109/3.335, allocations: 26.89 MB / 1.084 GB, free: 39.83 MB / 442.7 MB