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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValvesCompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.251/2.251, allocations: 249.5 MB / 261.6 MB, free: 2.148 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.162e-05/3.167e-05, allocations: 4 kB / 323.4 MB, free: 4.301 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.747/7.069, allocations: 2.772 GB / 3.145 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/7.07, allocations: 87.48 kB / 3.146 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.772/9.842, allocations: 0.5774 GB / 3.723 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.172e-06/9.842, allocations: 0 / 3.723 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001282/9.842, allocations: 40.14 kB / 3.723 GB, free: 48.17 MB / 0.5261 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.01076/9.853, allocations: 2.555 MB / 3.726 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/9.853, allocations: 9.062 kB / 3.726 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009389/9.862, allocations: 0.8669 MB / 3.726 GB, free: 47.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002716/9.865, allocations: 1.039 MB / 3.727 GB, free: 46.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/9.865, allocations: 98.02 kB / 3.727 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/9.865, allocations: 120.3 kB / 3.728 GB, free: 46.86 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/9.872, allocations: 2.142 MB / 3.73 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.133e-05/9.872, allocations: 8.828 kB / 3.73 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/9.872, allocations: 58.66 kB / 3.73 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/9.872, allocations: 28.75 kB / 3.73 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007123/9.879, allocations: 1.95 MB / 3.732 GB, free: 46.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/9.895, allocations: 8.714 MB / 3.74 GB, free: 41.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006696/9.902, allocations: 1.888 MB / 3.742 GB, free: 41.21 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/9.903, allocations: 0.5325 MB / 3.743 GB, free: 41.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05347/9.956, allocations: 24.01 MB / 3.766 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/9.956, allocations: 46.84 kB / 3.766 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001352/9.958, allocations: 161.9 kB / 3.766 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=108): time 5.558e-06/9.958, allocations: 2.031 kB / 3.766 GB, free: 26.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=108): time 0.01059/9.968, allocations: 2.467 MB / 3.769 GB, free: 26.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/9.969, allocations: 192.9 kB / 3.769 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/9.97, allocations: 0.8979 MB / 3.77 GB, free: 26 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/9.97, allocations: 47.11 kB / 3.77 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/9.971, allocations: 0.5648 MB / 3.77 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/9.971, allocations: 372.4 kB / 3.771 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/9.971, allocations: 25.66 kB / 3.771 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001002/9.971, allocations: 355.8 kB / 3.771 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/9.973, allocations: 463.5 kB / 3.771 GB, free: 25.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/9.974, allocations: 0.7678 MB / 3.772 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/9.975, allocations: 0.5264 MB / 3.773 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/9.975, allocations: 3.719 kB / 3.773 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004/9.979, allocations: 1.545 MB / 3.774 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001613/9.981, allocations: 3.149 MB / 3.777 GB, free: 37.39 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/9.981, allocations: 8.312 kB / 3.777 GB, free: 37.39 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009101/9.99, allocations: 1.167 MB / 3.778 GB, free: 37.34 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/9.992, allocations: 419.8 kB / 3.779 GB, free: 37.34 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/9.994, allocations: 0.9305 MB / 3.78 GB, free: 36.81 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/9.996, allocations: 179.8 kB / 3.78 GB, free: 36.79 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/9.996, allocations: 80.61 kB / 3.78 GB, free: 36.79 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/9.996, allocations: 3.938 kB / 3.78 GB, free: 36.79 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/10, allocations: 1.324 MB / 3.781 GB, free: 36.73 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/10, allocations: 5.781 kB / 3.781 GB, free: 36.73 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/10, allocations: 88.92 kB / 3.781 GB, free: 36.73 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/10, allocations: 453.8 kB / 3.782 GB, free: 36.72 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/10.01, allocations: 1.753 MB / 3.784 GB, free: 35.34 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/10.01, allocations: 176.4 kB / 3.784 GB, free: 35.32 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002575/10.01, allocations: 75.81 kB / 3.784 GB, free: 35.32 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (148): * Single equations (assignments): 147 * 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.0004592/10.01, allocations: 183 kB / 3.784 GB, free: 35.21 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/10.01, allocations: 143.3 kB / 3.784 GB, free: 35.14 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009017/10.02, allocations: 6.689 MB / 3.791 GB, free: 34.41 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.598e-05/10.02, allocations: 84.64 kB / 3.791 GB, free: 34.41 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.176e-06/10.02, allocations: 0 / 3.791 GB, free: 34.41 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/10.02, allocations: 11.5 kB / 3.791 GB, free: 34.41 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/10.03, allocations: 8.572 MB / 3.799 GB, free: 33.72 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.598e-05/10.03, allocations: 3.375 kB / 3.799 GB, free: 33.72 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/10.03, allocations: 298 kB / 3.799 GB, free: 33.71 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008729/10.04, allocations: 2.292 MB / 3.802 GB, free: 33.64 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/10.04, allocations: 35.97 kB / 3.802 GB, free: 33.64 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/10.04, allocations: 1.614 MB / 3.803 GB, free: 33.08 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.984e-06/10.04, allocations: 0 / 3.803 GB, free: 33.08 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005602/10.05, allocations: 3.512 MB / 3.807 GB, free: 32.55 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/10.05, allocations: 0.7502 MB / 3.807 GB, free: 32.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/10.05, allocations: 26.03 kB / 3.807 GB, free: 32.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/10.05, allocations: 153.2 kB / 3.808 GB, free: 32.18 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/10.05, allocations: 123.6 kB / 3.808 GB, free: 32.18 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/10.05, allocations: 54.16 kB / 3.808 GB, free: 32.18 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.00197/10.05, allocations: 1.184 MB / 3.809 GB, free: 32.02 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.66e-07/10.05, allocations: 1.031 kB / 3.809 GB, free: 32.02 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007593/10.06, allocations: 1.838 MB / 3.811 GB, free: 31.82 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 51 ($cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse59.phase,$cse59.region,$cse63.phase,$cse63.region,$cse67.phase,$cse67.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 (123): * Single equations (assignments): 102 * 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.008701/10.07, allocations: 1.9 MB / 3.813 GB, free: 31.38 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.005747/10.08, allocations: 2.72 MB / 3.815 GB, free: 31.22 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.141e-06/10.08, allocations: 4.969 kB / 3.815 GB, free: 31.21 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/10.08, allocations: 1.539 MB / 3.817 GB, free: 31.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004909/10.08, allocations: 0.7457 MB / 3.817 GB, free: 31.13 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007347/10.09, allocations: 3.924 MB / 3.821 GB, free: 30.23 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/10.09, allocations: 1.777 MB / 3.823 GB, free: 29.45 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.004175/10.1, allocations: 1.87 MB / 3.825 GB, free: 29.38 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005144/10.1, allocations: 131.5 kB / 3.825 GB, free: 29.37 MB / 0.5418 GB Notification: Performance of SimCode: time 1.697e-06/10.1, allocations: 0 / 3.825 GB, free: 29.37 MB / 0.5418 GB Notification: Performance of Templates: time 0.1273/10.22, allocations: 67.19 MB / 3.891 GB, free: 15.35 MB / 0.5418 GB