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.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.284/2.284, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.554e-05, allocations: 4 kB / 304.9 MB, free: 5.379 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.351, allocations: 54.85 MB / 359.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.394/6.745, allocations: 2.608 GB / 2.959 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/6.745, allocations: 87.34 kB / 2.959 GB, free: 100.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.819/9.564, allocations: 0.632 GB / 3.591 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.669e-06/9.564, allocations: 0 / 3.591 GB, free: 38.54 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001171/9.564, allocations: 42.38 kB / 3.591 GB, free: 38.53 MB / 0.4948 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.008853/9.573, allocations: 2.431 MB / 3.593 GB, free: 37.44 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/9.573, allocations: 8.969 kB / 3.593 GB, free: 37.44 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/9.586, allocations: 0.9551 MB / 3.594 GB, free: 37.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/9.588, allocations: 1.064 MB / 3.595 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/9.589, allocations: 110.9 kB / 3.595 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/9.589, allocations: 112.5 kB / 3.596 GB, free: 37.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007459/9.596, allocations: 2.23 MB / 3.598 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.161e-05/9.596, allocations: 6.719 kB / 3.598 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/9.597, allocations: 58.41 kB / 3.598 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/9.597, allocations: 28.66 kB / 3.598 GB, free: 36.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007375/9.604, allocations: 1.947 MB / 3.6 GB, free: 36.58 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/9.617, allocations: 10.08 MB / 3.61 GB, free: 29.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00499/9.622, allocations: 1.475 MB / 3.611 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007828/9.623, allocations: 382.2 kB / 3.611 GB, free: 29.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04749/9.671, allocations: 17.14 MB / 3.628 GB, free: 20.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/9.671, allocations: 40.25 kB / 3.628 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=80): time 3.793e-06/9.671, allocations: 3.594 kB / 3.628 GB, free: 20.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=80): time 0.009672/9.68, allocations: 2.206 MB / 3.63 GB, free: 20.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/9.68, allocations: 269 kB / 3.631 GB, free: 20.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/9.682, allocations: 0.8189 MB / 3.631 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/9.682, allocations: 46.89 kB / 3.631 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/9.682, allocations: 0.6805 MB / 3.632 GB, free: 19.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/9.683, allocations: 282.5 kB / 3.632 GB, free: 19.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.431e-05/9.683, allocations: 26.56 kB / 3.632 GB, free: 19.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001032/9.683, allocations: 360.7 kB / 3.633 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/9.684, allocations: 334.8 kB / 3.633 GB, free: 19.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/9.685, allocations: 0.9121 MB / 3.634 GB, free: 18.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/9.686, allocations: 472.3 kB / 3.634 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/9.686, allocations: 3.781 kB / 3.634 GB, free: 18.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003104/9.689, allocations: 1.28 MB / 3.636 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00291/9.692, allocations: 7.327 MB / 3.643 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.907e-05/9.692, allocations: 19.09 kB / 3.643 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.087e-05/9.692, allocations: 29.88 kB / 3.643 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/9.694, allocations: 395.7 kB / 3.643 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-05/9.694, allocations: 39.81 kB / 3.643 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002075/9.696, allocations: 263.7 kB / 3.643 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002471/9.696, allocations: 82.06 kB / 3.644 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/9.696, allocations: 3.531 kB / 3.644 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002748/9.699, allocations: 1.126 MB / 3.645 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/9.699, allocations: 21.23 kB / 3.645 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/9.699, allocations: 34.22 kB / 3.645 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/9.701, allocations: 392.6 kB / 3.645 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.648e-05/9.701, allocations: 36.56 kB / 3.645 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/9.703, allocations: 217 kB / 3.645 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/9.703, allocations: 79.89 kB / 3.645 GB, free: 26.33 MB / 0.5105 GB 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.0004344/9.703, allocations: 204.5 kB / 3.646 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/9.704, allocations: 122.9 kB / 3.646 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007395/9.711, allocations: 5.757 MB / 3.651 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.723e-05/9.711, allocations: 88.61 kB / 3.651 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.774e-06/9.711, allocations: 0 / 3.651 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/9.711, allocations: 3.516 kB / 3.651 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/9.715, allocations: 2.773 MB / 3.654 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/9.715, allocations: 0 / 3.654 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/9.716, allocations: 261.6 kB / 3.654 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/9.716, allocations: 3.906 kB / 3.654 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/9.717, allocations: 19.19 kB / 3.654 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.591e-06/9.717, allocations: 7.688 kB / 3.654 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-06/9.717, allocations: 3.875 kB / 3.654 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/9.72, allocations: 2.624 MB / 3.657 GB, free: 24.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/9.721, allocations: 0.5311 MB / 3.658 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/9.722, allocations: 19.75 kB / 3.658 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/9.723, allocations: 125.9 kB / 3.658 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/9.723, allocations: 91.09 kB / 3.658 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/9.723, allocations: 27.44 kB / 3.658 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001286/9.724, allocations: 0.7115 MB / 3.658 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.914e-06/9.725, allocations: 0 / 3.658 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007161/9.732, allocations: 1.727 MB / 3.66 GB, free: 23.48 MB / 0.5105 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 ($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.008701/9.74, allocations: 1.966 MB / 3.662 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004325/9.745, allocations: 2.201 MB / 3.664 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.128e-06/9.745, allocations: 7.938 kB / 3.664 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/9.747, allocations: 1.324 MB / 3.666 GB, free: 21.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/9.75, allocations: 0.5856 MB / 3.666 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6141/10.36, allocations: 125.5 MB / 3.789 GB, free: 44.49 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/10.37, allocations: 1.656 MB / 3.79 GB, free: 43.72 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004385/10.37, allocations: 2.006 MB / 3.792 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/10.37, allocations: 119.1 kB / 3.792 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of SimCode: time 1.768e-06/10.37, allocations: 0 / 3.792 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of Templates: time 0.1103/10.48, allocations: 60.05 MB / 3.851 GB, free: 30.73 MB / 0.5105 GB