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 1.859/1.859, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.155e-05, allocations: 6.109 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08683, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.133/6.22, allocations: 2.497 GB / 2.811 GB, free: 63.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/6.22, allocations: 83.48 kB / 2.811 GB, free: 63.34 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.456/8.676, allocations: 0.5609 GB / 3.372 GB, free: 6.977 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.494e-06/8.676, allocations: 4 kB / 3.372 GB, free: 6.973 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000127/8.676, allocations: 39.91 kB / 3.372 GB, free: 6.938 MB / 458.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.01129/8.687, allocations: 2.466 MB / 3.375 GB, free: 4.441 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/8.687, allocations: 12.03 kB / 3.375 GB, free: 4.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009578/8.697, allocations: 0.815 MB / 3.375 GB, free: 3.617 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/8.7, allocations: 1.073 MB / 3.377 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/8.7, allocations: 98.23 kB / 3.377 GB, free: 2.426 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004177/8.701, allocations: 119.9 kB / 3.377 GB, free: 2.309 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007531/8.708, allocations: 2.141 MB / 3.379 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.325e-05/8.708, allocations: 7.891 kB / 3.379 GB, free: 24 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3314/9.04, allocations: 50.2 kB / 3.379 GB, free: 36.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/9.04, allocations: 28.91 kB / 3.379 GB, free: 36.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007651/9.047, allocations: 1.94 MB / 3.381 GB, free: 36.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/9.063, allocations: 8.878 MB / 3.389 GB, free: 31.38 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006381/9.069, allocations: 1.719 MB / 3.391 GB, free: 31.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/9.07, allocations: 0.4962 MB / 3.392 GB, free: 31.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1243/9.195, allocations: 49.44 MB / 3.44 GB, free: 18.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/9.195, allocations: 42.25 kB / 3.44 GB, free: 18.54 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001201/9.196, allocations: 144.6 kB / 3.44 GB, free: 18.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=106): time 6.74e-06/9.196, allocations: 2.078 kB / 3.44 GB, free: 18.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=106): time 0.009835/9.206, allocations: 2.379 MB / 3.442 GB, free: 18.36 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/9.206, allocations: 198.1 kB / 3.443 GB, free: 18.14 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/9.207, allocations: 0.7762 MB / 3.443 GB, free: 17.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/9.208, allocations: 53.83 kB / 3.443 GB, free: 17.94 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/9.208, allocations: 0.6091 MB / 3.444 GB, free: 17.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/9.209, allocations: 363.1 kB / 3.444 GB, free: 17.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/9.209, allocations: 27.81 kB / 3.444 GB, free: 17.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002174/9.209, allocations: 367.8 kB / 3.445 GB, free: 17.15 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/9.21, allocations: 442.3 kB / 3.445 GB, free: 17.15 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/9.211, allocations: 0.8602 MB / 3.446 GB, free: 16.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/9.213, allocations: 0.5471 MB / 3.447 GB, free: 16.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/9.213, allocations: 3.906 kB / 3.447 GB, free: 16.61 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003796/9.217, allocations: 1.537 MB / 3.448 GB, free: 16.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002896/9.219, allocations: 4.968 MB / 3.453 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.612e-05/9.22, allocations: 14.34 kB / 3.453 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009271/9.229, allocations: 1.083 MB / 3.454 GB, free: 27.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/9.231, allocations: 444.5 kB / 3.454 GB, free: 27.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001612/9.233, allocations: 0.9284 MB / 3.455 GB, free: 26.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/9.235, allocations: 165.6 kB / 3.455 GB, free: 26.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003273/9.236, allocations: 88.05 kB / 3.456 GB, free: 26.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/9.236, allocations: 6.656 kB / 3.456 GB, free: 26.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003477/9.239, allocations: 1.372 MB / 3.457 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/9.239, allocations: 13.09 kB / 3.457 GB, free: 26.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/9.24, allocations: 91.55 kB / 3.457 GB, free: 26.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002507/9.242, allocations: 476 kB / 3.457 GB, free: 26.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/9.245, allocations: 1.743 MB / 3.459 GB, free: 25.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/9.247, allocations: 181.7 kB / 3.459 GB, free: 25.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/9.247, allocations: 87.25 kB / 3.459 GB, free: 25.24 MB / 490.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.0004689/9.248, allocations: 200.2 kB / 3.46 GB, free: 25.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003796/9.248, allocations: 124.3 kB / 3.46 GB, free: 25.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009026/9.257, allocations: 6.415 MB / 3.466 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.294e-05/9.257, allocations: 84.83 kB / 3.466 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.654e-06/9.257, allocations: 3.422 kB / 3.466 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/9.257, allocations: 5.156 kB / 3.466 GB, free: 24.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/9.261, allocations: 2.889 MB / 3.469 GB, free: 24.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/9.261, allocations: 0.625 kB / 3.469 GB, free: 24.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/9.263, allocations: 282.7 kB / 3.469 GB, free: 24.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008366/9.271, allocations: 2.255 MB / 3.471 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002482/9.271, allocations: 42.84 kB / 3.471 GB, free: 24.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/9.274, allocations: 1.598 MB / 3.473 GB, free: 23.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.274, allocations: 7.516 kB / 3.473 GB, free: 23.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/9.279, allocations: 3.4 MB / 3.476 GB, free: 23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/9.28, allocations: 0.5924 MB / 3.477 GB, free: 22.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/9.28, allocations: 30.78 kB / 3.477 GB, free: 22.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/9.282, allocations: 140.1 kB / 3.477 GB, free: 22.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/9.282, allocations: 119.2 kB / 3.477 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/9.282, allocations: 48.53 kB / 3.477 GB, free: 22.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001396/9.284, allocations: 0.7467 MB / 3.478 GB, free: 22.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.75e-07/9.284, allocations: 0 / 3.478 GB, free: 22.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007433/9.291, allocations: 1.779 MB / 3.48 GB, free: 22.43 MB / 490.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,$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.00864/9.3, allocations: 1.892 MB / 3.481 GB, free: 22.11 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005778/9.306, allocations: 2.696 MB / 3.484 GB, free: 21.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.515e-06/9.306, allocations: 0 / 3.484 GB, free: 21.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/9.308, allocations: 1.499 MB / 3.486 GB, free: 21.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/9.312, allocations: 0.5881 MB / 3.486 GB, free: 21.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7237/10.04, allocations: 169.8 MB / 3.652 GB, free: 58.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/10.04, allocations: 1.701 MB / 3.654 GB, free: 57.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/10.04, allocations: 138 kB / 3.654 GB, free: 57.25 MB / 490.7 MB Notification: Performance of SimCode: time 3.094e-06/10.04, allocations: 0 / 3.654 GB, free: 57.25 MB / 490.7 MB Notification: Performance of Templates: time 0.08123/10.12, allocations: 54.67 MB / 3.707 GB, free: 29.47 MB / 490.7 MB