Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,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",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.76e-05, allocations: 0 / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.3784, allocations: 54.86 MB / 362.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.1113/0.4898, allocations: 52.03 MB / 414.9 MB, free: 9.613 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05185/0.5418, allocations: 19.93 MB / 434.8 MB, free: 5.645 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.5438, allocations: 55.56 kB / 434.9 MB, free: 5.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002846/0.5467, allocations: 0.6843 MB / 435.6 MB, free: 4.902 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01321/0.56, allocations: 3.322 MB / 438.9 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01911/0.5791, allocations: 4.59 MB / 443.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003671/0.5828, allocations: 1.362 MB / 444.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.5841, allocations: 0.4969 MB / 445.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/0.5871, allocations: 0.861 MB / 446.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.5886, allocations: 0.5374 MB / 446.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02245/0.6111, allocations: 7.426 MB / 454.2 MB, free: 2.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003671/0.6148, allocations: 452 kB / 454.6 MB, free: 1.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007152/0.6156, allocations: 219.2 kB / 454.8 MB, free: 1.625 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005963/0.6162, allocations: 136 kB / 455 MB, free: 1.492 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01159/0.6278, allocations: 3.925 MB / 458.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6279, allocations: 0 / 458.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.6279, allocations: 0 / 458.9 MB, free: 13.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.6279, allocations: 3.938 kB / 458.9 MB, free: 13.55 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007243/0.6352, allocations: 1.938 MB / 460.8 MB, free: 11.56 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.6353, allocations: 8.031 kB / 460.8 MB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007976/0.6432, allocations: 0.6619 MB / 461.5 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.6454, allocations: 0.7564 MB / 462.3 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.6456, allocations: 86 kB / 462.3 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002107/0.6458, allocations: 84 kB / 462.4 MB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007425/0.6532, allocations: 1.719 MB / 464.1 MB, free: 8.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.357e-05/0.6533, allocations: 15.86 kB / 464.2 MB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.6535, allocations: 44 kB / 464.2 MB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.6e-05/0.6536, allocations: 24 kB / 464.2 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008308/0.6619, allocations: 1.662 MB / 465.9 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/0.6765, allocations: 7.393 MB / 473.3 MB, free: 14.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006762/0.6833, allocations: 1.226 MB / 474.5 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07357/0.7569, allocations: 17.77 MB / 492.3 MB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/0.757, allocations: 55.06 kB / 492.3 MB, free: 9.598 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.767e-06/0.7571, allocations: 0 / 492.3 MB, free: 9.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.01107/0.7681, allocations: 2.082 MB / 494.4 MB, free: 7.512 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/0.7683, allocations: 222.1 kB / 494.6 MB, free: 7.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.7696, allocations: 0.6016 MB / 495.2 MB, free: 6.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.7698, allocations: 37.7 kB / 495.3 MB, free: 6.594 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.7703, allocations: 0.5294 MB / 495.8 MB, free: 6.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.7707, allocations: 236.7 kB / 496 MB, free: 5.82 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.616e-05/0.7707, allocations: 20 kB / 496 MB, free: 5.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.771, allocations: 390.8 kB / 496.4 MB, free: 5.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.7727, allocations: 378.4 kB / 496.8 MB, free: 5.039 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002075/0.7748, allocations: 0.7837 MB / 497.6 MB, free: 4.059 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.7768, allocations: 465.8 kB / 498 MB, free: 3.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.7768, allocations: 4 kB / 498 MB, free: 3.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004918/0.7818, allocations: 1.24 MB / 499.3 MB, free: 2.352 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3182/1.1, allocations: 5.049 MB / 0.4925 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/1.1, allocations: 13.44 kB / 0.4925 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.488e-05/1.1, allocations: 27.27 kB / 0.4925 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.102, allocations: 297.8 kB / 0.4928 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.455e-05/1.103, allocations: 29.06 kB / 0.4929 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.104, allocations: 179.4 kB / 0.493 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/1.105, allocations: 61.81 kB / 0.4931 GB, free: 122.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.105, allocations: 3.938 kB / 0.4931 GB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004858/1.11, allocations: 1.117 MB / 0.4942 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/1.11, allocations: 15.34 kB / 0.4942 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.149e-05/1.11, allocations: 20.28 kB / 0.4942 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/1.112, allocations: 296.9 kB / 0.4945 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.407e-05/1.112, allocations: 30.55 kB / 0.4945 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.113, allocations: 152.5 kB / 0.4947 GB, free: 122.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/1.114, allocations: 64.58 kB / 0.4947 GB, free: 122.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (127): * Single equations (assignments): 127 * 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.000764/1.115, allocations: 269.7 kB / 0.495 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003168/1.115, allocations: 94.28 kB / 0.4951 GB, free: 122.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008976/1.124, allocations: 4.65 MB / 0.4996 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.587e-05/1.124, allocations: 67.72 kB / 0.4997 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.124, allocations: 0 / 0.4997 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/1.124, allocations: 3.656 kB / 0.4997 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/1.127, allocations: 2.164 MB / 0.5018 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.127, allocations: 0 / 0.5018 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.129, allocations: 224.4 kB / 0.502 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.539e-05/1.129, allocations: 3.938 kB / 0.502 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/1.129, allocations: 21.81 kB / 0.502 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.129, allocations: 3.969 kB / 0.502 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.129, allocations: 0 / 0.502 GB, free: 119.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/1.134, allocations: 2.285 MB / 0.5043 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.135, allocations: 447.5 kB / 0.5047 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/1.136, allocations: 19.88 kB / 0.5047 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.137, allocations: 101.4 kB / 0.5048 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/1.137, allocations: 76.52 kB / 0.5049 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/1.137, allocations: 25.62 kB / 0.5049 GB, free: 117.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00104/1.138, allocations: 0.5712 MB / 0.5055 GB, free: 117.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.138, allocations: 0 / 0.5055 GB, free: 117.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005473/1.144, allocations: 1.436 MB / 0.5069 GB, free: 117.4 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: 42 ($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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.006666/1.151, allocations: 1.319 MB / 0.5082 GB, free: 116.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005837/1.157, allocations: 2.082 MB / 0.5102 GB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.157, allocations: 0 / 0.5102 GB, free: 114.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/1.159, allocations: 1.139 MB / 0.5113 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/1.163, allocations: 463.9 kB / 0.5118 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008583/1.172, allocations: 4.514 MB / 0.5162 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009922/1.173, allocations: 1.432 MB / 0.5176 GB, free: 107.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003959/1.177, allocations: 1.512 MB / 0.519 GB, free: 105.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.177, allocations: 91.41 kB / 0.5191 GB, free: 105.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/1.177, allocations: 0 / 0.5191 GB, free: 105.6 MB / 426.7 MB Notification: Performance of Templates: time 0.09712/1.274, allocations: 42.51 MB / 0.5606 GB, free: 63.14 MB / 426.7 MB