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.2_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.265e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse): time 0.1081/0.4865, allocations: 60.84 MB / 423.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04701/0.5335, allocations: 21.87 MB / 445.6 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.536, allocations: 63.5 kB / 445.6 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003544/0.5396, allocations: 0.8243 MB / 446.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01863/0.5583, allocations: 4.552 MB / 451 MB, free: 5.484 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01744/0.5758, allocations: 4.297 MB / 455.3 MB, free: 1.188 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004719/0.5805, allocations: 1.683 MB / 457 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.5823, allocations: 0.7256 MB / 457.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003554/0.5859, allocations: 1.083 MB / 458.8 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03637/0.6223, allocations: 14.42 MB / 473.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.023/0.6454, allocations: 7.531 MB / 480.8 MB, free: 7.719 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003534/0.649, allocations: 480 kB / 481.2 MB, free: 7.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.6499, allocations: 310.9 kB / 481.5 MB, free: 6.945 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007568/0.6507, allocations: 168 kB / 481.7 MB, free: 6.781 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01224/0.663, allocations: 4.28 MB / 486 MB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.663, allocations: 0 / 486 MB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.546e-06/0.663, allocations: 0 / 486 MB, free: 2.492 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.201e-05/0.6631, allocations: 0 / 486 MB, free: 2.492 MB / 410.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.01239/0.6755, allocations: 2.515 MB / 488.5 MB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.6756, allocations: 12.03 kB / 488.5 MB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009066/0.6847, allocations: 0.7708 MB / 489.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/0.6875, allocations: 0.9468 MB / 490.2 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.6878, allocations: 106.2 kB / 490.3 MB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.6882, allocations: 116 kB / 490.4 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009359/0.6976, allocations: 2.163 MB / 492.6 MB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.6977, allocations: 7.938 kB / 492.6 MB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.6979, allocations: 48 kB / 492.6 MB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.698, allocations: 32 kB / 492.7 MB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.7086, allocations: 2.189 MB / 494.9 MB, free: 9.363 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3255/1.034, allocations: 8.899 MB / 0.492 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.045, allocations: 1.951 MB / 0.4939 GB, free: 124.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1706/1.215, allocations: 49.82 MB / 0.5425 GB, free: 78.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.215, allocations: 45.72 kB / 0.5426 GB, free: 78.57 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001026/1.216, allocations: 125.9 kB / 0.5427 GB, free: 78.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 5.03e-06/1.216, allocations: 0 / 0.5427 GB, free: 78.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.02209/1.239, allocations: 3.799 MB / 0.5464 GB, free: 74.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/1.239, allocations: 200.8 kB / 0.5466 GB, free: 74.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/1.24, allocations: 0.7767 MB / 0.5473 GB, free: 73.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002594/1.24, allocations: 49.7 kB / 0.5474 GB, free: 73.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004321/1.241, allocations: 0.6169 MB / 0.548 GB, free: 73.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/1.241, allocations: 362.7 kB / 0.5483 GB, free: 72.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/1.241, allocations: 32 kB / 0.5484 GB, free: 72.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/1.241, allocations: 366.6 kB / 0.5487 GB, free: 72.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002527/1.244, allocations: 0.6207 MB / 0.5493 GB, free: 71.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002809/1.247, allocations: 1.046 MB / 0.5503 GB, free: 70.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/1.25, allocations: 0.7233 MB / 0.5511 GB, free: 69.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/1.25, allocations: 5.688 kB / 0.5511 GB, free: 69.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.006973/1.257, allocations: 1.938 MB / 0.5529 GB, free: 67.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00103/1.258, allocations: 4.965 MB / 0.5578 GB, free: 62.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/1.258, allocations: 12 kB / 0.5578 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0116/1.27, allocations: 1.092 MB / 0.5589 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/1.273, allocations: 439.4 kB / 0.5593 GB, free: 60.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/1.274, allocations: 0.9424 MB / 0.5602 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/1.277, allocations: 164.7 kB / 0.5604 GB, free: 59.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003731/1.278, allocations: 91.94 kB / 0.5605 GB, free: 59.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.278, allocations: 4 kB / 0.5605 GB, free: 59.69 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006661/1.284, allocations: 1.77 MB / 0.5622 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.284, allocations: 12.97 kB / 0.5622 GB, free: 57.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004665/1.285, allocations: 98.11 kB / 0.5623 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00323/1.288, allocations: 471.3 kB / 0.5627 GB, free: 57.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.291, allocations: 1.764 MB / 0.5645 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002114/1.293, allocations: 167.8 kB / 0.5646 GB, free: 55.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003249/1.293, allocations: 87.95 kB / 0.5647 GB, free: 55.2 MB / 426.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.0009472/1.294, allocations: 316.7 kB / 0.565 GB, free: 54.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/1.294, allocations: 128.8 kB / 0.5651 GB, free: 54.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.307, allocations: 6.731 MB / 0.5717 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/1.307, allocations: 87.81 kB / 0.5718 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.307, allocations: 3.688 kB / 0.5718 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/1.307, allocations: 11.97 kB / 0.5718 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004269/1.312, allocations: 2.878 MB / 0.5746 GB, free: 45.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.698e-05/1.312, allocations: 3.938 kB / 0.5746 GB, free: 45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001896/1.314, allocations: 287.5 kB / 0.5749 GB, free: 44.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009841/1.323, allocations: 2.013 MB / 0.5769 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002696/1.324, allocations: 43.98 kB / 0.5769 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/1.326, allocations: 1.597 MB / 0.5785 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.326, allocations: 0 / 0.5785 GB, free: 41.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/1.334, allocations: 3.735 MB / 0.5821 GB, free: 37.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.335, allocations: 0.5976 MB / 0.5827 GB, free: 36.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.336, allocations: 28 kB / 0.5827 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.337, allocations: 131.8 kB / 0.5828 GB, free: 36.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002908/1.338, allocations: 109.1 kB / 0.583 GB, free: 36.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/1.338, allocations: 51.98 kB / 0.583 GB, free: 36.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001321/1.339, allocations: 0.7654 MB / 0.5838 GB, free: 35.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.8e-07/1.339, allocations: 0 / 0.5838 GB, free: 35.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006191/1.345, allocations: 1.666 MB / 0.5854 GB, free: 34 MB / 426.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.007183/1.353, allocations: 1.346 MB / 0.5867 GB, free: 32.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009966/1.363, allocations: 3.273 MB / 0.5899 GB, free: 29.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.363, allocations: 0 / 0.5899 GB, free: 29.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003635/1.366, allocations: 1.655 MB / 0.5915 GB, free: 27.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005349/1.372, allocations: 0.5956 MB / 0.5921 GB, free: 27.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/1.383, allocations: 6.18 MB / 0.5981 GB, free: 21.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.384, allocations: 1.699 MB / 0.5998 GB, free: 19.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007027/1.385, allocations: 143.4 kB / 0.5999 GB, free: 19.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.492e-06/1.385, allocations: 0 / 0.5999 GB, free: 19.39 MB / 426.7 MB Notification: Performance of Templates: time 0.1122/1.497, allocations: 52.46 MB / 0.6512 GB, free: 14.89 MB / 474.7 MB