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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.275/2.275, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.404e-05, allocations: 7.938 kB / 323.4 MB, free: 4.293 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6049/0.9241, allocations: 219.2 MB / 0.5873 GB, free: 74.3 MB / 458.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.9243, allocations: 83.27 kB / 0.5874 GB, free: 74.26 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.179/3.104, allocations: 0.5134 GB / 1.101 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.457e-06/3.104, allocations: 0 / 1.101 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001082/3.104, allocations: 32 kB / 1.101 GB, free: 6.766 MB / 0.5105 GB 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.006327/3.11, allocations: 1.936 MB / 1.103 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/3.11, allocations: 8.031 kB / 1.103 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004834/3.115, allocations: 362.1 kB / 1.103 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/3.118, allocations: 0.8594 MB / 1.104 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-05/3.118, allocations: 65.94 kB / 1.104 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/3.118, allocations: 84 kB / 1.104 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003895/3.122, allocations: 1.134 MB / 1.105 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/3.122, allocations: 3.938 kB / 1.105 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/3.122, allocations: 40 kB / 1.105 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/3.122, allocations: 24 kB / 1.105 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/3.126, allocations: 0.8121 MB / 1.106 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.318/3.444, allocations: 5.412 MB / 1.111 GB, free: 74.88 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/3.446, allocations: 0.5281 MB / 1.112 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006933/3.447, allocations: 277.6 kB / 1.112 GB, free: 74.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006726/3.447, allocations: 0.9544 MB / 1.113 GB, free: 73.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/3.448, allocations: 44.56 kB / 1.113 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001002/3.449, allocations: 129.9 kB / 1.113 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=65): time 4.606e-06/3.449, allocations: 0.9062 kB / 1.113 GB, free: 73.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65): time 0.004618/3.453, allocations: 0.9279 MB / 1.114 GB, free: 73.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/3.453, allocations: 187.9 kB / 1.114 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/3.455, allocations: 0.8312 MB / 1.115 GB, free: 73.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/3.455, allocations: 37.58 kB / 1.115 GB, free: 73.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/3.456, allocations: 0.4959 MB / 1.116 GB, free: 73.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/3.456, allocations: 230.5 kB / 1.116 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/3.456, allocations: 16.97 kB / 1.116 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.104e-05/3.456, allocations: 337.7 kB / 1.116 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/3.457, allocations: 275 kB / 1.116 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008439/3.458, allocations: 473.7 kB / 1.117 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/3.459, allocations: 332.7 kB / 1.117 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.452e-06/3.459, allocations: 4.75 kB / 1.117 GB, free: 72.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002588/3.461, allocations: 0.9988 MB / 1.118 GB, free: 72.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003865/3.462, allocations: 1.846 MB / 1.12 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/3.462, allocations: 3.969 kB / 1.12 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009005/3.471, allocations: 0.7856 MB / 1.121 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/3.472, allocations: 254.4 kB / 1.121 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/3.473, allocations: 0.7828 MB / 1.122 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/3.475, allocations: 93.53 kB / 1.122 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/3.475, allocations: 69.3 kB / 1.122 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/3.475, allocations: 7.344 kB / 1.122 GB, free: 69.94 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002172/3.477, allocations: 0.8118 MB / 1.123 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/3.477, allocations: 7.891 kB / 1.123 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/3.477, allocations: 78.22 kB / 1.123 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/3.479, allocations: 268.9 kB / 1.123 GB, free: 69.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/3.481, allocations: 1.646 MB / 1.125 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/3.482, allocations: 82.64 kB / 1.125 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/3.482, allocations: 63.34 kB / 1.125 GB, free: 68.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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.0003287/3.482, allocations: 153.4 kB / 1.125 GB, free: 68.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/3.483, allocations: 128.1 kB / 1.125 GB, free: 68.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005384/3.488, allocations: 2.246 MB / 1.127 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/3.488, allocations: 8.344 kB / 1.127 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.803e-06/3.488, allocations: 3.312 kB / 1.127 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/3.488, allocations: 7.141 kB / 1.127 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/3.492, allocations: 1.842 MB / 1.129 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/3.492, allocations: 2.969 kB / 1.129 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006576/3.493, allocations: 148.6 kB / 1.129 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/3.497, allocations: 0.6015 MB / 1.13 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001583/3.498, allocations: 28.53 kB / 1.13 GB, free: 67.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/3.499, allocations: 0.8101 MB / 1.131 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/3.499, allocations: 3.938 kB / 1.131 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/3.501, allocations: 1.153 MB / 1.132 GB, free: 66.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000843/3.502, allocations: 347.8 kB / 1.132 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/3.502, allocations: 25.19 kB / 1.132 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/3.504, allocations: 84.91 kB / 1.132 GB, free: 66.47 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/3.504, allocations: 68.8 kB / 1.132 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/3.504, allocations: 44.56 kB / 1.132 GB, free: 66.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001203/3.505, allocations: 0.7049 MB / 1.133 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.62e-07/3.505, allocations: 0 / 1.133 GB, free: 66.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004016/3.509, allocations: 1.035 MB / 1.134 GB, free: 66.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.002875/3.512, allocations: 0.8496 MB / 1.135 GB, free: 66.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003099/3.515, allocations: 1.257 MB / 1.136 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.739e-06/3.515, allocations: 0 / 1.136 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/3.516, allocations: 347.9 kB / 1.136 GB, free: 66.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/3.519, allocations: 0.5076 MB / 1.137 GB, free: 66.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003234/3.523, allocations: 1.39 MB / 1.138 GB, free: 65.62 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/3.523, allocations: 1.107 MB / 1.139 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003337/3.527, allocations: 0.8615 MB / 1.14 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/3.527, allocations: 113.3 kB / 1.14 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of SimCode: time 1.673e-06/3.527, allocations: 0 / 1.14 GB, free: 64.85 MB / 0.5105 GB Notification: Performance of Templates: time 0.06347/3.591, allocations: 30.75 MB / 1.17 GB, free: 63.96 MB / 0.5105 GB