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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.092e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4141, allocations: 54.85 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.1575/0.5716, allocations: 66.39 MB / 429.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04738/0.6191, allocations: 22.99 MB / 452.2 MB, free: 4.254 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.6214, allocations: 71.44 kB / 452.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003678/0.6252, allocations: 0.9176 MB / 453.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.6396, allocations: 3.657 MB / 456.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02153/0.6612, allocations: 5.562 MB / 462.4 MB, free: 10.03 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004831/0.6661, allocations: 1.793 MB / 464.2 MB, free: 8.23 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.6678, allocations: 0.6542 MB / 464.9 MB, free: 7.574 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.6714, allocations: 1.099 MB / 466 MB, free: 6.473 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001835/0.6733, allocations: 0.7126 MB / 466.7 MB, free: 5.758 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0236/0.6969, allocations: 7.804 MB / 474.5 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003677/0.7007, allocations: 472 kB / 475 MB, free: 13.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008144/0.7015, allocations: 302.8 kB / 475.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007423/0.7023, allocations: 176 kB / 475.4 MB, free: 13.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.7148, allocations: 4.455 MB / 479.9 MB, free: 8.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7148, allocations: 0 / 479.9 MB, free: 8.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7148, allocations: 4 kB / 479.9 MB, free: 8.547 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.724e-05/0.7149, allocations: 4 kB / 479.9 MB, free: 8.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.008609/0.7235, allocations: 2.29 MB / 482.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.7236, allocations: 8.031 kB / 482.2 MB, free: 6.191 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.7343, allocations: 0.8801 MB / 483.1 MB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.7369, allocations: 0.9469 MB / 484 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.7372, allocations: 102.4 kB / 484.1 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.7375, allocations: 116 kB / 484.2 MB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009451/0.7469, allocations: 2.267 MB / 486.5 MB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.32e-05/0.747, allocations: 3.938 kB / 486.5 MB, free: 1.672 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002463/0.7473, allocations: 52 kB / 486.6 MB, free: 1.621 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.7474, allocations: 32 kB / 486.6 MB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.7582, allocations: 2.166 MB / 488.8 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01791/0.7762, allocations: 10.11 MB / 498.9 MB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007712/0.7839, allocations: 1.549 MB / 0.4887 GB, free: 2.914 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3651/1.149, allocations: 17.23 MB / 0.5055 GB, free: 116.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/1.149, allocations: 41.44 kB / 0.5056 GB, free: 116.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=80): time 3.697e-06/1.149, allocations: 0 / 0.5056 GB, free: 116.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=80): time 0.01244/1.162, allocations: 2.545 MB / 0.508 GB, free: 115.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.163e-05/1.162, allocations: 272 kB / 0.5083 GB, free: 115.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.163, allocations: 0.8403 MB / 0.5091 GB, free: 115.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.164, allocations: 40.61 kB / 0.5092 GB, free: 115.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/1.164, allocations: 0.6892 MB / 0.5098 GB, free: 114.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/1.165, allocations: 283.1 kB / 0.5101 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.832e-05/1.165, allocations: 27.88 kB / 0.5101 GB, free: 114.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/1.165, allocations: 362.3 kB / 0.5105 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/1.167, allocations: 468.9 kB / 0.5109 GB, free: 113.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/1.169, allocations: 1.058 MB / 0.512 GB, free: 112.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/1.171, allocations: 0.5876 MB / 0.5125 GB, free: 112.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/1.171, allocations: 8.984 kB / 0.5125 GB, free: 112.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005455/1.177, allocations: 1.538 MB / 0.514 GB, free: 110.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001488/1.178, allocations: 7.321 MB / 0.5212 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-05/1.178, allocations: 20 kB / 0.5212 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.196e-05/1.178, allocations: 28 kB / 0.5212 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.181, allocations: 391.4 kB / 0.5216 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.037e-05/1.181, allocations: 47.81 kB / 0.5217 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.183, allocations: 259 kB / 0.5219 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/1.184, allocations: 85.28 kB / 0.522 GB, free: 102 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/1.184, allocations: 4 kB / 0.522 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004994/1.189, allocations: 1.447 MB / 0.5234 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.538e-05/1.189, allocations: 16 kB / 0.5234 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/1.189, allocations: 32 kB / 0.5234 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/1.191, allocations: 388.1 kB / 0.5238 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.152e-05/1.191, allocations: 39.86 kB / 0.5239 GB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.193, allocations: 210 kB / 0.5241 GB, free: 99.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.193, allocations: 87.97 kB / 0.5241 GB, free: 99.8 MB / 426.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.0008163/1.194, allocations: 325.2 kB / 0.5244 GB, free: 99.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/1.194, allocations: 126.5 kB / 0.5246 GB, free: 99.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009677/1.204, allocations: 5.94 MB / 0.5304 GB, free: 93.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.009e-05/1.204, allocations: 84.94 kB / 0.5305 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.204, allocations: 0 / 0.5305 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.29e-05/1.204, allocations: 3.984 kB / 0.5305 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/1.208, allocations: 2.774 MB / 0.5332 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.208, allocations: 0 / 0.5332 GB, free: 90.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001629/1.21, allocations: 267.6 kB / 0.5334 GB, free: 90.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-05/1.21, allocations: 4 kB / 0.5334 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/1.21, allocations: 24 kB / 0.5334 GB, free: 90.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.21, allocations: 4 kB / 0.5334 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.21, allocations: 0 / 0.5334 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/1.215, allocations: 2.832 MB / 0.5362 GB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.216, allocations: 0.5316 MB / 0.5367 GB, free: 86.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/1.217, allocations: 23.94 kB / 0.5368 GB, free: 86.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/1.218, allocations: 119.8 kB / 0.5369 GB, free: 86.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/1.219, allocations: 87.73 kB / 0.537 GB, free: 86.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.881e-05/1.219, allocations: 31.98 kB / 0.537 GB, free: 86.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001477/1.22, allocations: 0.7466 MB / 0.5377 GB, free: 85.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.22, allocations: 0 / 0.5377 GB, free: 85.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00589/1.226, allocations: 1.607 MB / 0.5393 GB, free: 84.27 MB / 426.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.007033/1.233, allocations: 1.37 MB / 0.5406 GB, free: 83.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007221/1.24, allocations: 2.608 MB / 0.5432 GB, free: 80.51 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.24, allocations: 1.125 kB / 0.5432 GB, free: 80.51 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/1.243, allocations: 1.437 MB / 0.5446 GB, free: 79.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005286/1.248, allocations: 0.5796 MB / 0.5451 GB, free: 78.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009954/1.258, allocations: 5.757 MB / 0.5508 GB, free: 72.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/1.26, allocations: 1.646 MB / 0.5524 GB, free: 71.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006234/1.26, allocations: 135.4 kB / 0.5525 GB, free: 70.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.482e-06/1.26, allocations: 4 kB / 0.5525 GB, free: 70.98 MB / 426.7 MB Notification: Performance of Templates: time 0.08534/1.346, allocations: 42.85 MB / 0.5943 GB, free: 28.13 MB / 426.7 MB