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.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.658e-05/3.649e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3677, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible): time 0.09075/0.4586, allocations: 51.63 MB / 376.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04355/0.5022, allocations: 19.75 MB / 396.3 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.5042, allocations: 51.62 kB / 396.3 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00311/0.5074, allocations: 0.6882 MB / 397 MB, free: 7.242 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01434/0.5218, allocations: 3.299 MB / 400.3 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0188/0.5406, allocations: 4.544 MB / 404.8 MB, free: 15.39 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.004232/0.5449, allocations: 1.335 MB / 406.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001318/0.5463, allocations: 496.9 kB / 406.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003193/0.5495, allocations: 0.8531 MB / 407.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.5509, allocations: 0.5258 MB / 408 MB, free: 12.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02167/0.5726, allocations: 7.274 MB / 415.3 MB, free: 4.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00317/0.5758, allocations: 440 kB / 415.7 MB, free: 4.465 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005596/0.5764, allocations: 227.2 kB / 416 MB, free: 4.242 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005199/0.5769, allocations: 132 kB / 416.1 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.5877, allocations: 3.855 MB / 420 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5878, allocations: 0 / 420 MB, free: 256 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5878, allocations: 0 / 420 MB, free: 256 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.5878, allocations: 8 kB / 420 MB, free: 248 kB / 346.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.006917/0.5948, allocations: 1.88 MB / 421.8 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.5948, allocations: 12.03 kB / 421.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007635/0.6025, allocations: 0.623 MB / 422.5 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.6045, allocations: 0.7525 MB / 423.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.6047, allocations: 81.95 kB / 423.3 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/0.6049, allocations: 88 kB / 423.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007037/0.6119, allocations: 1.735 MB / 425.1 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.424e-05/0.612, allocations: 3.938 kB / 425.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/0.6122, allocations: 44 kB / 425.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.6123, allocations: 24 kB / 425.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007992/0.6203, allocations: 1.662 MB / 426.9 MB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01739/0.6377, allocations: 7.401 MB / 434.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006117/0.6439, allocations: 1.211 MB / 435.5 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07258/0.7165, allocations: 17.74 MB / 453.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.7166, allocations: 39.12 kB / 453.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 6.703e-06/0.7166, allocations: 0 / 453.2 MB, free: 12.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.01077/0.7274, allocations: 2.086 MB / 455.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.7275, allocations: 218.2 kB / 455.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.7287, allocations: 0.6055 MB / 456.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.422e-05/0.7288, allocations: 37.7 kB / 456.2 MB, free: 9.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000569/0.7294, allocations: 0.5294 MB / 456.7 MB, free: 8.883 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.7297, allocations: 232.7 kB / 456.9 MB, free: 8.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/0.7297, allocations: 20 kB / 457 MB, free: 8.633 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.73, allocations: 402.6 kB / 457.4 MB, free: 8.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.7316, allocations: 370.4 kB / 457.7 MB, free: 7.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.7336, allocations: 0.7876 MB / 458.5 MB, free: 6.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/0.7353, allocations: 465.8 kB / 459 MB, free: 6.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.7354, allocations: 4 kB / 459 MB, free: 6.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004387/0.7398, allocations: 1.236 MB / 460.2 MB, free: 5.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0022/0.742, allocations: 5.055 MB / 465.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/0.742, allocations: 12 kB / 465.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.576e-05/0.7421, allocations: 20 kB / 465.3 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.7441, allocations: 303.5 kB / 465.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-05/0.7441, allocations: 27.92 kB / 465.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.7457, allocations: 190.7 kB / 465.8 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.7459, allocations: 71.91 kB / 465.9 MB, free: 15.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7459, allocations: 4 kB / 465.9 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004096/0.75, allocations: 1.118 MB / 467 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/0.7501, allocations: 16.06 kB / 467 MB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/0.7501, allocations: 24 kB / 467 MB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/0.7519, allocations: 291.6 kB / 467.3 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.501e-05/0.752, allocations: 27.92 kB / 467.3 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.7533, allocations: 155.2 kB / 467.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.7535, allocations: 55.98 kB / 467.6 MB, free: 13.44 MB / 410.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.0006202/0.7541, allocations: 273.5 kB / 467.8 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/0.7544, allocations: 94.83 kB / 467.9 MB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009496/0.7639, allocations: 4.651 MB / 472.6 MB, free: 8.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-05/0.764, allocations: 63.89 kB / 472.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.764, allocations: 0 / 472.6 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.7641, allocations: 11.98 kB / 472.6 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003714/0.7678, allocations: 2.16 MB / 474.8 MB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.7678, allocations: 3.938 kB / 474.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.7693, allocations: 215.8 kB / 475 MB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.7694, allocations: 4 kB / 475 MB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.47e-05/0.7694, allocations: 23.95 kB / 475 MB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.7695, allocations: 4 kB / 475 MB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.7695, allocations: 7.984 kB / 475 MB, free: 5.836 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.7746, allocations: 2.275 MB / 477.3 MB, free: 3.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008759/0.7756, allocations: 445.5 kB / 477.8 MB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.7758, allocations: 16 kB / 477.8 MB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.777, allocations: 115.6 kB / 477.9 MB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.7772, allocations: 64.91 kB / 478 MB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.7773, allocations: 27.98 kB / 478 MB, free: 2.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.7785, allocations: 0.5667 MB / 478.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7785, allocations: 0 / 478.5 MB, free: 2.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005479/0.784, allocations: 1.44 MB / 480 MB, free: 0.8281 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: 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.271/1.055, allocations: 1.305 MB / 481.3 MB, free: 133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006454/1.061, allocations: 2.08 MB / 483.4 MB, free: 132.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.062, allocations: 1.156 kB / 483.4 MB, free: 132.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.064, allocations: 1.142 MB / 484.5 MB, free: 132.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/1.068, allocations: 458.2 kB / 485 MB, free: 132.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008329/1.076, allocations: 4.516 MB / 489.5 MB, free: 129.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.078, allocations: 1.436 MB / 490.9 MB, free: 129 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005008/1.083, allocations: 1.511 MB / 492.4 MB, free: 129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/1.083, allocations: 91.34 kB / 492.5 MB, free: 129 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/1.083, allocations: 1.062 kB / 492.5 MB, free: 129 MB / 410.7 MB Notification: Performance of Templates: time 0.089/1.172, allocations: 42.34 MB / 0.5223 GB, free: 97.2 MB / 410.7 MB