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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 1.819/1.819, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.621e-05, allocations: 4 kB / 273.1 MB, free: 0.7266 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08553, allocations: 48.7 MB / 321.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.975/6.061, allocations: 2.497 GB / 2.811 GB, free: 115.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/6.061, allocations: 82.84 kB / 2.811 GB, free: 115.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.534/8.595, allocations: 0.6182 GB / 3.429 GB, free: 31.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.031e-06/8.595, allocations: 0 / 3.429 GB, free: 31.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001036/8.595, allocations: 43.88 kB / 3.429 GB, free: 31.67 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.007831/8.603, allocations: 2.353 MB / 3.432 GB, free: 30.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/8.603, allocations: 11.03 kB / 3.432 GB, free: 30.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009817/8.613, allocations: 0.9006 MB / 3.433 GB, free: 30.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/8.615, allocations: 1.059 MB / 3.434 GB, free: 29.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/8.615, allocations: 109.7 kB / 3.434 GB, free: 29.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/8.616, allocations: 113.6 kB / 3.434 GB, free: 29.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006311/8.622, allocations: 2.23 MB / 3.436 GB, free: 28.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/8.622, allocations: 3.938 kB / 3.436 GB, free: 28.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002054/8.622, allocations: 62.7 kB / 3.436 GB, free: 28.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/8.622, allocations: 29.72 kB / 3.436 GB, free: 28.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006043/8.628, allocations: 1.947 MB / 3.438 GB, free: 27.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/8.64, allocations: 10.08 MB / 3.448 GB, free: 18.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004976/8.645, allocations: 1.472 MB / 3.449 GB, free: 18.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000675/8.645, allocations: 379.1 kB / 3.45 GB, free: 17.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0404/8.686, allocations: 17.1 MB / 3.466 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/8.686, allocations: 43.34 kB / 3.466 GB, free: 15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=80): time 4.359e-06/8.686, allocations: 4 kB / 3.466 GB, free: 15 MB / 474.7 MB Notification: Performance of matching and sorting (n=80): time 0.009247/8.695, allocations: 2.216 MB / 3.469 GB, free: 12.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001837/8.695, allocations: 269.8 kB / 3.469 GB, free: 12.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/8.697, allocations: 0.812 MB / 3.47 GB, free: 11.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/8.697, allocations: 41.7 kB / 3.47 GB, free: 11.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006452/8.698, allocations: 0.6887 MB / 3.47 GB, free: 10.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/8.698, allocations: 285 kB / 3.471 GB, free: 10.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.265e-05/8.698, allocations: 24 kB / 3.471 GB, free: 10.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/8.699, allocations: 358.8 kB / 3.471 GB, free: 10.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/8.7, allocations: 331.9 kB / 3.471 GB, free: 9.895 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/8.701, allocations: 0.9161 MB / 3.472 GB, free: 8.699 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/8.702, allocations: 476.4 kB / 3.473 GB, free: 8.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/8.702, allocations: 8 kB / 3.473 GB, free: 8.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003049/8.705, allocations: 1.207 MB / 3.474 GB, free: 7.023 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3337/9.039, allocations: 7.323 MB / 3.481 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.447e-05/9.039, allocations: 18 kB / 3.481 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.496e-05/9.039, allocations: 29.78 kB / 3.481 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/9.041, allocations: 394.5 kB / 3.481 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-05/9.041, allocations: 38.67 kB / 3.481 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/9.043, allocations: 262.2 kB / 3.482 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/9.044, allocations: 84.81 kB / 3.482 GB, free: 51.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/9.044, allocations: 6.812 kB / 3.482 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002779/9.046, allocations: 1.122 MB / 3.483 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/9.046, allocations: 20.56 kB / 3.483 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.569e-05/9.046, allocations: 30.91 kB / 3.483 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/9.048, allocations: 393.3 kB / 3.483 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-05/9.048, allocations: 40.19 kB / 3.483 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/9.05, allocations: 214 kB / 3.483 GB, free: 51.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/9.05, allocations: 83.69 kB / 3.484 GB, free: 51.5 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.0004577/9.051, allocations: 205.6 kB / 3.484 GB, free: 51.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003976/9.051, allocations: 121.8 kB / 3.484 GB, free: 51.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008259/9.059, allocations: 5.747 MB / 3.489 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-05/9.06, allocations: 79.67 kB / 3.49 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/9.06, allocations: 0 / 3.49 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/9.06, allocations: 6.859 kB / 3.49 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005836/9.065, allocations: 2.779 MB / 3.492 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.023e-05/9.066, allocations: 0 / 3.492 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002767/9.068, allocations: 257.2 kB / 3.493 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-05/9.068, allocations: 5.656 kB / 3.493 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/9.069, allocations: 23.02 kB / 3.493 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.151e-05/9.069, allocations: 4.219 kB / 3.493 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.456e-06/9.069, allocations: 0.75 kB / 3.493 GB, free: 50.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009339/9.078, allocations: 2.632 MB / 3.495 GB, free: 50.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/9.08, allocations: 0.5245 MB / 3.496 GB, free: 49.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005911/9.081, allocations: 20.62 kB / 3.496 GB, free: 49.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/9.084, allocations: 127.3 kB / 3.496 GB, free: 49.89 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/9.084, allocations: 84.94 kB / 3.496 GB, free: 49.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/9.084, allocations: 34.53 kB / 3.496 GB, free: 49.89 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003045/9.088, allocations: 0.7126 MB / 3.497 GB, free: 49.77 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.889e-06/9.088, allocations: 0 / 3.497 GB, free: 49.77 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01473/9.102, allocations: 1.717 MB / 3.498 GB, free: 49.66 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.01695/9.119, allocations: 1.966 MB / 3.5 GB, free: 49.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008743/9.128, allocations: 2.177 MB / 3.502 GB, free: 49.42 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-05/9.128, allocations: 2.375 kB / 3.502 GB, free: 49.42 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/9.132, allocations: 1.325 MB / 3.504 GB, free: 49.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007819/9.14, allocations: 0.5815 MB / 3.504 GB, free: 49.39 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2553/9.395, allocations: 123.1 MB / 3.624 GB, free: 20.58 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/9.396, allocations: 1.647 MB / 3.626 GB, free: 19.24 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000541/9.397, allocations: 139.5 kB / 3.626 GB, free: 19.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.736e-06/9.397, allocations: 0 / 3.626 GB, free: 19.12 MB / 474.7 MB Notification: Performance of Templates: time 0.3719/9.769, allocations: 45.46 MB / 3.671 GB, free: 62.69 MB / 490.7 MB