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.3_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.945e-05/3.987e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3246, allocations: 58.84 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.518/6.842, allocations: 2.772 GB / 3.145 GB, free: 122 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/6.843, allocations: 82.03 kB / 3.145 GB, free: 122 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.969/9.812, allocations: 0.6367 GB / 3.782 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.402e-06/9.812, allocations: 3.875 kB / 3.782 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001097/9.812, allocations: 42.64 kB / 3.782 GB, free: 43.38 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.008372/9.82, allocations: 2.43 MB / 3.785 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/9.821, allocations: 10.41 kB / 3.785 GB, free: 42.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01223/9.833, allocations: 0.9562 MB / 3.785 GB, free: 42.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/9.835, allocations: 0.9941 MB / 3.786 GB, free: 41.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/9.835, allocations: 105.2 kB / 3.787 GB, free: 41.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/9.836, allocations: 116.2 kB / 3.787 GB, free: 41.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007143/9.843, allocations: 2.244 MB / 3.789 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/9.843, allocations: 10.06 kB / 3.789 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/9.843, allocations: 64.7 kB / 3.789 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/9.843, allocations: 30.72 kB / 3.789 GB, free: 41.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006471/9.85, allocations: 1.953 MB / 3.791 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/9.864, allocations: 10.34 MB / 3.801 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005373/9.869, allocations: 1.548 MB / 3.802 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008227/9.87, allocations: 413.3 kB / 3.803 GB, free: 34.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05714/9.927, allocations: 24.02 MB / 3.826 GB, free: 35.51 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/9.927, allocations: 47.03 kB / 3.826 GB, free: 35.47 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=80): time 4.685e-06/9.927, allocations: 0 / 3.826 GB, free: 35.47 MB / 0.5418 GB Notification: Performance of matching and sorting (n=80): time 0.009202/9.936, allocations: 2.306 MB / 3.829 GB, free: 35.34 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/9.937, allocations: 271.8 kB / 3.829 GB, free: 35.02 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/9.938, allocations: 0.9794 MB / 3.83 GB, free: 34.86 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/9.938, allocations: 43.61 kB / 3.83 GB, free: 34.83 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/9.939, allocations: 0.6237 MB / 3.83 GB, free: 34.56 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/9.939, allocations: 277.6 kB / 3.831 GB, free: 34.39 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.591e-05/9.939, allocations: 19.91 kB / 3.831 GB, free: 34.39 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002012/9.939, allocations: 348.7 kB / 3.831 GB, free: 34.09 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007791/9.94, allocations: 339.1 kB / 3.831 GB, free: 34.09 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/9.941, allocations: 0.7686 MB / 3.832 GB, free: 33.57 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/9.942, allocations: 432.9 kB / 3.833 GB, free: 33.55 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/9.942, allocations: 7.406 kB / 3.833 GB, free: 33.55 MB / 0.5418 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002906/9.945, allocations: 1.213 MB / 3.834 GB, free: 33.41 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.002284/9.947, allocations: 4.913 MB / 3.839 GB, free: 28.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/9.947, allocations: 13.91 kB / 3.839 GB, free: 28.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/9.948, allocations: 22.31 kB / 3.839 GB, free: 28.3 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/9.949, allocations: 354.8 kB / 3.839 GB, free: 28.29 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.422e-05/9.949, allocations: 36.67 kB / 3.839 GB, free: 28.29 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/9.952, allocations: 275.8 kB / 3.839 GB, free: 28.19 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/9.952, allocations: 67.55 kB / 3.839 GB, free: 28.19 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/9.952, allocations: 4.906 kB / 3.839 GB, free: 28.19 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002438/9.954, allocations: 1.033 MB / 3.84 GB, free: 28.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/9.954, allocations: 13.03 kB / 3.84 GB, free: 28.16 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/9.954, allocations: 25.16 kB / 3.84 GB, free: 28.16 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/9.956, allocations: 360.8 kB / 3.841 GB, free: 28.16 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/9.956, allocations: 25.55 kB / 3.841 GB, free: 28.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/9.958, allocations: 231.8 kB / 3.841 GB, free: 28.08 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/9.958, allocations: 68.83 kB / 3.841 GB, free: 28.08 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (143): * Single equations (assignments): 143 * 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.0003829/9.959, allocations: 192.8 kB / 3.841 GB, free: 27.96 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002901/9.959, allocations: 142.9 kB / 3.841 GB, free: 27.89 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/9.966, allocations: 6.407 MB / 3.848 GB, free: 27 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.529e-05/9.966, allocations: 85.02 kB / 3.848 GB, free: 27 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/9.966, allocations: 0 / 3.848 GB, free: 27 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/9.967, allocations: 6.938 kB / 3.848 GB, free: 27 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/9.971, allocations: 3.26 MB / 3.851 GB, free: 26.54 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/9.971, allocations: 3.953 kB / 3.851 GB, free: 26.53 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/9.972, allocations: 274.2 kB / 3.851 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/9.972, allocations: 3.656 kB / 3.851 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/9.972, allocations: 24.12 kB / 3.851 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.161e-06/9.972, allocations: 3.125 kB / 3.851 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.954e-06/9.972, allocations: 3.188 kB / 3.851 GB, free: 26.52 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/9.976, allocations: 2.741 MB / 3.854 GB, free: 26.05 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/9.978, allocations: 0.9003 MB / 3.855 GB, free: 25.66 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/9.978, allocations: 18.94 kB / 3.855 GB, free: 25.66 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/9.98, allocations: 132.7 kB / 3.855 GB, free: 25.64 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/9.98, allocations: 102.7 kB / 3.855 GB, free: 25.64 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/9.98, allocations: 41.81 kB / 3.855 GB, free: 25.64 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.002655/9.983, allocations: 1.561 MB / 3.857 GB, free: 25.48 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.61e-07/9.983, allocations: 3.938 kB / 3.857 GB, free: 25.48 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007152/9.99, allocations: 1.836 MB / 3.858 GB, free: 25.28 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($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,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.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.008368/9.998, allocations: 1.963 MB / 3.86 GB, free: 24.81 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.00406/10, allocations: 2.176 MB / 3.862 GB, free: 24.74 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.24e-06/10, allocations: 448 / 3.862 GB, free: 24.74 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/10, allocations: 1.341 MB / 3.864 GB, free: 24.71 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/10.01, allocations: 0.7964 MB / 3.864 GB, free: 24.64 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/10.02, allocations: 4.085 MB / 3.868 GB, free: 23.67 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/10.02, allocations: 1.863 MB / 3.87 GB, free: 22.89 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.00433/10.02, allocations: 2.167 MB / 3.872 GB, free: 22.77 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/10.02, allocations: 125.5 kB / 3.873 GB, free: 22.77 MB / 0.5418 GB Notification: Performance of SimCode: time 1.697e-06/10.02, allocations: 0 / 3.873 GB, free: 22.77 MB / 0.5418 GB Notification: Performance of Templates: time 0.4636/10.49, allocations: 66.62 MB / 3.938 GB, free: 58.7 MB / 0.5418 GB