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_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/4.001e-05, allocations: 7.938 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.039/7.153, allocations: 2.777 GB / 3.178 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003737/7.153, allocations: 81.27 kB / 3.178 GB, free: 154.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.193/9.347, allocations: 0.5072 GB / 3.685 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.999e-06/9.347, allocations: 0 / 3.685 GB, free: 32.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.358e-05/9.347, allocations: 36.06 kB / 3.685 GB, free: 32.79 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.007263/9.354, allocations: 2.051 MB / 3.687 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/9.354, allocations: 8.031 kB / 3.687 GB, free: 30.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/9.362, allocations: 0.7283 MB / 3.688 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/9.364, allocations: 0.8052 MB / 3.689 GB, free: 29.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/9.364, allocations: 78 kB / 3.689 GB, free: 29.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/9.364, allocations: 84 kB / 3.689 GB, free: 29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005083/9.37, allocations: 1.706 MB / 3.691 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/9.37, allocations: 3.938 kB / 3.691 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/9.37, allocations: 48 kB / 3.691 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/9.37, allocations: 23.89 kB / 3.691 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004956/9.375, allocations: 1.478 MB / 3.692 GB, free: 25.65 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/9.386, allocations: 7.554 MB / 3.699 GB, free: 17.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/9.39, allocations: 1.165 MB / 3.701 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/9.39, allocations: 338.5 kB / 3.701 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0525/9.443, allocations: 24.26 MB / 3.725 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/9.443, allocations: 39.12 kB / 3.725 GB, free: 4.996 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=67): time 6.993e-06/9.443, allocations: 7.984 kB / 3.725 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=67): time 0.007779/9.451, allocations: 1.778 MB / 3.726 GB, free: 3.199 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/9.451, allocations: 214.2 kB / 3.727 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/9.453, allocations: 0.7252 MB / 3.727 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001563/9.453, allocations: 37.7 kB / 3.727 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/9.453, allocations: 487 kB / 3.728 GB, free: 1.672 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/9.454, allocations: 222.2 kB / 3.728 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.289e-05/9.454, allocations: 16 kB / 3.728 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001981/9.454, allocations: 341.9 kB / 3.728 GB, free: 1.102 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/9.455, allocations: 261.9 kB / 3.729 GB, free: 0.8438 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009635/9.456, allocations: 0.5561 MB / 3.729 GB, free: 160 kB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3407/9.796, allocations: 330.8 kB / 3.729 GB, free: 62.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/9.796, allocations: 2.875 kB / 3.729 GB, free: 62.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002625/9.799, allocations: 0.9138 MB / 3.73 GB, free: 62.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006304/9.8, allocations: 3.224 MB / 3.733 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/9.8, allocations: 8.719 kB / 3.733 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.425e-05/9.8, allocations: 17.25 kB / 3.733 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/9.801, allocations: 271.5 kB / 3.734 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.691e-05/9.801, allocations: 21.36 kB / 3.734 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/9.803, allocations: 187.7 kB / 3.734 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/9.803, allocations: 54.05 kB / 3.734 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/9.803, allocations: 7.703 kB / 3.734 GB, free: 58.76 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002273/9.806, allocations: 0.7802 MB / 3.735 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/9.806, allocations: 8.891 kB / 3.735 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/9.806, allocations: 14.38 kB / 3.735 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/9.807, allocations: 273.2 kB / 3.735 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/9.807, allocations: 20.75 kB / 3.735 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/9.809, allocations: 169.4 kB / 3.735 GB, free: 58.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/9.809, allocations: 49.91 kB / 3.735 GB, free: 58.74 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.0003559/9.809, allocations: 167.6 kB / 3.735 GB, free: 58.63 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/9.81, allocations: 111.2 kB / 3.736 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006987/9.817, allocations: 4.879 MB / 3.74 GB, free: 58.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.108e-05/9.817, allocations: 63.84 kB / 3.74 GB, free: 58.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.133e-06/9.817, allocations: 0 / 3.74 GB, free: 58.05 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/9.817, allocations: 4.359 kB / 3.74 GB, free: 58.05 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/9.821, allocations: 2.496 MB / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/9.821, allocations: 0 / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/9.822, allocations: 234.1 kB / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/9.822, allocations: 3.812 kB / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.937e-05/9.822, allocations: 28.39 kB / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/9.822, allocations: 2.344 kB / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/9.822, allocations: 5.969 kB / 3.743 GB, free: 57.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003677/9.826, allocations: 2.123 MB / 3.745 GB, free: 57.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/9.828, allocations: 0.7017 MB / 3.746 GB, free: 57.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/9.828, allocations: 16.77 kB / 3.746 GB, free: 57.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/9.829, allocations: 112.6 kB / 3.746 GB, free: 57.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/9.829, allocations: 86.38 kB / 3.746 GB, free: 57.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.202e-05/9.83, allocations: 36.33 kB / 3.746 GB, free: 57.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002204/9.832, allocations: 1.162 MB / 3.747 GB, free: 56.86 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.087e-06/9.832, allocations: 0 / 3.747 GB, free: 56.86 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00774/9.84, allocations: 1.625 MB / 3.749 GB, free: 56.79 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.009238/9.849, allocations: 1.801 MB / 3.751 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003746/9.853, allocations: 1.66 MB / 3.752 GB, free: 56.53 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.862e-06/9.853, allocations: 3.094 kB / 3.752 GB, free: 56.53 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/9.854, allocations: 1.029 MB / 3.753 GB, free: 56.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004222/9.859, allocations: 0.5982 MB / 3.754 GB, free: 56.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/9.865, allocations: 3.073 MB / 3.757 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/9.866, allocations: 1.572 MB / 3.758 GB, free: 55.05 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004029/9.871, allocations: 1.637 MB / 3.76 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/9.871, allocations: 99.91 kB / 3.76 GB, free: 55.01 MB / 0.5417 GB Notification: Performance of SimCode: time 2.024e-06/9.871, allocations: 0 / 3.76 GB, free: 55.01 MB / 0.5417 GB Notification: Performance of Templates: time 0.1747/10.05, allocations: 55.92 MB / 3.815 GB, free: 52.59 MB / 0.5417 GB