Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,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|SourceP4.ports.1..m_flow|SourceP4.ports.1..p|SourceP4.ports.1..h_outflow|V4.port_b.m_flow|V4.port_b.p|V4.port_b.h_outflow|V4.minLimiter.y|SinkP4.ports.1..m_flow|SinkP4.ports.1..p|SinkP4.ports.1..h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 221.5 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.598e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08885, allocations: 48.7 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.103/6.192, allocations: 2.497 GB / 2.811 GB, free: 123.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/6.192, allocations: 82.36 kB / 2.811 GB, free: 123.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.654/8.846, allocations: 0.6182 GB / 3.429 GB, free: 6.398 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.954e-06/8.846, allocations: 0 / 3.429 GB, free: 6.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001197/8.846, allocations: 45.72 kB / 3.429 GB, free: 6.359 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.008794/8.855, allocations: 2.353 MB / 3.432 GB, free: 3.973 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/8.855, allocations: 8.031 kB / 3.432 GB, free: 3.965 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/8.866, allocations: 0.9025 MB / 3.433 GB, free: 3.066 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/8.869, allocations: 1.057 MB / 3.434 GB, free: 1.984 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/8.869, allocations: 102.4 kB / 3.434 GB, free: 1.883 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/8.869, allocations: 117.4 kB / 3.434 GB, free: 1.77 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2949/9.164, allocations: 2.231 MB / 3.436 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/9.164, allocations: 3.438 kB / 3.436 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002509/9.165, allocations: 57.12 kB / 3.436 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.915e-05/9.165, allocations: 32.59 kB / 3.436 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007111/9.172, allocations: 1.947 MB / 3.438 GB, free: 34.12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/9.186, allocations: 10.08 MB / 3.448 GB, free: 27.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005301/9.191, allocations: 1.474 MB / 3.449 GB, free: 27.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/9.192, allocations: 377.3 kB / 3.45 GB, free: 27.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04546/9.237, allocations: 17.1 MB / 3.466 GB, free: 18.82 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/9.237, allocations: 41.34 kB / 3.466 GB, free: 18.78 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 4.083e-06/9.237, allocations: 0 / 3.466 GB, free: 18.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.009364/9.247, allocations: 2.216 MB / 3.469 GB, free: 18.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/9.247, allocations: 269.6 kB / 3.469 GB, free: 18.35 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/9.248, allocations: 0.8133 MB / 3.47 GB, free: 18.19 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001667/9.249, allocations: 41.36 kB / 3.47 GB, free: 18.16 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004795/9.249, allocations: 0.6855 MB / 3.47 GB, free: 17.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/9.249, allocations: 276.8 kB / 3.471 GB, free: 17.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.499e-05/9.25, allocations: 32.03 kB / 3.471 GB, free: 17.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/9.25, allocations: 354.8 kB / 3.471 GB, free: 17.44 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000806/9.25, allocations: 335.7 kB / 3.471 GB, free: 17.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/9.252, allocations: 0.919 MB / 3.472 GB, free: 16.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009805/9.253, allocations: 470.4 kB / 3.473 GB, free: 16.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/9.253, allocations: 3.969 kB / 3.473 GB, free: 16.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003123/9.256, allocations: 1.284 MB / 3.474 GB, free: 16.55 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003399/9.259, allocations: 7.319 MB / 3.481 GB, free: 24.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.359e-05/9.259, allocations: 18.34 kB / 3.481 GB, free: 24.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.783e-05/9.259, allocations: 26.81 kB / 3.481 GB, free: 24.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/9.261, allocations: 395.6 kB / 3.481 GB, free: 24.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.466e-05/9.261, allocations: 46.02 kB / 3.481 GB, free: 24.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002188/9.264, allocations: 260.3 kB / 3.482 GB, free: 24.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/9.264, allocations: 87.64 kB / 3.482 GB, free: 24.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/9.264, allocations: 9.25 kB / 3.482 GB, free: 24.81 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002662/9.267, allocations: 1.123 MB / 3.483 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-05/9.267, allocations: 19.44 kB / 3.483 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/9.267, allocations: 33.06 kB / 3.483 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/9.269, allocations: 395.5 kB / 3.483 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/9.269, allocations: 39.08 kB / 3.483 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/9.27, allocations: 211.9 kB / 3.484 GB, free: 24.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/9.271, allocations: 82.7 kB / 3.484 GB, free: 24.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.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 (167): * Single equations (assignments): 167 * 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.0004256/9.271, allocations: 217.5 kB / 3.484 GB, free: 24.64 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/9.271, allocations: 122.7 kB / 3.484 GB, free: 24.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007224/9.279, allocations: 5.742 MB / 3.49 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.78e-05/9.279, allocations: 82.55 kB / 3.49 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/9.279, allocations: 3.062 kB / 3.49 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/9.279, allocations: 4.656 kB / 3.49 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003952/9.283, allocations: 2.769 MB / 3.492 GB, free: 23.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/9.283, allocations: 7.953 kB / 3.492 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/9.284, allocations: 255.5 kB / 3.493 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/9.284, allocations: 2.844 kB / 3.493 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.55e-05/9.284, allocations: 26.88 kB / 3.493 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-06/9.284, allocations: 6.906 kB / 3.493 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/9.284, allocations: 5.484 kB / 3.493 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003804/9.288, allocations: 2.624 MB / 3.495 GB, free: 23.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/9.289, allocations: 0.5313 MB / 3.496 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003426/9.29, allocations: 19.69 kB / 3.496 GB, free: 22.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/9.291, allocations: 123 kB / 3.496 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/9.291, allocations: 89.23 kB / 3.496 GB, free: 22.87 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/9.291, allocations: 34.17 kB / 3.496 GB, free: 22.87 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001312/9.293, allocations: 0.7114 MB / 3.497 GB, free: 22.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.091e-06/9.293, allocations: 1.75 kB / 3.497 GB, free: 22.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007546/9.3, allocations: 1.724 MB / 3.498 GB, free: 22.64 MB / 474.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: 56 ($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,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.009268/9.309, allocations: 1.952 MB / 3.5 GB, free: 22.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004369/9.314, allocations: 2.21 MB / 3.502 GB, free: 22.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/9.314, allocations: 2.562 kB / 3.502 GB, free: 22.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001933/9.316, allocations: 1.324 MB / 3.504 GB, free: 22.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/9.32, allocations: 0.5751 MB / 3.504 GB, free: 22.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5841/9.904, allocations: 123.1 MB / 3.624 GB, free: 61.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/9.906, allocations: 1.655 MB / 3.626 GB, free: 61.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005065/9.911, allocations: 2.005 MB / 3.628 GB, free: 61.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/9.911, allocations: 118.9 kB / 3.628 GB, free: 61.09 MB / 490.7 MB Notification: Performance of SimCode: time 2.078e-06/9.911, allocations: 0 / 3.628 GB, free: 61.09 MB / 490.7 MB Notification: Performance of Templates: time 0.1128/10.02, allocations: 59.88 MB / 3.687 GB, free: 58.72 MB / 490.7 MB