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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.652e-05, allocations: 4 kB / 348.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3931, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.099/7.492, allocations: 2.777 GB / 3.178 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/7.493, allocations: 82.55 kB / 3.178 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.289/9.781, allocations: 0.5072 GB / 3.685 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.028e-06/9.782, allocations: 3.984 kB / 3.685 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.461e-05/9.782, allocations: 30.5 kB / 3.685 GB, free: 28.31 MB / 0.5261 GB 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.007319/9.789, allocations: 2.058 MB / 3.687 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/9.789, allocations: 8.031 kB / 3.687 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008487/9.798, allocations: 0.723 MB / 3.688 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/9.8, allocations: 0.8065 MB / 3.689 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/9.8, allocations: 81.94 kB / 3.689 GB, free: 24.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/9.8, allocations: 88 kB / 3.689 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/9.805, allocations: 1.702 MB / 3.691 GB, free: 22.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.761e-05/9.805, allocations: 7.938 kB / 3.691 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/9.805, allocations: 43.94 kB / 3.691 GB, free: 22.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/9.805, allocations: 24 kB / 3.691 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004945/9.81, allocations: 1.467 MB / 3.692 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01096/9.821, allocations: 7.556 MB / 3.699 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004104/9.826, allocations: 1.166 MB / 3.701 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007064/9.826, allocations: 338.5 kB / 3.701 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05666/9.883, allocations: 24.26 MB / 3.725 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/9.883, allocations: 43.12 kB / 3.725 GB, free: 464 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 4.339e-06/9.883, allocations: 0 / 3.725 GB, free: 464 kB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.4063/10.29, allocations: 1.777 MB / 3.726 GB, free: 64.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/10.29, allocations: 216.8 kB / 3.727 GB, free: 64.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/10.29, allocations: 0.7179 MB / 3.727 GB, free: 64.21 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001817/10.29, allocations: 40.17 kB / 3.727 GB, free: 64.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003907/10.29, allocations: 487.3 kB / 3.728 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/10.29, allocations: 223.5 kB / 3.728 GB, free: 63.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/10.29, allocations: 19.56 kB / 3.728 GB, free: 63.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.292e-05/10.29, allocations: 343.6 kB / 3.728 GB, free: 63.61 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006756/10.29, allocations: 262.2 kB / 3.729 GB, free: 63.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008043/10.29, allocations: 0.5549 MB / 3.729 GB, free: 63.26 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007293/10.29, allocations: 331.4 kB / 3.729 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.857e-06/10.29, allocations: 2.812 kB / 3.729 GB, free: 63.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002266/10.3, allocations: 0.9135 MB / 3.73 GB, free: 63.15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000634/10.3, allocations: 3.228 MB / 3.733 GB, free: 59.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/10.3, allocations: 12.12 kB / 3.733 GB, free: 59.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.187e-05/10.3, allocations: 13.69 kB / 3.733 GB, free: 59.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/10.3, allocations: 277.1 kB / 3.734 GB, free: 59.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/10.3, allocations: 19.41 kB / 3.734 GB, free: 59.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/10.3, allocations: 188.1 kB / 3.734 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/10.3, allocations: 49.56 kB / 3.734 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/10.3, allocations: 3.75 kB / 3.734 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/10.3, allocations: 0.7787 MB / 3.735 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/10.3, allocations: 9.5 kB / 3.735 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/10.3, allocations: 16.34 kB / 3.735 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/10.3, allocations: 278 kB / 3.735 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.058e-05/10.3, allocations: 13.94 kB / 3.735 GB, free: 59.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/10.31, allocations: 177 kB / 3.735 GB, free: 59.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/10.31, allocations: 51.17 kB / 3.735 GB, free: 59.72 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (109): * Single equations (assignments): 109 * 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.0003244/10.31, allocations: 163.5 kB / 3.735 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/10.31, allocations: 106.8 kB / 3.736 GB, free: 59.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/10.31, allocations: 4.876 MB / 3.74 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.62e-05/10.31, allocations: 62.23 kB / 3.74 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.132e-06/10.31, allocations: 1.938 kB / 3.74 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/10.31, allocations: 8.297 kB / 3.74 GB, free: 59.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003404/10.32, allocations: 2.508 MB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.988e-06/10.32, allocations: 1.5 kB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001181/10.32, allocations: 237.6 kB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/10.32, allocations: 3.844 kB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/10.32, allocations: 19.25 kB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.563e-06/10.32, allocations: 3.75 kB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-06/10.32, allocations: 3.094 kB / 3.743 GB, free: 58.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/10.32, allocations: 2.128 MB / 3.745 GB, free: 58.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/10.32, allocations: 0.6973 MB / 3.746 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00029/10.32, allocations: 14.25 kB / 3.746 GB, free: 57.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/10.32, allocations: 116.5 kB / 3.746 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/10.32, allocations: 85.69 kB / 3.746 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.668e-05/10.32, allocations: 29.38 kB / 3.746 GB, free: 57.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001952/10.33, allocations: 1.17 MB / 3.747 GB, free: 57.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.03e-06/10.33, allocations: 0 / 3.747 GB, free: 57.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006683/10.33, allocations: 1.618 MB / 3.749 GB, free: 57.68 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.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.008761/10.34, allocations: 1.797 MB / 3.751 GB, free: 57.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003254/10.34, allocations: 1.662 MB / 3.752 GB, free: 57.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.62e-06/10.34, allocations: 5.625 kB / 3.752 GB, free: 57.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00148/10.35, allocations: 1.027 MB / 3.753 GB, free: 57.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/10.35, allocations: 0.6034 MB / 3.754 GB, free: 57.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005606/10.36, allocations: 3.071 MB / 3.757 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/10.36, allocations: 1.574 MB / 3.758 GB, free: 55.94 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003544/10.36, allocations: 1.633 MB / 3.76 GB, free: 55.92 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/10.36, allocations: 98.88 kB / 3.76 GB, free: 55.91 MB / 0.5417 GB Notification: Performance of SimCode: time 1.705e-06/10.36, allocations: 0 / 3.76 GB, free: 55.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.1081/10.47, allocations: 55.93 MB / 3.815 GB, free: 53.45 MB / 0.5417 GB