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.403/2.403, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.382e-05, allocations: 8 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4268, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.06105/0.4879, allocations: 31.9 MB / 394.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02388/0.5118, allocations: 9.531 MB / 404.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002049/0.514, allocations: 67.5 kB / 404.4 MB, free: 4.168 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.5167, allocations: 0.5908 MB / 405 MB, free: 3.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01117/0.528, allocations: 2.867 MB / 407.8 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01265/0.5407, allocations: 3.166 MB / 411 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003725/0.5444, allocations: 1.345 MB / 412.3 MB, free: 12.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.546, allocations: 0.6631 MB / 413 MB, free: 11.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.5566, allocations: 4.084 MB / 417.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006031/0.5627, allocations: 2.317 MB / 419.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009678/0.5725, allocations: 3.078 MB / 422.5 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.5735, allocations: 124 kB / 422.6 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.5741, allocations: 251.1 kB / 422.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.5747, allocations: 128 kB / 423 MB, free: 1.543 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005679/0.5804, allocations: 1.804 MB / 424.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5805, allocations: 3.938 kB / 424.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.5805, allocations: 0 / 424.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.125e-05/0.5806, allocations: 0 / 424.8 MB, free: 15.73 MB / 362.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.005376/0.5859, allocations: 1.462 MB / 426.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.586, allocations: 8.031 kB / 426.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003933/0.59, allocations: 314 kB / 426.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.5922, allocations: 0.7834 MB / 427.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.94e-05/0.5924, allocations: 62 kB / 427.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.5926, allocations: 76 kB / 427.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005185/0.5978, allocations: 1.229 MB / 428.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.5979, allocations: 3.938 kB / 428.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.5981, allocations: 44 kB / 428.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.359e-05/0.5981, allocations: 20 kB / 428.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005166/0.6033, allocations: 1.03 MB / 429.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.6159, allocations: 6.24 MB / 436.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003351/0.6194, allocations: 0.6335 MB / 436.7 MB, free: 3.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/0.6203, allocations: 0.7601 MB / 437.4 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.6203, allocations: 35.11 kB / 437.5 MB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008561/0.6212, allocations: 103.1 kB / 437.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.697e-06/0.6212, allocations: 0 / 437.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.01085/0.6321, allocations: 1.519 MB / 439.1 MB, free: 500 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.6323, allocations: 188.4 kB / 439.3 MB, free: 268 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.6341, allocations: 0.7607 MB / 440 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002044/0.6344, allocations: 33.7 kB / 440.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006898/0.6351, allocations: 0.603 MB / 440.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.6354, allocations: 169.6 kB / 440.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.6355, allocations: 20 kB / 440.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.6357, allocations: 353.9 kB / 441.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.6373, allocations: 353.8 kB / 441.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.6392, allocations: 0.7045 MB / 442.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.641, allocations: 445.9 kB / 442.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.6411, allocations: 4 kB / 442.7 MB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004901/0.646, allocations: 1.287 MB / 444 MB, free: 11.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002349/0.6484, allocations: 4.189 MB / 448.2 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/0.6485, allocations: 15.94 kB / 448.2 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009753/0.6583, allocations: 0.7538 MB / 448.9 MB, free: 6.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001997/0.6603, allocations: 307.5 kB / 449.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.6618, allocations: 0.7826 MB / 450 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.6637, allocations: 95.83 kB / 450.1 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.664, allocations: 103.9 kB / 450.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.664, allocations: 4.938 kB / 450.2 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004285/0.6683, allocations: 1.126 MB / 451.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.081e-05/0.6684, allocations: 12 kB / 451.4 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000548/0.669, allocations: 85.45 kB / 451.5 MB, free: 3.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.671, allocations: 315.6 kB / 451.8 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.6738, allocations: 1.662 MB / 453.4 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.6754, allocations: 87.95 kB / 453.5 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.6757, allocations: 91.95 kB / 453.6 MB, free: 1.23 MB / 378.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.0008023/0.6765, allocations: 253.5 kB / 453.8 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.6768, allocations: 106.6 kB / 453.9 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005948/0.6828, allocations: 1.325 MB / 455.3 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.6829, allocations: 8 kB / 455.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6829, allocations: 3.938 kB / 455.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.6829, allocations: 3.984 kB / 455.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005726/0.6886, allocations: 1.832 MB / 457.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.6887, allocations: 4 kB / 457.1 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/0.6896, allocations: 128 kB / 457.3 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005028/0.6946, allocations: 0.5691 MB / 457.8 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.6949, allocations: 23.98 kB / 457.8 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.6963, allocations: 0.8333 MB / 458.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.6963, allocations: 4 kB / 458.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003399/0.6997, allocations: 1.059 MB / 459.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007244/0.7005, allocations: 307.3 kB / 460 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.7008, allocations: 12 kB / 460.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7019, allocations: 63.95 kB / 460.1 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.7021, allocations: 52.48 kB / 460.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.7022, allocations: 35.98 kB / 460.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001322/0.7035, allocations: 0.6052 MB / 460.8 MB, free: 9.832 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7035, allocations: 0 / 460.8 MB, free: 9.832 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00373/0.7073, allocations: 0.8426 MB / 461.6 MB, free: 8.988 MB / 394.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.002203/0.7095, allocations: 0.5951 MB / 462.2 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005857/0.7154, allocations: 1.603 MB / 463.8 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.7155, allocations: 4 kB / 463.9 MB, free: 6.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.7171, allocations: 399.1 kB / 464.2 MB, free: 6.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003802/0.721, allocations: 431.1 kB / 464.7 MB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005802/0.7268, allocations: 2.218 MB / 466.9 MB, free: 3.707 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009179/0.7278, allocations: 1.107 MB / 468 MB, free: 2.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00361/0.7314, allocations: 495.7 kB / 468.5 MB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006515/0.7321, allocations: 115.4 kB / 468.6 MB, free: 1.969 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.7321, allocations: 0 / 468.6 MB, free: 1.969 MB / 394.7 MB Notification: Performance of Templates: time 0.0715/0.8036, allocations: 25.54 MB / 494.1 MB, free: 8.449 MB / 426.7 MB