Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,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|downstreamPressure.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.297e-05, allocations: 11.22 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1355, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.266/7.401, allocations: 2.776 GB / 3.177 GB, free: 88.85 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/7.401, allocations: 82.83 kB / 3.177 GB, free: 88.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.017/8.418, allocations: 236.3 MB / 3.408 GB, free: 65.78 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.25e-06/8.418, allocations: 0 / 3.408 GB, free: 65.78 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.224e-05/8.418, allocations: 12 kB / 3.408 GB, free: 65.77 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.004539/8.423, allocations: 1.277 MB / 3.409 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/8.423, allocations: 12.03 kB / 3.409 GB, free: 64.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002572/8.425, allocations: 247.9 kB / 3.409 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/8.426, allocations: 415.1 kB / 3.409 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/8.426, allocations: 24.78 kB / 3.409 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/8.426, allocations: 28 kB / 3.41 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/8.428, allocations: 0.5971 MB / 3.41 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/8.428, allocations: 7.969 kB / 3.41 GB, free: 63.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.234e-05/8.428, allocations: 16 kB / 3.41 GB, free: 63.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/8.428, allocations: 8 kB / 3.41 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/8.43, allocations: 0.5163 MB / 3.411 GB, free: 62.54 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/8.433, allocations: 2.624 MB / 3.413 GB, free: 59.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/8.435, allocations: 430.1 kB / 3.414 GB, free: 59.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/8.435, allocations: 136.8 kB / 3.414 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04996/8.485, allocations: 24.15 MB / 3.437 GB, free: 32.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/8.485, allocations: 38.5 kB / 3.437 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.728e-06/8.485, allocations: 0 / 3.437 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002568/8.488, allocations: 0.6525 MB / 3.438 GB, free: 31.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/8.488, allocations: 106.8 kB / 3.438 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/8.488, allocations: 319.5 kB / 3.438 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.173e-05/8.488, allocations: 29.7 kB / 3.438 GB, free: 30.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/8.488, allocations: 227.9 kB / 3.439 GB, free: 30.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-05/8.488, allocations: 78.84 kB / 3.439 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/8.488, allocations: 8 kB / 3.439 GB, free: 30.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.27e-05/8.489, allocations: 346.8 kB / 3.439 GB, free: 30.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/8.489, allocations: 99.98 kB / 3.439 GB, free: 30.16 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000291/8.489, allocations: 215.7 kB / 3.439 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/8.489, allocations: 118.8 kB / 3.439 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/8.489, allocations: 0 / 3.439 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008168/8.49, allocations: 386.9 kB / 3.44 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002132/8.49, allocations: 1.051 MB / 3.441 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/8.49, allocations: 4 kB / 3.441 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/8.491, allocations: 4 kB / 3.441 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/8.491, allocations: 107.9 kB / 3.441 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/8.491, allocations: 11.94 kB / 3.441 GB, free: 28.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006453/8.492, allocations: 75.55 kB / 3.441 GB, free: 28.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/8.492, allocations: 19.98 kB / 3.441 GB, free: 28.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/8.492, allocations: 7.938 kB / 3.441 GB, free: 28.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006886/8.493, allocations: 300 kB / 3.441 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.439e-06/8.493, allocations: 8.062 kB / 3.441 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.515e-06/8.493, allocations: 4 kB / 3.441 GB, free: 27.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/8.493, allocations: 103.9 kB / 3.441 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/8.493, allocations: 11.89 kB / 3.441 GB, free: 27.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/8.494, allocations: 71.64 kB / 3.442 GB, free: 27.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/8.494, allocations: 16 kB / 3.442 GB, free: 27.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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.0001285/8.494, allocations: 120.9 kB / 3.442 GB, free: 27.42 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/8.494, allocations: 47.52 kB / 3.442 GB, free: 27.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/8.496, allocations: 1.909 MB / 3.444 GB, free: 25.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/8.497, allocations: 27.95 kB / 3.444 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.056e-06/8.497, allocations: 0 / 3.444 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.419e-06/8.497, allocations: 11.94 kB / 3.444 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/8.498, allocations: 1.05 MB / 3.445 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.671e-06/8.498, allocations: 0 / 3.445 GB, free: 24.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004901/8.498, allocations: 87.88 kB / 3.445 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.171e-06/8.498, allocations: 0 / 3.445 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/8.498, allocations: 15.98 kB / 3.445 GB, free: 24.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.577e-06/8.498, allocations: 4 kB / 3.445 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.432e-06/8.498, allocations: 3.938 kB / 3.445 GB, free: 24.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/8.5, allocations: 1.032 MB / 3.446 GB, free: 23.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/8.5, allocations: 267.3 kB / 3.446 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.154e-05/8.5, allocations: 4 kB / 3.446 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005082/8.501, allocations: 47.97 kB / 3.446 GB, free: 22.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/8.501, allocations: 35.94 kB / 3.446 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/8.501, allocations: 8 kB / 3.446 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005084/8.501, allocations: 361.6 kB / 3.446 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.51e-07/8.501, allocations: 0 / 3.446 GB, free: 22.44 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004571/8.506, allocations: 1.194 MB / 3.448 GB, free: 21.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.008165/8.514, allocations: 1.499 MB / 3.449 GB, free: 19.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001414/8.516, allocations: 0.7073 MB / 3.45 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.677e-06/8.516, allocations: 0 / 3.45 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005822/8.516, allocations: 486.4 kB / 3.45 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/8.518, allocations: 217.3 kB / 3.45 GB, free: 18.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/8.52, allocations: 1.198 MB / 3.452 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/8.52, allocations: 0.9959 MB / 3.453 GB, free: 16.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001126/8.521, allocations: 0.5647 MB / 3.453 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/8.521, allocations: 47.42 kB / 3.453 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.89e-06/8.521, allocations: 0 / 3.453 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.4428/8.964, allocations: 34.98 MB / 3.487 GB, free: 85.88 MB / 0.5261 GB