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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.087e-05, allocations: 4 kB / 304.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3856, allocations: 54.85 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.317/6.703, allocations: 2.607 GB / 2.959 GB, free: 101 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/6.703, allocations: 83.45 kB / 2.959 GB, free: 101 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084/8.787, allocations: 0.498 GB / 3.457 GB, free: 31.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.272e-06/8.788, allocations: 3.938 kB / 3.457 GB, free: 31.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.073e-05/8.788, allocations: 29.97 kB / 3.457 GB, free: 31.66 MB / 490.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.007592/8.795, allocations: 2.058 MB / 3.459 GB, free: 30.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/8.795, allocations: 7.75 kB / 3.459 GB, free: 30.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007845/8.803, allocations: 0.7202 MB / 3.46 GB, free: 30.38 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/8.805, allocations: 0.8547 MB / 3.46 GB, free: 29.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/8.806, allocations: 82.88 kB / 3.461 GB, free: 29.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/8.806, allocations: 87.75 kB / 3.461 GB, free: 29.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005622/8.812, allocations: 1.697 MB / 3.462 GB, free: 29.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/8.812, allocations: 7.875 kB / 3.462 GB, free: 29.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001819/8.812, allocations: 39.59 kB / 3.462 GB, free: 29.03 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/8.812, allocations: 27.25 kB / 3.462 GB, free: 29.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005684/8.818, allocations: 1.46 MB / 3.464 GB, free: 28.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009574/8.827, allocations: 7.372 MB / 3.471 GB, free: 22.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004134/8.831, allocations: 1.108 MB / 3.472 GB, free: 22.41 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006371/8.832, allocations: 303.9 kB / 3.472 GB, free: 22.29 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04554/8.878, allocations: 17.71 MB / 3.49 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/8.878, allocations: 43.06 kB / 3.49 GB, free: 5.461 MB / 490.7 MB Notification: Performance of pre-optimization done (n=67): time 3.493e-06/8.878, allocations: 4 kB / 3.49 GB, free: 5.457 MB / 490.7 MB Notification: Performance of matching and sorting (n=67): time 0.006682/8.884, allocations: 1.707 MB / 3.491 GB, free: 3.738 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/8.884, allocations: 218.2 kB / 3.492 GB, free: 3.477 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/8.886, allocations: 0.5938 MB / 3.492 GB, free: 2.875 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001498/8.886, allocations: 41.7 kB / 3.492 GB, free: 2.828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/8.886, allocations: 0.5213 MB / 3.493 GB, free: 2.301 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/8.886, allocations: 230.6 kB / 3.493 GB, free: 2.078 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/8.886, allocations: 24 kB / 3.493 GB, free: 2.055 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/8.887, allocations: 402.7 kB / 3.493 GB, free: 1.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006265/8.887, allocations: 258.6 kB / 3.494 GB, free: 1.398 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008085/8.888, allocations: 0.6602 MB / 3.494 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000743/8.889, allocations: 355.1 kB / 3.495 GB, free: 200 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/8.889, allocations: 4 kB / 3.495 GB, free: 196 kB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00251/8.891, allocations: 0.9713 MB / 3.495 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002706/8.894, allocations: 5.049 MB / 3.5 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.432e-05/8.894, allocations: 12 kB / 3.5 GB, free: 9.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/8.894, allocations: 24 kB / 3.5 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/8.896, allocations: 295.6 kB / 3.501 GB, free: 9.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-05/8.896, allocations: 27.94 kB / 3.501 GB, free: 9.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/8.897, allocations: 186.7 kB / 3.501 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/8.898, allocations: 63.92 kB / 3.501 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/8.898, allocations: 4 kB / 3.501 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002153/8.9, allocations: 0.8531 MB / 3.502 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/8.9, allocations: 12 kB / 3.502 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/8.9, allocations: 20 kB / 3.502 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/8.901, allocations: 299.9 kB / 3.502 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.84e-05/8.901, allocations: 27.92 kB / 3.502 GB, free: 7.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/8.903, allocations: 155.2 kB / 3.502 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/8.903, allocations: 59.98 kB / 3.502 GB, free: 7.75 MB / 0.4948 GB 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.0003861/8.903, allocations: 180.5 kB / 3.503 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/8.904, allocations: 98.77 kB / 3.503 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007629/8.911, allocations: 4.431 MB / 3.507 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.214e-05/8.912, allocations: 59.89 kB / 3.507 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/8.912, allocations: 4 kB / 3.507 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.307e-05/8.912, allocations: 3.984 kB / 3.507 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003837/8.915, allocations: 2.167 MB / 3.509 GB, free: 0.7383 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/8.915, allocations: 4 kB / 3.509 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/8.917, allocations: 227.7 kB / 3.509 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.906e-05/8.917, allocations: 7.953 kB / 3.509 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.671e-05/8.917, allocations: 16 kB / 3.509 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.242e-06/8.917, allocations: 3.938 kB / 3.509 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.592e-06/8.917, allocations: 4 kB / 3.509 GB, free: 492 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3532/9.27, allocations: 2.047 MB / 3.511 GB, free: 56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/9.271, allocations: 448.5 kB / 3.512 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/9.271, allocations: 18.25 kB / 3.512 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009398/9.272, allocations: 104.7 kB / 3.512 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/9.272, allocations: 70.23 kB / 3.512 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/9.272, allocations: 26.47 kB / 3.512 GB, free: 55.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001095/9.273, allocations: 0.562 MB / 3.513 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.74e-07/9.273, allocations: 0 / 3.513 GB, free: 55.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006738/9.28, allocations: 1.544 MB / 3.514 GB, free: 55.67 MB / 0.4948 GB 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.009041/9.289, allocations: 1.771 MB / 3.516 GB, free: 55.54 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003676/9.293, allocations: 1.687 MB / 3.517 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.533e-06/9.293, allocations: 0 / 3.517 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/9.295, allocations: 1.018 MB / 3.518 GB, free: 55.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/9.298, allocations: 467.4 kB / 3.519 GB, free: 55.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2953/9.593, allocations: 124.5 MB / 3.64 GB, free: 35.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/9.595, allocations: 1.435 MB / 3.642 GB, free: 34.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005639/9.601, allocations: 1.505 MB / 3.643 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/9.601, allocations: 94.23 kB / 3.643 GB, free: 33.37 MB / 0.4948 GB Notification: Performance of SimCode: time 2.504e-06/9.601, allocations: 0 / 3.643 GB, free: 33.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.1053/9.706, allocations: 51.06 MB / 3.693 GB, free: 10.63 MB / 0.5105 GB