Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SourceP1.ports.1..m_flow|SourceP1.ports.1..p|SourceP1.ports.1..h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|SinkP1.ports.1..m_flow|SinkP1.ports.1..p|SinkP1.ports.1..h_outflow|Opening.y|SourceP2.ports.1..m_flow|SourceP2.ports.1..p|SourceP2.ports.1..h_outflow|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|SinkP2.ports.1..m_flow|SinkP2.ports.1..p|SinkP2.ports.1..h_outflow|SourceP3.ports.1..m_flow|SourceP3.ports.1..p|SourceP3.ports.1..h_outflow|V3.port_b.m_flow|V3.port_b.p|V3.port_b.h_outflow|V3.minLimiter.y|SinkP3.ports.1..m_flow|SinkP3.ports.1..p|SinkP3.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.844e-05, allocations: 4 kB / 273.1 MB, free: 3.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0857/0.08575, allocations: 48.68 MB / 321.8 MB, free: 2.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.384/6.469, allocations: 2.497 GB / 2.811 GB, free: 122.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/6.47, allocations: 84.73 kB / 2.811 GB, free: 122.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.253/8.723, allocations: 499.1 MB / 3.298 GB, free: 44.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.848e-06/8.723, allocations: 0 / 3.298 GB, free: 44.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001126/8.723, allocations: 35.95 kB / 3.298 GB, free: 44.36 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.008284/8.731, allocations: 1.991 MB / 3.3 GB, free: 43.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/8.731, allocations: 9.609 kB / 3.3 GB, free: 43.61 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00824/8.739, allocations: 0.681 MB / 3.301 GB, free: 43.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002535/8.742, allocations: 0.8474 MB / 3.302 GB, free: 43.25 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/8.742, allocations: 82.23 kB / 3.302 GB, free: 43.25 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/8.743, allocations: 85.09 kB / 3.302 GB, free: 43.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005686/8.748, allocations: 1.701 MB / 3.304 GB, free: 42.93 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/8.748, allocations: 4.969 kB / 3.304 GB, free: 42.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/8.749, allocations: 43.66 kB / 3.304 GB, free: 42.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/8.749, allocations: 24.47 kB / 3.304 GB, free: 42.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/8.754, allocations: 1.469 MB / 3.305 GB, free: 42.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/8.764, allocations: 7.361 MB / 3.312 GB, free: 37.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/8.769, allocations: 1.124 MB / 3.314 GB, free: 37.92 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/8.77, allocations: 307.1 kB / 3.314 GB, free: 37.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04997/8.82, allocations: 17.68 MB / 3.331 GB, free: 29.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/8.82, allocations: 42.86 kB / 3.331 GB, free: 29.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=67): time 4.409e-06/8.82, allocations: 0 / 3.331 GB, free: 29.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=67): time 0.007209/8.827, allocations: 1.711 MB / 3.333 GB, free: 28.94 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/8.827, allocations: 221.3 kB / 3.333 GB, free: 28.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/8.828, allocations: 0.5936 MB / 3.334 GB, free: 28.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/8.828, allocations: 36.05 kB / 3.334 GB, free: 28.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/8.829, allocations: 0.5332 MB / 3.334 GB, free: 28.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/8.829, allocations: 223.8 kB / 3.334 GB, free: 28.09 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/8.829, allocations: 19.03 kB / 3.334 GB, free: 28.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/8.829, allocations: 396.1 kB / 3.335 GB, free: 27.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/8.83, allocations: 255.6 kB / 3.335 GB, free: 27.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/8.831, allocations: 0.6662 MB / 3.336 GB, free: 27.25 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007381/8.831, allocations: 352.7 kB / 3.336 GB, free: 27.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/8.831, allocations: 3.781 kB / 3.336 GB, free: 27.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002349/8.834, allocations: 0.9583 MB / 3.337 GB, free: 27.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009798/8.835, allocations: 5.06 MB / 3.342 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/8.835, allocations: 13.97 kB / 3.342 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.593e-05/8.835, allocations: 21.56 kB / 3.342 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/8.836, allocations: 308.9 kB / 3.342 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-05/8.836, allocations: 23.94 kB / 3.342 GB, free: 21.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/8.838, allocations: 181 kB / 3.342 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/8.838, allocations: 65.02 kB / 3.342 GB, free: 21.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/8.838, allocations: 3.906 kB / 3.342 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002004/8.84, allocations: 0.8454 MB / 3.343 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/8.84, allocations: 12.03 kB / 3.343 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/8.84, allocations: 25.28 kB / 3.343 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/8.842, allocations: 300.3 kB / 3.344 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.493e-05/8.842, allocations: 25.47 kB / 3.344 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/8.843, allocations: 163.8 kB / 3.344 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/8.844, allocations: 58.34 kB / 3.344 GB, free: 21.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (127): * Single equations (assignments): 127 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003186/8.844, allocations: 181.5 kB / 3.344 GB, free: 21.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/8.844, allocations: 95.66 kB / 3.344 GB, free: 21.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005804/8.85, allocations: 4.427 MB / 3.348 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.286e-05/8.85, allocations: 64.91 kB / 3.348 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.44e-06/8.85, allocations: 0 / 3.348 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/8.85, allocations: 7.688 kB / 3.348 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/8.853, allocations: 2.162 MB / 3.351 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/8.853, allocations: 3.906 kB / 3.351 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/8.855, allocations: 225.3 kB / 3.351 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/8.855, allocations: 3.906 kB / 3.351 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/8.855, allocations: 18.34 kB / 3.351 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.292e-06/8.855, allocations: 3.781 kB / 3.351 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/8.855, allocations: 3.938 kB / 3.351 GB, free: 20.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/8.858, allocations: 2.052 MB / 3.353 GB, free: 20.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009003/8.859, allocations: 452.3 kB / 3.353 GB, free: 20.03 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/8.859, allocations: 23.27 kB / 3.353 GB, free: 20.03 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/8.86, allocations: 93.22 kB / 3.353 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/8.86, allocations: 71.27 kB / 3.353 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/8.861, allocations: 33.16 kB / 3.353 GB, free: 20.02 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009919/8.862, allocations: 0.5603 MB / 3.354 GB, free: 19.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.016e-06/8.862, allocations: 2.25 kB / 3.354 GB, free: 19.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00685/8.868, allocations: 1.541 MB / 3.356 GB, free: 19.68 MB / 458.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: 42 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008805/8.877, allocations: 1.779 MB / 3.357 GB, free: 19.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003379/8.881, allocations: 1.691 MB / 3.359 GB, free: 19.23 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/8.881, allocations: 0 / 3.359 GB, free: 19.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/8.882, allocations: 1.024 MB / 3.36 GB, free: 19.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/8.886, allocations: 455.5 kB / 3.36 GB, free: 19.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5882/9.474, allocations: 122.3 MB / 3.48 GB, free: 56.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/9.476, allocations: 1.428 MB / 3.481 GB, free: 55.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006471/9.482, allocations: 1.518 MB / 3.483 GB, free: 55.88 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/9.483, allocations: 92.27 kB / 3.483 GB, free: 55.88 MB / 474.7 MB Notification: Performance of SimCode: time 3.403e-06/9.483, allocations: 1.219 kB / 3.483 GB, free: 55.88 MB / 474.7 MB Notification: Performance of Templates: time 0.09887/9.582, allocations: 50.91 MB / 3.532 GB, free: 54.24 MB / 474.7 MB