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_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.419e-05/3.44e-05, allocations: 7.984 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.08837, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.196/6.284, allocations: 2.496 GB / 2.81 GB, free: 124.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/6.284, allocations: 83.44 kB / 2.81 GB, free: 124.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9247/7.209, allocations: 228.2 MB / 3.033 GB, free: 51.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.877e-06/7.209, allocations: 0 / 3.033 GB, free: 51.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.382e-05/7.209, allocations: 6.375 kB / 3.033 GB, free: 51.82 MB / 426.7 MB 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.004434/7.214, allocations: 1.25 MB / 3.034 GB, free: 51.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/7.214, allocations: 7.562 kB / 3.034 GB, free: 51.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/7.217, allocations: 233 kB / 3.034 GB, free: 50.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009572/7.218, allocations: 433.3 kB / 3.035 GB, free: 50.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/7.218, allocations: 31.44 kB / 3.035 GB, free: 50.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/7.218, allocations: 31.66 kB / 3.035 GB, free: 50.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/7.22, allocations: 0.5915 MB / 3.035 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/7.22, allocations: 0 / 3.035 GB, free: 50.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/7.22, allocations: 16.25 kB / 3.035 GB, free: 50.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/7.22, allocations: 11.86 kB / 3.035 GB, free: 50.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/7.222, allocations: 0.5138 MB / 3.036 GB, free: 50.21 MB / 426.7 MB 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.003501/7.225, allocations: 2.551 MB / 3.038 GB, free: 48.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/7.227, allocations: 418 kB / 3.039 GB, free: 47.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002616/7.227, allocations: 138.1 kB / 3.039 GB, free: 47.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1203/7.347, allocations: 51.58 MB / 3.089 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/7.348, allocations: 34.56 kB / 3.089 GB, free: 15.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 4.705e-06/7.348, allocations: 0 / 3.089 GB, free: 15.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.002858/7.35, allocations: 0.6373 MB / 3.09 GB, free: 14.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.476e-05/7.351, allocations: 110.8 kB / 3.09 GB, free: 14.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005074/7.351, allocations: 299.5 kB / 3.09 GB, free: 14.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/7.351, allocations: 33.7 kB / 3.09 GB, free: 14.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/7.351, allocations: 227.8 kB / 3.091 GB, free: 14.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/7.352, allocations: 94.28 kB / 3.091 GB, free: 13.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/7.352, allocations: 4 kB / 3.091 GB, free: 13.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/7.352, allocations: 350.8 kB / 3.091 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/7.352, allocations: 107.9 kB / 3.091 GB, free: 13.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003996/7.352, allocations: 240.7 kB / 3.091 GB, free: 13.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/7.353, allocations: 143.8 kB / 3.091 GB, free: 13.06 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.772e-06/7.353, allocations: 0 / 3.091 GB, free: 13.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001067/7.354, allocations: 389.1 kB / 3.092 GB, free: 12.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008307/7.355, allocations: 1.483 MB / 3.093 GB, free: 11.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/7.355, allocations: 4 kB / 3.093 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/7.355, allocations: 8 kB / 3.093 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/7.355, allocations: 115.9 kB / 3.093 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/7.355, allocations: 7.938 kB / 3.093 GB, free: 10.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006138/7.356, allocations: 83.55 kB / 3.094 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/7.356, allocations: 27.94 kB / 3.094 GB, free: 10.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/7.356, allocations: 4 kB / 3.094 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009865/7.357, allocations: 323.6 kB / 3.094 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.742e-06/7.357, allocations: 4 kB / 3.094 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/7.357, allocations: 4 kB / 3.094 GB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/7.358, allocations: 120.2 kB / 3.094 GB, free: 10.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.834e-05/7.358, allocations: 15.92 kB / 3.094 GB, free: 10.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005277/7.358, allocations: 67.64 kB / 3.094 GB, free: 10.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.468e-05/7.359, allocations: 20 kB / 3.094 GB, free: 10.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (43): * Single equations (assignments): 43 * 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.0001771/7.359, allocations: 124.9 kB / 3.094 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/7.359, allocations: 39.58 kB / 3.094 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/7.362, allocations: 1.917 MB / 3.096 GB, free: 8.191 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.235e-05/7.362, allocations: 27.95 kB / 3.096 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.888e-06/7.362, allocations: 0 / 3.096 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/7.362, allocations: 4 kB / 3.096 GB, free: 8.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/7.364, allocations: 1.023 MB / 3.097 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.879e-06/7.364, allocations: 0 / 3.097 GB, free: 7.098 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/7.364, allocations: 87.88 kB / 3.097 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/7.364, allocations: 4 kB / 3.097 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/7.364, allocations: 11.95 kB / 3.097 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.412e-06/7.364, allocations: 0 / 3.097 GB, free: 6.996 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.695e-06/7.364, allocations: 3.984 kB / 3.097 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/7.366, allocations: 1.021 MB / 3.098 GB, free: 5.949 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/7.366, allocations: 255.4 kB / 3.098 GB, free: 5.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/7.367, allocations: 8 kB / 3.098 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/7.367, allocations: 47.91 kB / 3.099 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/7.367, allocations: 31.95 kB / 3.099 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/7.367, allocations: 12 kB / 3.099 GB, free: 5.582 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005262/7.368, allocations: 301.6 kB / 3.099 GB, free: 5.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.15e-07/7.368, allocations: 0 / 3.099 GB, free: 5.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004905/7.373, allocations: 1.181 MB / 3.1 GB, free: 4.109 MB / 442.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: 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.008151/7.381, allocations: 1.476 MB / 3.101 GB, free: 2.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001624/7.383, allocations: 0.7124 MB / 3.102 GB, free: 2.062 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/7.383, allocations: 4.688 kB / 3.102 GB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007655/7.383, allocations: 489.5 kB / 3.103 GB, free: 1.578 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/7.385, allocations: 203.3 kB / 3.103 GB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4644/7.849, allocations: 75.04 MB / 3.176 GB, free: 73.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/7.85, allocations: 0.9972 MB / 3.177 GB, free: 73.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001282/7.851, allocations: 0.5333 MB / 3.178 GB, free: 73.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/7.851, allocations: 46 kB / 3.178 GB, free: 73.19 MB / 442.7 MB Notification: Performance of SimCode: time 1.649e-06/7.851, allocations: 0 / 3.178 GB, free: 73.19 MB / 442.7 MB Notification: Performance of Templates: time 0.05731/7.908, allocations: 34.13 MB / 3.211 GB, free: 55.75 MB / 442.7 MB