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_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.595e-05, allocations: 6.391 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.0868, allocations: 48.7 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5386/0.6254, allocations: 209.1 MB / 0.5184 GB, free: 3.441 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.6257, allocations: 83.39 kB / 0.5185 GB, free: 3.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.34/2.966, allocations: 0.4989 GB / 1.017 GB, free: 4.125 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.118e-06/2.966, allocations: 0 / 1.017 GB, free: 4.125 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001126/2.966, allocations: 31.98 kB / 1.017 GB, free: 4.094 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.006174/2.972, allocations: 1.893 MB / 1.019 GB, free: 2.152 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/2.972, allocations: 12.03 kB / 1.019 GB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004776/2.977, allocations: 354.1 kB / 1.02 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/2.98, allocations: 0.8982 MB / 1.021 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/2.98, allocations: 62 kB / 1.021 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001926/2.98, allocations: 80 kB / 1.021 GB, free: 0.7109 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.268/3.248, allocations: 1.12 MB / 1.022 GB, free: 56.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/3.248, allocations: 0.7812 kB / 1.022 GB, free: 56.82 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/3.249, allocations: 41.16 kB / 1.022 GB, free: 56.82 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/3.249, allocations: 23.62 kB / 1.022 GB, free: 56.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003542/3.252, allocations: 0.8086 MB / 1.023 GB, free: 56.81 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00948/3.262, allocations: 6.269 MB / 1.029 GB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/3.264, allocations: 0.4884 MB / 1.029 GB, free: 52.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/3.264, allocations: 221.1 kB / 1.029 GB, free: 52.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000498/3.265, allocations: 0.7612 MB / 1.03 GB, free: 51.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/3.265, allocations: 39.66 kB / 1.03 GB, free: 51.77 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008899/3.266, allocations: 107.5 kB / 1.03 GB, free: 51.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.363e-06/3.266, allocations: 0 / 1.03 GB, free: 51.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.00334/3.269, allocations: 0.698 MB / 1.031 GB, free: 51.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/3.269, allocations: 192.4 kB / 1.031 GB, free: 51.44 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/3.271, allocations: 0.7438 MB / 1.032 GB, free: 51.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/3.271, allocations: 35.05 kB / 1.032 GB, free: 51.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000468/3.271, allocations: 0.5977 MB / 1.033 GB, free: 51.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/3.271, allocations: 175.9 kB / 1.033 GB, free: 50.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/3.272, allocations: 20.16 kB / 1.033 GB, free: 50.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.417e-05/3.272, allocations: 341.1 kB / 1.033 GB, free: 50.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/3.272, allocations: 266.4 kB / 1.033 GB, free: 50.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008959/3.273, allocations: 0.6032 MB / 1.034 GB, free: 50.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009361/3.274, allocations: 364 kB / 1.034 GB, free: 50.2 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/3.274, allocations: 3.469 kB / 1.034 GB, free: 50.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00319/3.277, allocations: 1.066 MB / 1.035 GB, free: 50.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000846/3.278, allocations: 4.185 MB / 1.039 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/3.278, allocations: 12.36 kB / 1.039 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007616/3.286, allocations: 0.7401 MB / 1.04 GB, free: 45.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/3.288, allocations: 290.5 kB / 1.04 GB, free: 45.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/3.289, allocations: 0.7987 MB / 1.041 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/3.291, allocations: 96.38 kB / 1.041 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002586/3.291, allocations: 82.75 kB / 1.041 GB, free: 45.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/3.291, allocations: 3.656 kB / 1.041 GB, free: 45.21 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002535/3.293, allocations: 0.9014 MB / 1.042 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/3.294, allocations: 11 kB / 1.042 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003965/3.294, allocations: 90.27 kB / 1.042 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/3.295, allocations: 303.1 kB / 1.043 GB, free: 45.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/3.297, allocations: 1.643 MB / 1.044 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/3.299, allocations: 100.5 kB / 1.044 GB, free: 43.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/3.299, allocations: 70.16 kB / 1.044 GB, free: 43.84 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.0003526/3.299, allocations: 164.3 kB / 1.045 GB, free: 43.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/3.3, allocations: 107.5 kB / 1.045 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/3.304, allocations: 1.492 MB / 1.046 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/3.304, allocations: 7.25 kB / 1.046 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/3.304, allocations: 0 / 1.046 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/3.304, allocations: 12.84 kB / 1.046 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/3.308, allocations: 1.639 MB / 1.048 GB, free: 43.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/3.308, allocations: 5.078 kB / 1.048 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/3.309, allocations: 132.2 kB / 1.048 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/3.313, allocations: 0.5647 MB / 1.048 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/3.313, allocations: 22.89 kB / 1.048 GB, free: 43.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/3.314, allocations: 0.8043 MB / 1.049 GB, free: 42.67 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/3.314, allocations: 3.906 kB / 1.049 GB, free: 42.67 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/3.316, allocations: 0.9042 MB / 1.05 GB, free: 42.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006907/3.317, allocations: 306.8 kB / 1.05 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/3.317, allocations: 15.53 kB / 1.05 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008825/3.318, allocations: 70.88 kB / 1.05 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/3.318, allocations: 63.86 kB / 1.051 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.666e-05/3.318, allocations: 29.11 kB / 1.051 GB, free: 42.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001045/3.319, allocations: 0.5759 MB / 1.051 GB, free: 42.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.8e-07/3.319, allocations: 0 / 1.051 GB, free: 42.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004286/3.323, allocations: 1.031 MB / 1.052 GB, free: 42.03 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.002748/3.326, allocations: 0.8078 MB / 1.053 GB, free: 41.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003423/3.33, allocations: 1.281 MB / 1.054 GB, free: 41.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.94e-06/3.33, allocations: 0 / 1.054 GB, free: 41.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007895/3.33, allocations: 315.7 kB / 1.054 GB, free: 41.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/3.333, allocations: 422.2 kB / 1.055 GB, free: 41.79 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/3.337, allocations: 1.515 MB / 1.056 GB, free: 41.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005999/3.338, allocations: 1.099 MB / 1.057 GB, free: 40.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003377/3.341, allocations: 0.8368 MB / 1.058 GB, free: 40.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/3.342, allocations: 108.5 kB / 1.058 GB, free: 40.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/3.342, allocations: 3.938 kB / 1.058 GB, free: 40.6 MB / 442.7 MB Notification: Performance of Templates: time 0.05945/3.401, allocations: 26.73 MB / 1.084 GB, free: 39.83 MB / 442.7 MB