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_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadModel(ModelicaTest): time 2.042/2.042, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.468e-05/3.459e-05, allocations: 11.92 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.361, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients): time 0.1288/0.4899, allocations: 65.86 MB / 390.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04788/0.5379, allocations: 22.76 MB / 413.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.5404, allocations: 67.44 kB / 413.6 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004144/0.5446, allocations: 0.9176 MB / 414.5 MB, free: 5.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01609/0.5607, allocations: 3.634 MB / 418.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.022/0.5828, allocations: 5.498 MB / 423.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004922/0.5877, allocations: 1.754 MB / 425.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.5893, allocations: 0.6388 MB / 426 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003824/0.5932, allocations: 1.087 MB / 427.1 MB, free: 9.086 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.5953, allocations: 0.701 MB / 427.8 MB, free: 8.383 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02382/0.6191, allocations: 7.625 MB / 435.4 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003525/0.6227, allocations: 460 kB / 435.9 MB, free: 308 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008054/0.6236, allocations: 291 kB / 436.2 MB, free: 16 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008418/0.6244, allocations: 176 kB / 436.3 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01335/0.6378, allocations: 4.377 MB / 440.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6378, allocations: 0 / 440.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6379, allocations: 0 / 440.7 MB, free: 11.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.748e-05/0.638, allocations: 0 / 440.7 MB, free: 11.46 MB / 378.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.008361/0.6463, allocations: 2.231 MB / 442.9 MB, free: 9.172 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6464, allocations: 8.031 kB / 442.9 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/0.6566, allocations: 0.8332 MB / 443.8 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.6593, allocations: 0.9469 MB / 444.7 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.6595, allocations: 98.38 kB / 444.8 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/0.6598, allocations: 116 kB / 444.9 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009389/0.6692, allocations: 2.26 MB / 447.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.6693, allocations: 7.922 kB / 447.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002498/0.6696, allocations: 52 kB / 447.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/0.6696, allocations: 32 kB / 447.3 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.6805, allocations: 2.17 MB / 449.5 MB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01847/0.699, allocations: 10.11 MB / 459.6 MB, free: 7.496 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007776/0.7068, allocations: 1.545 MB / 461.1 MB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0694/0.7763, allocations: 17.22 MB / 478.3 MB, free: 3.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.7764, allocations: 43.22 kB / 478.4 MB, free: 2.992 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 3.717e-06/0.7764, allocations: 3.938 kB / 478.4 MB, free: 2.988 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.01338/0.7898, allocations: 2.541 MB / 480.9 MB, free: 448 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000198/0.79, allocations: 277.6 kB / 481.2 MB, free: 108 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2656/1.056, allocations: 0.8418 MB / 482 MB, free: 133.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/1.056, allocations: 41.58 kB / 482.1 MB, free: 133.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/1.057, allocations: 0.679 MB / 482.8 MB, free: 133.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003583/1.057, allocations: 288.8 kB / 483 MB, free: 133.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/1.057, allocations: 24.78 kB / 483.1 MB, free: 133.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/1.057, allocations: 355.4 kB / 483.4 MB, free: 132.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002059/1.059, allocations: 473.7 kB / 483.9 MB, free: 132.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002455/1.062, allocations: 1.05 MB / 484.9 MB, free: 131.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/1.064, allocations: 0.5926 MB / 485.5 MB, free: 131.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/1.064, allocations: 6.469 kB / 485.5 MB, free: 131.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006017/1.07, allocations: 1.596 MB / 487.1 MB, free: 131.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001514/1.072, allocations: 7.313 MB / 494.4 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.968e-05/1.072, allocations: 19.25 kB / 494.4 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-05/1.072, allocations: 32.45 kB / 494.5 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/1.075, allocations: 395.5 kB / 494.9 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.448e-05/1.075, allocations: 39.27 kB / 494.9 MB, free: 123.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/1.077, allocations: 263.4 kB / 495.2 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/1.078, allocations: 80.02 kB / 495.2 MB, free: 123.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.078, allocations: 7.5 kB / 495.2 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005767/1.083, allocations: 1.453 MB / 496.7 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-05/1.084, allocations: 19.09 kB / 496.7 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.041e-05/1.084, allocations: 28.94 kB / 496.7 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/1.086, allocations: 394.3 kB / 497.1 MB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.209e-05/1.086, allocations: 41.33 kB / 497.2 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/1.088, allocations: 210.6 kB / 497.4 MB, free: 122.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/1.089, allocations: 83.23 kB / 497.5 MB, free: 122.7 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.0008978/1.09, allocations: 327.1 kB / 497.8 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003699/1.09, allocations: 126.5 kB / 497.9 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.101, allocations: 5.936 MB / 0.492 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000121/1.102, allocations: 89.98 kB / 0.4921 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.102, allocations: 1.312 kB / 0.4921 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/1.102, allocations: 6.234 kB / 0.4921 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004668/1.106, allocations: 2.773 MB / 0.4948 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/1.106, allocations: 1.078 kB / 0.4948 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.108, allocations: 258.1 kB / 0.4951 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.516e-05/1.108, allocations: 4.625 kB / 0.4951 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/1.108, allocations: 29.02 kB / 0.4951 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/1.108, allocations: 3.562 kB / 0.4951 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.108, allocations: 0 / 0.4951 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005754/1.114, allocations: 2.828 MB / 0.4979 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.115, allocations: 0.5276 MB / 0.4984 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/1.116, allocations: 21.84 kB / 0.4984 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.117, allocations: 126.4 kB / 0.4985 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002296/1.117, allocations: 82.17 kB / 0.4986 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.678e-05/1.117, allocations: 35.38 kB / 0.4986 GB, free: 116.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001486/1.119, allocations: 0.7503 MB / 0.4994 GB, free: 116.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.119, allocations: 0 / 0.4994 GB, free: 116.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005989/1.125, allocations: 1.6 MB / 0.5009 GB, free: 116.1 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.007188/1.132, allocations: 1.367 MB / 0.5023 GB, free: 115.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007685/1.14, allocations: 2.638 MB / 0.5048 GB, free: 115 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.14, allocations: 1.719 kB / 0.5048 GB, free: 115 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002741/1.143, allocations: 1.439 MB / 0.5063 GB, free: 114.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005484/1.148, allocations: 0.5957 MB / 0.5068 GB, free: 113.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.158, allocations: 5.711 MB / 0.5124 GB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1.16, allocations: 1.66 MB / 0.514 GB, free: 106.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005008/1.165, allocations: 1.999 MB / 0.516 GB, free: 104.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004921/1.165, allocations: 119.4 kB / 0.5161 GB, free: 104.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.165, allocations: 0 / 0.5161 GB, free: 104.4 MB / 410.7 MB Notification: Performance of Templates: time 0.1041/1.269, allocations: 48.65 MB / 0.5636 GB, free: 55.81 MB / 410.7 MB