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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.856e-05, allocations: 7.938 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 54.86 MB / 362.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.06368/0.442, allocations: 31.9 MB / 394.8 MB, free: 13.78 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02945/0.4715, allocations: 9.528 MB / 404.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002131/0.4737, allocations: 63.5 kB / 404.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002832/0.4766, allocations: 0.5947 MB / 404.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.4873, allocations: 2.859 MB / 407.8 MB, free: 0.707 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01144/0.4988, allocations: 3.175 MB / 411 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003728/0.5025, allocations: 1.353 MB / 412.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.5041, allocations: 0.6514 MB / 413 MB, free: 11.53 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01008/0.5142, allocations: 4.076 MB / 417.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005642/0.5199, allocations: 2.317 MB / 419.4 MB, free: 5.129 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008776/0.5288, allocations: 3.082 MB / 422.5 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009498/0.5298, allocations: 120 kB / 422.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004684/0.5303, allocations: 251.1 kB / 422.8 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005935/0.5309, allocations: 128 kB / 422.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004882/0.5358, allocations: 1.808 MB / 424.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5358, allocations: 0 / 424.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5358, allocations: 0 / 424.8 MB, free: 15.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.177e-05/0.5359, allocations: 4 kB / 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.004826/0.5407, allocations: 1.462 MB / 426.2 MB, free: 14.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.5408, allocations: 15.91 kB / 426.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00383/0.5446, allocations: 314.1 kB / 426.5 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.547, allocations: 0.7795 MB / 427.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.83e-05/0.5471, allocations: 58 kB / 427.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.5474, allocations: 88 kB / 427.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005128/0.5525, allocations: 1.224 MB / 428.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.864e-05/0.5526, allocations: 3.938 kB / 428.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.5528, allocations: 40 kB / 428.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.5529, allocations: 20 kB / 428.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005519/0.5584, allocations: 1.03 MB / 429.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.5708, allocations: 6.24 MB / 436 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.5742, allocations: 0.6426 MB / 436.7 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/0.575, allocations: 0.7563 MB / 437.4 MB, free: 2.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.5751, allocations: 42.94 kB / 437.5 MB, free: 2.129 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008116/0.5759, allocations: 95.17 kB / 437.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.489e-06/0.5759, allocations: 0 / 437.6 MB, free: 2.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.01086/0.5868, allocations: 1.523 MB / 439.1 MB, free: 496 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.587, allocations: 184.4 kB / 439.3 MB, free: 268 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.5887, allocations: 0.7646 MB / 440 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.5889, allocations: 29.7 kB / 440.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.5896, allocations: 0.6093 MB / 440.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.5899, allocations: 177.6 kB / 440.8 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.59, allocations: 16 kB / 440.9 MB, free: 14.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5902, allocations: 350.8 kB / 441.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.5917, allocations: 357.8 kB / 441.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.5936, allocations: 0.7045 MB / 442.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.5954, allocations: 457.8 kB / 442.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.5955, allocations: 4 kB / 442.7 MB, free: 12.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004605/0.6001, allocations: 1.225 MB / 443.9 MB, free: 11.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00177/0.6019, allocations: 4.178 MB / 448.1 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-05/0.602, allocations: 12 kB / 448.1 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009814/0.6118, allocations: 0.7616 MB / 448.9 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.6139, allocations: 299.6 kB / 449.2 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.6155, allocations: 0.7863 MB / 450 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/0.6174, allocations: 99.83 kB / 450.1 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003213/0.6177, allocations: 99.95 kB / 450.2 MB, free: 4.797 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6178, allocations: 4 kB / 450.2 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004458/0.6222, allocations: 1.123 MB / 451.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-05/0.6223, allocations: 16.12 kB / 451.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.6228, allocations: 84.8 kB / 451.4 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.6249, allocations: 311.6 kB / 451.7 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.6275, allocations: 1.651 MB / 453.3 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.6289, allocations: 95.84 kB / 453.4 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.6292, allocations: 87.97 kB / 453.5 MB, free: 1.293 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.0008035/0.63, allocations: 253.5 kB / 453.8 MB, free: 1.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/0.6304, allocations: 110.7 kB / 453.9 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006057/0.6365, allocations: 1.317 MB / 455.2 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.6365, allocations: 11.94 kB / 455.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6365, allocations: 0 / 455.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.6366, allocations: 7.984 kB / 455.2 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.642, allocations: 1.825 MB / 457 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.642, allocations: 4 kB / 457 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008764/0.6429, allocations: 128 kB / 457.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004973/0.6479, allocations: 0.5728 MB / 457.7 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.6481, allocations: 35.91 kB / 457.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.6494, allocations: 0.8254 MB / 458.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6494, allocations: 0 / 458.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.6528, allocations: 1.062 MB / 459.7 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/0.6535, allocations: 299.4 kB / 459.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/0.6539, allocations: 12 kB / 460 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.655, allocations: 75.84 kB / 460 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6551, allocations: 44.5 kB / 460.1 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6553, allocations: 35.98 kB / 460.1 MB, free: 10.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001261/0.6565, allocations: 0.6052 MB / 460.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6566, allocations: 0 / 460.7 MB, free: 9.898 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003621/0.6602, allocations: 0.8387 MB / 461.6 MB, free: 9.059 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.002136/0.6624, allocations: 0.5997 MB / 462.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005838/0.6682, allocations: 1.574 MB / 463.7 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.6683, allocations: 0 / 463.7 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.6699, allocations: 395.7 kB / 464.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/0.6736, allocations: 440 kB / 464.5 MB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.6794, allocations: 2.232 MB / 466.8 MB, free: 3.781 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.6803, allocations: 1.102 MB / 467.9 MB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009158/0.6812, allocations: 147.3 kB / 468 MB, free: 2.504 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.6812, allocations: 0 / 468 MB, free: 2.504 MB / 394.7 MB Notification: Performance of Templates: time 0.07166/0.7529, allocations: 25.63 MB / 493.7 MB, free: 8.875 MB / 426.7 MB