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.148/2.148, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.013e-05/3.064e-05, allocations: 4 kB / 304.9 MB, free: 5.648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3212, allocations: 54.86 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.142/6.463, allocations: 2.608 GB / 2.959 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/6.464, allocations: 85.97 kB / 2.959 GB, free: 101.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.613/9.077, allocations: 0.5731 GB / 3.532 GB, free: 40.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.756e-06/9.077, allocations: 0 / 3.532 GB, free: 40.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001346/9.077, allocations: 41.36 kB / 3.532 GB, free: 40.95 MB / 0.4948 GB 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.01079/9.088, allocations: 2.543 MB / 3.535 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/9.088, allocations: 9.719 kB / 3.535 GB, free: 39.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00906/9.097, allocations: 0.8662 MB / 3.536 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/9.1, allocations: 1.076 MB / 3.537 GB, free: 39.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/9.1, allocations: 106.3 kB / 3.537 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/9.1, allocations: 117.8 kB / 3.537 GB, free: 39.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006977/9.107, allocations: 2.142 MB / 3.539 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.095e-05/9.107, allocations: 2.438 kB / 3.539 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001971/9.108, allocations: 54.78 kB / 3.539 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/9.108, allocations: 31.88 kB / 3.539 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006887/9.115, allocations: 1.942 MB / 3.541 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01327/9.128, allocations: 8.882 MB / 3.55 GB, free: 33.95 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005742/9.134, allocations: 1.716 MB / 3.551 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/9.135, allocations: 0.4993 MB / 3.552 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1199/9.255, allocations: 49.45 MB / 3.6 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/9.255, allocations: 50.69 kB / 3.6 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00109/9.256, allocations: 149.3 kB / 3.6 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=106): time 4.641e-06/9.256, allocations: 0 / 3.6 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=106): time 0.009442/9.265, allocations: 2.377 MB / 3.603 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/9.265, allocations: 194.1 kB / 3.603 GB, free: 20.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/9.267, allocations: 0.7814 MB / 3.603 GB, free: 20.36 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000232/9.267, allocations: 44.42 kB / 3.603 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/9.267, allocations: 0.6163 MB / 3.604 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/9.268, allocations: 369.3 kB / 3.604 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/9.268, allocations: 31.25 kB / 3.604 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001989/9.268, allocations: 364.2 kB / 3.605 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/9.269, allocations: 439.6 kB / 3.605 GB, free: 19.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/9.271, allocations: 0.8643 MB / 3.606 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/9.272, allocations: 0.5458 MB / 3.607 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/9.272, allocations: 3.344 kB / 3.607 GB, free: 18.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003682/9.275, allocations: 1.529 MB / 3.608 GB, free: 18.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002904/9.278, allocations: 4.978 MB / 3.613 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-05/9.278, allocations: 10.22 kB / 3.613 GB, free: 29.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008557/9.287, allocations: 1.085 MB / 3.614 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/9.289, allocations: 441.6 kB / 3.614 GB, free: 29.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/9.291, allocations: 0.9225 MB / 3.615 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/9.293, allocations: 170.8 kB / 3.616 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/9.293, allocations: 88.97 kB / 3.616 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/9.293, allocations: 4.688 kB / 3.616 GB, free: 28.96 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003471/9.296, allocations: 1.371 MB / 3.617 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/9.297, allocations: 15.78 kB / 3.617 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/9.297, allocations: 90.59 kB / 3.617 GB, free: 28.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/9.299, allocations: 470.1 kB / 3.618 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/9.302, allocations: 1.752 MB / 3.619 GB, free: 27.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/9.304, allocations: 167.6 kB / 3.619 GB, free: 27.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/9.304, allocations: 88.56 kB / 3.619 GB, free: 27.49 MB / 0.5261 GB 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.0005345/9.305, allocations: 204.8 kB / 3.62 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/9.305, allocations: 126.1 kB / 3.62 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008736/9.314, allocations: 6.412 MB / 3.626 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/9.314, allocations: 85.55 kB / 3.626 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.49e-06/9.314, allocations: 3.938 kB / 3.626 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/9.314, allocations: 7.547 kB / 3.626 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/9.318, allocations: 2.88 MB / 3.629 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/9.318, allocations: 7.797 kB / 3.629 GB, free: 26.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/9.319, allocations: 281.4 kB / 3.629 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00833/9.328, allocations: 2.258 MB / 3.631 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/9.328, allocations: 37.89 kB / 3.631 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/9.33, allocations: 1.599 MB / 3.633 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.417e-06/9.33, allocations: 0 / 3.633 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/9.335, allocations: 3.401 MB / 3.636 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009654/9.336, allocations: 0.6064 MB / 3.637 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/9.336, allocations: 24.72 kB / 3.637 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/9.338, allocations: 139.4 kB / 3.637 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002145/9.338, allocations: 109.3 kB / 3.637 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/9.338, allocations: 44.83 kB / 3.637 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001269/9.339, allocations: 0.7489 MB / 3.638 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.98e-07/9.339, allocations: 0 / 3.638 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006843/9.346, allocations: 1.792 MB / 3.64 GB, free: 24.46 MB / 0.5261 GB 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,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse46.phase,$cse46.region,$cse47.phase,$cse47.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.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.01299/9.359, allocations: 1.902 MB / 3.642 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005734/9.365, allocations: 2.684 MB / 3.644 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.133e-06/9.365, allocations: 0 / 3.644 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/9.368, allocations: 1.499 MB / 3.646 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/9.372, allocations: 0.5865 MB / 3.646 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.685/10.06, allocations: 172.2 MB / 3.814 GB, free: 60.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001173/10.06, allocations: 1.705 MB / 3.816 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006093/10.06, allocations: 139.2 kB / 3.816 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.942e-06/10.06, allocations: 1.125 kB / 3.816 GB, free: 59.65 MB / 0.5261 GB Notification: Performance of Templates: time 0.07918/10.14, allocations: 54.84 MB / 3.87 GB, free: 37.85 MB / 0.5261 GB