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 2.132/2.132, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.974e-05, allocations: 0 / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4042, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.06054/0.4648, allocations: 31.87 MB / 356.8 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02361/0.4885, allocations: 9.544 MB / 366.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002213/0.4908, allocations: 71.06 kB / 366.4 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.4934, allocations: 0.5842 MB / 367 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.5042, allocations: 2.872 MB / 369.8 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01178/0.516, allocations: 3.163 MB / 373 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.52, allocations: 1.345 MB / 374.3 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001481/0.5216, allocations: 0.6592 MB / 375 MB, free: 13.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00942/0.531, allocations: 3.811 MB / 378.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005261/0.5363, allocations: 2.192 MB / 381 MB, free: 7.262 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008473/0.5448, allocations: 2.942 MB / 383.9 MB, free: 4.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009428/0.5458, allocations: 120 kB / 384.1 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.5463, allocations: 251.1 kB / 384.3 MB, free: 3.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000598/0.5469, allocations: 128 kB / 384.4 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005032/0.5519, allocations: 1.808 MB / 386.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.552, allocations: 0 / 386.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.552, allocations: 0 / 386.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.72e-05/0.552, allocations: 0 / 386.2 MB, free: 2.02 MB / 314.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.004544/0.5566, allocations: 1.474 MB / 387.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5566, allocations: 11.97 kB / 387.7 MB, free: 492 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003586/0.5602, allocations: 310.1 kB / 388 MB, free: 180 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002004/0.5622, allocations: 0.7795 MB / 388.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/0.5623, allocations: 62 kB / 388.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5626, allocations: 84 kB / 388.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004692/0.5673, allocations: 1.22 MB / 390.2 MB, free: 13.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.5673, allocations: 7.984 kB / 390.2 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.5675, allocations: 36 kB / 390.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.5676, allocations: 23.94 kB / 390.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.5723, allocations: 1.034 MB / 391.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.5836, allocations: 6.244 MB / 397.5 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.5867, allocations: 0.6335 MB / 398.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000742/0.5875, allocations: 0.7563 MB / 398.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.5876, allocations: 38.94 kB / 398.9 MB, free: 4.41 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007022/0.5883, allocations: 91.25 kB / 399 MB, free: 4.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.5883, allocations: 0 / 399 MB, free: 4.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.01013/0.5984, allocations: 1.534 MB / 400.6 MB, free: 2.754 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.5986, allocations: 184.4 kB / 400.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.6001, allocations: 0.7607 MB / 401.5 MB, free: 1.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.6003, allocations: 33.7 kB / 401.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/0.6009, allocations: 0.603 MB / 402.1 MB, free: 1.102 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.6011, allocations: 173.6 kB / 402.3 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.6013, allocations: 20 kB / 402.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.6014, allocations: 345.9 kB / 402.7 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.6028, allocations: 353.8 kB / 403 MB, free: 228 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.6046, allocations: 0.7007 MB / 403.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6062, allocations: 449.8 kB / 404.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.6062, allocations: 4 kB / 404.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004357/0.6106, allocations: 1.291 MB / 405.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001892/0.6125, allocations: 4.186 MB / 409.6 MB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.165e-05/0.6125, allocations: 12 kB / 409.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009436/0.622, allocations: 0.7615 MB / 410.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.624, allocations: 299.5 kB / 410.7 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.6254, allocations: 0.798 MB / 411.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.6271, allocations: 96.02 kB / 411.6 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.6274, allocations: 99.95 kB / 411.7 MB, free: 7.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.6274, allocations: 4 kB / 411.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004019/0.6315, allocations: 1.119 MB / 412.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.116e-05/0.6315, allocations: 12.66 kB / 412.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000516/0.632, allocations: 88.75 kB / 412.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.634, allocations: 315.5 kB / 413.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.6364, allocations: 1.658 MB / 414.9 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.6378, allocations: 83.92 kB / 415 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.6381, allocations: 91.95 kB / 415 MB, free: 3.523 MB / 346.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.0006783/0.6388, allocations: 257.4 kB / 415.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.639, allocations: 102.8 kB / 415.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005717/0.6448, allocations: 1.324 MB / 416.7 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.6448, allocations: 11.94 kB / 416.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6448, allocations: 0 / 416.7 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6448, allocations: 7.984 kB / 416.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.65, allocations: 1.84 MB / 418.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.6501, allocations: 0 / 418.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008602/0.651, allocations: 135.9 kB / 418.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004891/0.6559, allocations: 0.5705 MB / 419.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.396e-05/0.656, allocations: 19.98 kB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.6573, allocations: 0.8167 MB / 420.1 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.6573, allocations: 11.89 kB / 420.1 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.6606, allocations: 1.063 MB / 421.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006875/0.6613, allocations: 299.4 kB / 421.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/0.6616, allocations: 12 kB / 421.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6627, allocations: 71.88 kB / 421.6 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.6628, allocations: 52.45 kB / 421.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.663, allocations: 35.98 kB / 421.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.6643, allocations: 0.6052 MB / 422.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6643, allocations: 0 / 422.3 MB, free: 12.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003638/0.6679, allocations: 0.8425 MB / 423.1 MB, free: 11.25 MB / 362.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 (47): * Single equations (assignments): 46 * 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.002189/0.6701, allocations: 0.6013 MB / 423.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005571/0.6757, allocations: 1.607 MB / 425.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.6758, allocations: 0 / 425.3 MB, free: 9.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.6773, allocations: 399.4 kB / 425.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/0.6809, allocations: 432.2 kB / 426.1 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005329/0.6862, allocations: 2.207 MB / 428.3 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/0.6872, allocations: 1.096 MB / 429.4 MB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.003407/0.6906, allocations: 495.7 kB / 429.9 MB, free: 4.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.6912, allocations: 115.4 kB / 430 MB, free: 4.246 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6912, allocations: 7.938 kB / 430 MB, free: 4.238 MB / 362.7 MB Notification: Performance of Templates: time 0.0709/0.7621, allocations: 25.55 MB / 455.6 MB, free: 10.75 MB / 394.7 MB