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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 270 MB / 283.6 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.329e-05, allocations: 4 kB / 348.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.328, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.924/7.252, allocations: 2.777 GB / 3.178 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/7.252, allocations: 85.61 kB / 3.178 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.886/10.14, allocations: 0.6439 GB / 3.822 GB, free: 47.96 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.204e-06/10.14, allocations: 0 / 3.822 GB, free: 47.96 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001169/10.14, allocations: 45.59 kB / 3.822 GB, free: 47.96 MB / 0.5417 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.01064/10.15, allocations: 2.438 MB / 3.824 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.245e-05/10.15, allocations: 7.281 kB / 3.824 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01685/10.17, allocations: 0.9556 MB / 3.825 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/10.17, allocations: 0.9985 MB / 3.826 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/10.17, allocations: 109.1 kB / 3.826 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/10.17, allocations: 113.7 kB / 3.826 GB, free: 46.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006672/10.18, allocations: 2.25 MB / 3.829 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/10.18, allocations: 7.312 kB / 3.829 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/10.18, allocations: 64.34 kB / 3.829 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/10.18, allocations: 29.56 kB / 3.829 GB, free: 45.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006431/10.18, allocations: 1.954 MB / 3.831 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01454/10.2, allocations: 10.34 MB / 3.841 GB, free: 38.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005353/10.2, allocations: 1.547 MB / 3.842 GB, free: 38.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000873/10.2, allocations: 415.1 kB / 3.843 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04925/10.25, allocations: 24.02 MB / 3.866 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/10.25, allocations: 46 kB / 3.866 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=80): time 4.588e-06/10.25, allocations: 0 / 3.866 GB, free: 23.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=80): time 0.009652/10.26, allocations: 2.305 MB / 3.868 GB, free: 23.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/10.26, allocations: 274.7 kB / 3.869 GB, free: 23.17 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/10.26, allocations: 0.9836 MB / 3.87 GB, free: 23 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/10.26, allocations: 44.8 kB / 3.87 GB, free: 22.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004554/10.26, allocations: 0.6245 MB / 3.87 GB, free: 22.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/10.26, allocations: 273.1 kB / 3.871 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.36e-05/10.26, allocations: 22.53 kB / 3.871 GB, free: 22.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.206e-05/10.27, allocations: 348.7 kB / 3.871 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/10.27, allocations: 343.4 kB / 3.871 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009584/10.27, allocations: 0.7642 MB / 3.872 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/10.27, allocations: 437.4 kB / 3.872 GB, free: 21.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/10.27, allocations: 3.375 kB / 3.872 GB, free: 21.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002978/10.27, allocations: 1.205 MB / 3.874 GB, free: 21.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001793/10.27, allocations: 4.912 MB / 3.878 GB, free: 32.37 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.342e-05/10.27, allocations: 11.88 kB / 3.878 GB, free: 32.37 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.109e-05/10.27, allocations: 19.53 kB / 3.878 GB, free: 32.37 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/10.27, allocations: 363 kB / 3.879 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.215e-05/10.27, allocations: 26.47 kB / 3.879 GB, free: 32.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/10.28, allocations: 277.4 kB / 3.879 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/10.28, allocations: 68.98 kB / 3.879 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/10.28, allocations: 4.906 kB / 3.879 GB, free: 32.24 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002388/10.28, allocations: 1.036 MB / 3.88 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/10.28, allocations: 11.28 kB / 3.88 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/10.28, allocations: 22.64 kB / 3.88 GB, free: 32.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/10.28, allocations: 355.9 kB / 3.88 GB, free: 32.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/10.28, allocations: 28 kB / 3.88 GB, free: 32.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/10.28, allocations: 250.5 kB / 3.881 GB, free: 32.03 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/10.28, allocations: 67.8 kB / 3.881 GB, free: 32.03 MB / 0.5573 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.000417/10.28, allocations: 184.5 kB / 3.881 GB, free: 31.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/10.28, allocations: 135.4 kB / 3.881 GB, free: 31.83 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007569/10.29, allocations: 6.41 MB / 3.887 GB, free: 29.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/10.29, allocations: 87.66 kB / 3.887 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.823e-06/10.29, allocations: 0 / 3.887 GB, free: 29.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/10.29, allocations: 7.609 kB / 3.887 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/10.3, allocations: 3.251 MB / 3.891 GB, free: 28.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/10.3, allocations: 0 / 3.891 GB, free: 28.07 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/10.3, allocations: 275.4 kB / 3.891 GB, free: 28.05 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/10.3, allocations: 3.812 kB / 3.891 GB, free: 28.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/10.3, allocations: 28.64 kB / 3.891 GB, free: 28.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.953e-06/10.3, allocations: 3.719 kB / 3.891 GB, free: 28.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.173e-06/10.3, allocations: 6.453 kB / 3.891 GB, free: 28.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003983/10.3, allocations: 2.732 MB / 3.894 GB, free: 26.73 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/10.3, allocations: 0.9093 MB / 3.894 GB, free: 26.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003949/10.3, allocations: 15.81 kB / 3.895 GB, free: 26.13 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/10.31, allocations: 135.4 kB / 3.895 GB, free: 26.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/10.31, allocations: 111.7 kB / 3.895 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.975e-05/10.31, allocations: 44.25 kB / 3.895 GB, free: 26.06 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002698/10.31, allocations: 1.559 MB / 3.896 GB, free: 25.44 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.04e-06/10.31, allocations: 0 / 3.896 GB, free: 25.44 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007258/10.32, allocations: 1.838 MB / 3.898 GB, free: 25.12 MB / 0.5573 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.008232/10.32, allocations: 1.973 MB / 3.9 GB, free: 24.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003977/10.33, allocations: 2.172 MB / 3.902 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/10.33, allocations: 1.438 kB / 3.902 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/10.33, allocations: 1.337 MB / 3.903 GB, free: 21.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004701/10.33, allocations: 0.7892 MB / 3.904 GB, free: 21.38 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00676/10.34, allocations: 4.088 MB / 3.908 GB, free: 17.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/10.34, allocations: 1.861 MB / 3.91 GB, free: 16.14 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004128/10.35, allocations: 2.179 MB / 3.912 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/10.35, allocations: 122.2 kB / 3.912 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of SimCode: time 1.602e-06/10.35, allocations: 0 / 3.912 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of Templates: time 0.4923/10.84, allocations: 66.65 MB / 3.977 GB, free: 71.6 MB / 0.573 GB