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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.507e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3186, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.558/6.877, allocations: 2.772 GB / 3.145 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/6.877, allocations: 85.47 kB / 3.145 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.049/8.926, allocations: 0.5017 GB / 3.647 GB, free: 41.81 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.784e-06/8.926, allocations: 0 / 3.647 GB, free: 41.81 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.451e-05/8.926, allocations: 29.78 kB / 3.647 GB, free: 41.8 MB / 0.5105 GB 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.007271/8.933, allocations: 2.049 MB / 3.649 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/8.933, allocations: 9.75 kB / 3.649 GB, free: 40.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007635/8.941, allocations: 0.7283 MB / 3.65 GB, free: 40.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/8.943, allocations: 0.8012 MB / 3.651 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001031/8.943, allocations: 81.16 kB / 3.651 GB, free: 40.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/8.943, allocations: 84.56 kB / 3.651 GB, free: 39.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004904/8.948, allocations: 1.707 MB / 3.652 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/8.948, allocations: 7.891 kB / 3.652 GB, free: 39.22 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/8.948, allocations: 47.28 kB / 3.652 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/8.948, allocations: 19.69 kB / 3.652 GB, free: 39.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/8.953, allocations: 1.473 MB / 3.654 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01231/8.965, allocations: 7.561 MB / 3.661 GB, free: 32.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006859/8.972, allocations: 1.173 MB / 3.662 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/8.974, allocations: 338.6 kB / 3.663 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04948/9.023, allocations: 24.24 MB / 3.686 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/9.023, allocations: 47.12 kB / 3.686 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=67): time 4.221e-06/9.023, allocations: 0 / 3.686 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=67): time 0.006837/9.03, allocations: 1.773 MB / 3.688 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/9.03, allocations: 222.1 kB / 3.688 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/9.031, allocations: 0.7251 MB / 3.689 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001484/9.032, allocations: 41.7 kB / 3.689 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/9.032, allocations: 477.4 kB / 3.69 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/9.032, allocations: 226.3 kB / 3.69 GB, free: 9.957 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/9.032, allocations: 20 kB / 3.69 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/9.032, allocations: 337.9 kB / 3.69 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/9.033, allocations: 262 kB / 3.69 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007151/9.034, allocations: 0.557 MB / 3.691 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007471/9.034, allocations: 329.9 kB / 3.691 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.222e-06/9.034, allocations: 4 kB / 3.691 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002027/9.036, allocations: 0.9133 MB / 3.692 GB, free: 7.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000718/9.037, allocations: 3.223 MB / 3.695 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/9.037, allocations: 8 kB / 3.695 GB, free: 19.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/9.037, allocations: 19.94 kB / 3.695 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/9.038, allocations: 271.6 kB / 3.696 GB, free: 19.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/9.039, allocations: 19.92 kB / 3.696 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/9.04, allocations: 198.6 kB / 3.696 GB, free: 19.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/9.04, allocations: 51.98 kB / 3.696 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/9.04, allocations: 4 kB / 3.696 GB, free: 19.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001668/9.042, allocations: 0.7837 MB / 3.697 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/9.042, allocations: 12 kB / 3.697 GB, free: 18.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/9.042, allocations: 12 kB / 3.697 GB, free: 18.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/9.043, allocations: 264 kB / 3.697 GB, free: 18.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-05/9.043, allocations: 23.91 kB / 3.697 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/9.044, allocations: 178.9 kB / 3.697 GB, free: 18.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/9.044, allocations: 47.98 kB / 3.697 GB, free: 18.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (109): * Single equations (assignments): 109 * 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.0003012/9.045, allocations: 164.7 kB / 3.697 GB, free: 17.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/9.045, allocations: 110.7 kB / 3.697 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006553/9.052, allocations: 4.87 MB / 3.702 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/9.052, allocations: 63.75 kB / 3.702 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.814e-06/9.052, allocations: 0 / 3.702 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/9.052, allocations: 7.984 kB / 3.702 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/9.056, allocations: 2.501 MB / 3.705 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.355e-06/9.056, allocations: 4 kB / 3.705 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/9.057, allocations: 223.8 kB / 3.705 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-05/9.057, allocations: 19.88 kB / 3.705 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.556e-05/9.057, allocations: 20 kB / 3.705 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/9.057, allocations: 4 kB / 3.705 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-06/9.057, allocations: 0 / 3.705 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/9.061, allocations: 2.124 MB / 3.707 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/9.062, allocations: 0.6914 MB / 3.708 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/9.063, allocations: 19.95 kB / 3.708 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/9.065, allocations: 115.7 kB / 3.708 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/9.065, allocations: 84.66 kB / 3.708 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.453e-05/9.065, allocations: 27.98 kB / 3.708 GB, free: 6.871 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002293/9.067, allocations: 1.175 MB / 3.709 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.71e-07/9.067, allocations: 4 kB / 3.709 GB, free: 5.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00681/9.074, allocations: 1.62 MB / 3.711 GB, free: 4.039 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: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.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.0084/9.082, allocations: 1.787 MB / 3.712 GB, free: 2.488 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003684/9.086, allocations: 1.653 MB / 3.714 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.776e-06/9.086, allocations: 6.5 kB / 3.714 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.3208/9.407, allocations: 1.025 MB / 3.715 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/9.411, allocations: 0.5927 MB / 3.716 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006102/9.417, allocations: 3.079 MB / 3.719 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/9.418, allocations: 1.574 MB / 3.72 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003555/9.422, allocations: 1.637 MB / 3.722 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/9.422, allocations: 93.61 kB / 3.722 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of SimCode: time 2.017e-06/9.422, allocations: 0 / 3.722 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of Templates: time 0.109/9.531, allocations: 55.91 MB / 3.776 GB, free: 59.97 MB / 0.5261 GB