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_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.113e-05, allocations: 0 / 305 MB, free: 5.148 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3452, allocations: 54.85 MB / 359.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5778/0.9231, allocations: 215.4 MB / 0.5617 GB, free: 99.63 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.9234, allocations: 80.89 kB / 0.5618 GB, free: 99.63 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.176/3.099, allocations: 0.5087 GB / 1.07 GB, free: 25.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.689e-06/3.099, allocations: 0 / 1.07 GB, free: 25.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001265/3.099, allocations: 35.92 kB / 1.071 GB, free: 25.17 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.005728/3.105, allocations: 1.901 MB / 1.072 GB, free: 23.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/3.105, allocations: 12.03 kB / 1.072 GB, free: 23.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/3.11, allocations: 346.1 kB / 1.073 GB, free: 22.87 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/3.112, allocations: 0.9021 MB / 1.074 GB, free: 21.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.424e-05/3.112, allocations: 66 kB / 1.074 GB, free: 21.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001733/3.112, allocations: 87.94 kB / 1.074 GB, free: 21.77 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/3.116, allocations: 1.134 MB / 1.075 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/3.116, allocations: 4 kB / 1.075 GB, free: 20.55 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001507/3.116, allocations: 40 kB / 1.075 GB, free: 20.51 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/3.116, allocations: 20 kB / 1.075 GB, free: 20.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002763/3.119, allocations: 0.8042 MB / 1.076 GB, free: 19.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/3.127, allocations: 6.276 MB / 1.082 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/3.129, allocations: 491.9 kB / 1.082 GB, free: 12.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004479/3.129, allocations: 222.1 kB / 1.083 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004824/3.13, allocations: 0.7562 MB / 1.083 GB, free: 11.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/3.13, allocations: 39 kB / 1.083 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000879/3.131, allocations: 119.2 kB / 1.083 GB, free: 11.06 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 8.068e-06/3.131, allocations: 0 / 1.083 GB, free: 11.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.007266/3.138, allocations: 0.6948 MB / 1.084 GB, free: 10.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/3.138, allocations: 192.4 kB / 1.084 GB, free: 10.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/3.141, allocations: 0.7419 MB / 1.085 GB, free: 9.363 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002827/3.141, allocations: 33.7 kB / 1.085 GB, free: 9.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/3.142, allocations: 0.603 MB / 1.086 GB, free: 8.711 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003739/3.142, allocations: 181.5 kB / 1.086 GB, free: 8.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/3.143, allocations: 16 kB / 1.086 GB, free: 8.516 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/3.143, allocations: 341.9 kB / 1.086 GB, free: 8.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/3.144, allocations: 269.9 kB / 1.086 GB, free: 7.914 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/3.146, allocations: 0.6012 MB / 1.087 GB, free: 7.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001761/3.148, allocations: 362.9 kB / 1.087 GB, free: 6.793 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/3.148, allocations: 8 kB / 1.087 GB, free: 6.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.005771/3.154, allocations: 1.058 MB / 1.088 GB, free: 5.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001389/3.155, allocations: 4.187 MB / 1.092 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/3.155, allocations: 12 kB / 1.092 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01524/3.17, allocations: 0.7459 MB / 1.093 GB, free: 452 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/3.173, allocations: 287.5 kB / 1.093 GB, free: 164 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3163/3.49, allocations: 0.7774 MB / 1.094 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/3.492, allocations: 101.9 kB / 1.094 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/3.492, allocations: 81.56 kB / 1.094 GB, free: 66.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/3.492, allocations: 4.062 kB / 1.094 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002545/3.494, allocations: 0.8987 MB / 1.095 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.254e-05/3.494, allocations: 10.5 kB / 1.095 GB, free: 66.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003949/3.495, allocations: 81.39 kB / 1.095 GB, free: 66.42 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/3.496, allocations: 306.6 kB / 1.096 GB, free: 66.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/3.498, allocations: 1.649 MB / 1.097 GB, free: 65.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/3.5, allocations: 90.58 kB / 1.097 GB, free: 65.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/3.5, allocations: 69.69 kB / 1.097 GB, free: 65.11 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.0003246/3.5, allocations: 164.2 kB / 1.098 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/3.501, allocations: 107.9 kB / 1.098 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/3.506, allocations: 1.497 MB / 1.099 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/3.506, allocations: 8.5 kB / 1.099 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-06/3.506, allocations: 0 / 1.099 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/3.506, allocations: 6.859 kB / 1.099 GB, free: 64.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00393/3.51, allocations: 1.647 MB / 1.101 GB, free: 64.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.479e-06/3.51, allocations: 1.156 kB / 1.101 GB, free: 64.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/3.51, allocations: 130.5 kB / 1.101 GB, free: 64.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004923/3.515, allocations: 0.5576 MB / 1.101 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/3.516, allocations: 24.69 kB / 1.101 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/3.517, allocations: 0.8065 MB / 1.102 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.506e-06/3.517, allocations: 1.938 kB / 1.102 GB, free: 64.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003239/3.52, allocations: 0.906 MB / 1.103 GB, free: 63.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/3.522, allocations: 313.2 kB / 1.103 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/3.522, allocations: 20.44 kB / 1.103 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/3.524, allocations: 65.2 kB / 1.104 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/3.524, allocations: 54.09 kB / 1.104 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/3.524, allocations: 30.94 kB / 1.104 GB, free: 63.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001801/3.526, allocations: 0.5782 MB / 1.104 GB, free: 63.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-06/3.526, allocations: 0 / 1.104 GB, free: 63.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004385/3.53, allocations: 1.028 MB / 1.105 GB, free: 63.4 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.002671/3.533, allocations: 0.8093 MB / 1.106 GB, free: 63.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003491/3.537, allocations: 1.281 MB / 1.107 GB, free: 63.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.933e-06/3.537, allocations: 5 kB / 1.107 GB, free: 63.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008923/3.538, allocations: 307.6 kB / 1.108 GB, free: 63.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002962/3.541, allocations: 427.1 kB / 1.108 GB, free: 63.17 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004401/3.545, allocations: 1.51 MB / 1.109 GB, free: 62.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000768/3.546, allocations: 1.101 MB / 1.11 GB, free: 62.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004015/3.55, allocations: 0.8361 MB / 1.111 GB, free: 61.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/3.55, allocations: 107 kB / 1.111 GB, free: 61.99 MB / 490.7 MB Notification: Performance of SimCode: time 2.809e-06/3.55, allocations: 2 kB / 1.111 GB, free: 61.99 MB / 490.7 MB Notification: Performance of Templates: time 0.06059/3.611, allocations: 26.76 MB / 1.138 GB, free: 61.23 MB / 490.7 MB