Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse,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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/2.986e-05, allocations: 0 / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3659, allocations: 48.69 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.111/0.477, allocations: 60.39 MB / 385.2 MB, free: 3.098 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04746/0.5245, allocations: 21.68 MB / 406.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002923/0.5275, allocations: 63.5 kB / 407 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003906/0.5314, allocations: 0.8282 MB / 407.8 MB, free: 12.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02027/0.5518, allocations: 4.486 MB / 412.3 MB, free: 7.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01786/0.5697, allocations: 4.24 MB / 416.5 MB, free: 3.746 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005352/0.5751, allocations: 1.66 MB / 418.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.5771, allocations: 0.7256 MB / 418.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003604/0.5807, allocations: 1.071 MB / 420 MB, free: 280 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03642/0.6172, allocations: 14.26 MB / 434.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02271/0.64, allocations: 7.371 MB / 441.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003887/0.6439, allocations: 464 kB / 442.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.645, allocations: 303 kB / 442.4 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.6461, allocations: 175.9 kB / 442.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01266/0.6587, allocations: 4.213 MB / 446.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6588, allocations: 4 kB / 446.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.097e-06/0.6588, allocations: 0 / 446.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.777e-05/0.6589, allocations: 0 / 446.8 MB, free: 5.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.01224/0.6712, allocations: 2.437 MB / 449.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.072e-05/0.6713, allocations: 12.03 kB / 449.2 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008894/0.6802, allocations: 0.7317 MB / 449.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.6829, allocations: 0.9353 MB / 450.9 MB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.6831, allocations: 98.23 kB / 451 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004533/0.6835, allocations: 120 kB / 451.1 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00935/0.6929, allocations: 2.167 MB / 453.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.693, allocations: 7.938 kB / 453.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.6933, allocations: 52 kB / 453.3 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.173e-05/0.6933, allocations: 28 kB / 453.3 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01029/0.7036, allocations: 2.193 MB / 455.5 MB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01849/0.7222, allocations: 8.904 MB / 464.4 MB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009854/0.7321, allocations: 1.951 MB / 466.4 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4851/1.217, allocations: 49.79 MB / 0.5041 GB, free: 110.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/1.217, allocations: 43.53 kB / 0.5041 GB, free: 110.7 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001149/1.218, allocations: 126.5 kB / 0.5042 GB, free: 110.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=106): time 5.831e-06/1.218, allocations: 0 / 0.5042 GB, free: 110.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.02341/1.242, allocations: 3.794 MB / 0.5079 GB, free: 108.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.29e-05/1.242, allocations: 196.2 kB / 0.5081 GB, free: 108.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/1.244, allocations: 0.7829 MB / 0.5089 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002788/1.244, allocations: 48.58 kB / 0.5089 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/1.244, allocations: 0.6208 MB / 0.5095 GB, free: 107.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/1.245, allocations: 365.8 kB / 0.5099 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/1.245, allocations: 29.75 kB / 0.5099 GB, free: 107.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/1.245, allocations: 366.8 kB / 0.5103 GB, free: 107 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/1.248, allocations: 0.6196 MB / 0.5109 GB, free: 106.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002827/1.25, allocations: 1.049 MB / 0.5119 GB, free: 105.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/1.253, allocations: 0.7207 MB / 0.5126 GB, free: 104.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/1.253, allocations: 4 kB / 0.5126 GB, free: 104.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007081/1.261, allocations: 1.935 MB / 0.5145 GB, free: 102.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001064/1.262, allocations: 4.972 MB / 0.5194 GB, free: 97.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/1.262, allocations: 12 kB / 0.5194 GB, free: 97.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01184/1.274, allocations: 1.091 MB / 0.5204 GB, free: 96.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/1.277, allocations: 443.4 kB / 0.5209 GB, free: 95.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/1.279, allocations: 0.9346 MB / 0.5218 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/1.281, allocations: 163.8 kB / 0.5219 GB, free: 94.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002685/1.281, allocations: 90.39 kB / 0.522 GB, free: 94.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.282, allocations: 4 kB / 0.522 GB, free: 94.65 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006803/1.288, allocations: 1.776 MB / 0.5238 GB, free: 92.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.288, allocations: 12 kB / 0.5238 GB, free: 92.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/1.289, allocations: 90.83 kB / 0.5238 GB, free: 92.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003339/1.292, allocations: 475.3 kB / 0.5243 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/1.295, allocations: 1.766 MB / 0.526 GB, free: 90.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002145/1.297, allocations: 175.7 kB / 0.5262 GB, free: 90.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.297, allocations: 87.95 kB / 0.5263 GB, free: 90.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 15 (SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase,V5.state_b.phase,V5.state_a.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 162 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008565/1.298, allocations: 306.4 kB / 0.5266 GB, free: 89.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/1.299, allocations: 126.5 kB / 0.5267 GB, free: 89.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.311, allocations: 6.738 MB / 0.5333 GB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.902e-05/1.311, allocations: 83.86 kB / 0.5334 GB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.311, allocations: 4 kB / 0.5334 GB, free: 82.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/1.311, allocations: 7.969 kB / 0.5334 GB, free: 82.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/1.316, allocations: 2.883 MB / 0.5362 GB, free: 79.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/1.316, allocations: 5.078 kB / 0.5362 GB, free: 79.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.318, allocations: 283.6 kB / 0.5365 GB, free: 79.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/1.328, allocations: 2.012 MB / 0.5384 GB, free: 77.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002904/1.328, allocations: 39.94 kB / 0.5385 GB, free: 77.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/1.33, allocations: 1.597 MB / 0.54 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.331, allocations: 0 / 0.54 GB, free: 76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008539/1.339, allocations: 3.74 MB / 0.5437 GB, free: 72.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.341, allocations: 0.5899 MB / 0.5442 GB, free: 71.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004726/1.341, allocations: 33.86 kB / 0.5443 GB, free: 71.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/1.343, allocations: 132.5 kB / 0.5444 GB, free: 71.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003462/1.343, allocations: 105.2 kB / 0.5445 GB, free: 71.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/1.344, allocations: 55.91 kB / 0.5446 GB, free: 71.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001405/1.345, allocations: 0.7616 MB / 0.5453 GB, free: 70.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.345, allocations: 0 / 0.5453 GB, free: 70.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00674/1.352, allocations: 1.662 MB / 0.5469 GB, free: 68.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 ($cse6.phase,$cse6.region,$cse10.phase,$cse10.region,$cse14.phase,$cse14.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse28.phase,$cse28.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse40.phase,$cse40.region,$cse45.phase,$cse45.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,SourceP1.medium.phase,SourceP2.medium.phase,SinkP1.medium.phase,SinkP2.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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 34} Notification: Performance of Backend phase and start with SimCode phase: time 0.007286/1.359, allocations: 1.357 MB / 0.5482 GB, free: 67.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01045/1.37, allocations: 3.279 MB / 0.5514 GB, free: 64.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.37, allocations: 0 / 0.5514 GB, free: 64.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003845/1.374, allocations: 1.652 MB / 0.5531 GB, free: 62.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005507/1.379, allocations: 0.5839 MB / 0.5536 GB, free: 62.31 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.391, allocations: 6.17 MB / 0.5597 GB, free: 56.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/1.392, allocations: 1.71 MB / 0.5613 GB, free: 54.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/1.393, allocations: 139.4 kB / 0.5615 GB, free: 54.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/1.393, allocations: 0 / 0.5615 GB, free: 54.36 MB / 410.7 MB Notification: Performance of Templates: time 0.09952/1.493, allocations: 52.31 MB / 0.6125 GB, free: 2.02 MB / 410.7 MB