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.452/2.452, allocations: 234.9 MB / 249.4 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.889e-05/2.872e-05, allocations: 4 kB / 308 MB, free: 320 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3826, allocations: 54.87 MB / 362.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.1232/0.5058, allocations: 66.4 MB / 429.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05178/0.5577, allocations: 22.99 MB / 452.3 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002882/0.5606, allocations: 71.44 kB / 452.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003787/0.5645, allocations: 0.9137 MB / 453.3 MB, free: 1.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01637/0.5809, allocations: 3.653 MB / 456.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02415/0.6051, allocations: 5.566 MB / 462.5 MB, free: 8.016 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.6102, allocations: 1.797 MB / 464.3 MB, free: 6.215 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001691/0.6119, allocations: 0.6466 MB / 464.9 MB, free: 5.566 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.6158, allocations: 1.103 MB / 466 MB, free: 4.461 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.6181, allocations: 0.7126 MB / 466.7 MB, free: 3.746 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02601/0.6442, allocations: 7.804 MB / 474.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003495/0.6477, allocations: 472 kB / 475 MB, free: 11.47 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008328/0.6486, allocations: 294.9 kB / 475.3 MB, free: 11.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008129/0.6494, allocations: 176 kB / 475.5 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01429/0.6637, allocations: 4.455 MB / 479.9 MB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.6638, allocations: 0 / 479.9 MB, free: 6.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.6638, allocations: 4 kB / 479.9 MB, free: 6.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.76e-05/0.6639, allocations: 0 / 479.9 MB, free: 6.543 MB / 410.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.009384/0.6733, allocations: 2.301 MB / 482.2 MB, free: 4.188 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.6734, allocations: 8.031 kB / 482.2 MB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.6846, allocations: 0.8762 MB / 483.1 MB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00336/0.688, allocations: 0.9391 MB / 484 MB, free: 2.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.6884, allocations: 102.4 kB / 484.1 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005339/0.6889, allocations: 120 kB / 484.3 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3259/1.015, allocations: 2.257 MB / 486.5 MB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.186e-05/1.015, allocations: 10.11 kB / 486.5 MB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/1.015, allocations: 55.25 kB / 486.6 MB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/1.015, allocations: 31.06 kB / 486.6 MB, free: 108.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/1.027, allocations: 2.164 MB / 488.8 MB, free: 108.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/1.045, allocations: 10.11 MB / 498.9 MB, free: 100.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007382/1.052, allocations: 1.546 MB / 0.4887 GB, free: 100 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06454/1.117, allocations: 17.24 MB / 0.5055 GB, free: 86.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.526e-05/1.117, allocations: 48.09 kB / 0.5056 GB, free: 86.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 4.187e-06/1.117, allocations: 0 / 0.5056 GB, free: 86.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.01318/1.13, allocations: 2.534 MB / 0.5081 GB, free: 83.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.878e-05/1.13, allocations: 265.7 kB / 0.5083 GB, free: 83.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/1.132, allocations: 0.8537 MB / 0.5091 GB, free: 82.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002042/1.132, allocations: 41.7 kB / 0.5092 GB, free: 82.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000489/1.133, allocations: 0.6843 MB / 0.5099 GB, free: 81.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/1.133, allocations: 278.5 kB / 0.5101 GB, free: 81.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.133, allocations: 28 kB / 0.5101 GB, free: 81.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/1.133, allocations: 356.3 kB / 0.5105 GB, free: 81.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001876/1.135, allocations: 475.7 kB / 0.5109 GB, free: 80.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/1.137, allocations: 1.057 MB / 0.512 GB, free: 79.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/1.14, allocations: 0.5861 MB / 0.5125 GB, free: 78.64 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/1.14, allocations: 4 kB / 0.5125 GB, free: 78.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005488/1.145, allocations: 1.612 MB / 0.5141 GB, free: 77.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001606/1.147, allocations: 7.31 MB / 0.5213 GB, free: 69.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-05/1.147, allocations: 16 kB / 0.5213 GB, free: 69.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.841e-05/1.147, allocations: 32 kB / 0.5213 GB, free: 69.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/1.15, allocations: 395.4 kB / 0.5217 GB, free: 68.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.577e-05/1.15, allocations: 50.8 kB / 0.5217 GB, free: 68.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.152, allocations: 262.2 kB / 0.522 GB, free: 68.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/1.153, allocations: 83.48 kB / 0.5221 GB, free: 68.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.153, allocations: 8 kB / 0.5221 GB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005323/1.158, allocations: 1.447 MB / 0.5235 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.091e-05/1.158, allocations: 20 kB / 0.5235 GB, free: 66.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.949e-05/1.158, allocations: 28 kB / 0.5235 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/1.161, allocations: 391.5 kB / 0.5239 GB, free: 66.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.242e-05/1.161, allocations: 39.86 kB / 0.5239 GB, free: 66.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/1.163, allocations: 214.8 kB / 0.5241 GB, free: 66.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/1.163, allocations: 83.98 kB / 0.5242 GB, free: 66.13 MB / 410.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.001197/1.165, allocations: 325 kB / 0.5245 GB, free: 65.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005016/1.165, allocations: 134.5 kB / 0.5247 GB, free: 65.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/1.177, allocations: 5.926 MB / 0.5304 GB, free: 59.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-05/1.177, allocations: 83.86 kB / 0.5305 GB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/1.177, allocations: 3.984 kB / 0.5305 GB, free: 59.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/1.177, allocations: 11.92 kB / 0.5305 GB, free: 59.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/1.181, allocations: 2.771 MB / 0.5333 GB, free: 56.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-05/1.181, allocations: 3.438 kB / 0.5333 GB, free: 56.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.183, allocations: 251.7 kB / 0.5335 GB, free: 56.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/1.183, allocations: 4 kB / 0.5335 GB, free: 56.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.583e-05/1.183, allocations: 31.98 kB / 0.5335 GB, free: 56.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/1.183, allocations: 4 kB / 0.5335 GB, free: 56.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.183, allocations: 0 / 0.5335 GB, free: 56.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00497/1.188, allocations: 2.832 MB / 0.5363 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/1.189, allocations: 0.5277 MB / 0.5368 GB, free: 53.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003256/1.189, allocations: 23.95 kB / 0.5368 GB, free: 53.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/1.191, allocations: 123.6 kB / 0.537 GB, free: 52.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/1.191, allocations: 88.86 kB / 0.537 GB, free: 52.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-05/1.191, allocations: 32 kB / 0.5371 GB, free: 52.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00141/1.192, allocations: 0.7543 MB / 0.5378 GB, free: 52.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.192, allocations: 0 / 0.5378 GB, free: 52.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005774/1.198, allocations: 1.601 MB / 0.5394 GB, free: 50.59 MB / 410.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,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.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.007394/1.206, allocations: 1.363 MB / 0.5407 GB, free: 49.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007692/1.213, allocations: 2.64 MB / 0.5433 GB, free: 46.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/1.214, allocations: 0 / 0.5433 GB, free: 46.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/1.216, allocations: 1.434 MB / 0.5447 GB, free: 45.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005611/1.222, allocations: 0.5922 MB / 0.5453 GB, free: 44.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/1.234, allocations: 5.715 MB / 0.5508 GB, free: 39.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.235, allocations: 1.66 MB / 0.5525 GB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005765/1.241, allocations: 2.008 MB / 0.5544 GB, free: 35.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/1.242, allocations: 115.4 kB / 0.5545 GB, free: 35.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/1.242, allocations: 0 / 0.5545 GB, free: 35.29 MB / 410.7 MB Notification: Performance of Templates: time 0.1664/1.408, allocations: 48.82 MB / 0.6022 GB, free: 2.484 MB / 426.7 MB