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.2_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.259/2.259, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.465e-05, allocations: 4 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 54.85 MB / 359.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.432/6.762, allocations: 2.606 GB / 2.958 GB, free: 100.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/6.762, allocations: 82.88 kB / 2.958 GB, free: 100.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9774/7.74, allocations: 232.5 MB / 3.185 GB, free: 77.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.945e-06/7.74, allocations: 0 / 3.185 GB, free: 77.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.432e-05/7.74, allocations: 15.77 kB / 3.185 GB, free: 77.68 MB / 490.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.00457/7.744, allocations: 1.273 MB / 3.186 GB, free: 77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/7.744, allocations: 11.38 kB / 3.186 GB, free: 77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002598/7.747, allocations: 244.3 kB / 3.186 GB, free: 76.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/7.748, allocations: 432.9 kB / 3.187 GB, free: 76.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/7.748, allocations: 25.88 kB / 3.187 GB, free: 76.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.342e-05/7.748, allocations: 35.81 kB / 3.187 GB, free: 76.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/7.75, allocations: 0.5996 MB / 3.187 GB, free: 76.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/7.75, allocations: 0 / 3.187 GB, free: 76.6 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/7.75, allocations: 11.66 kB / 3.187 GB, free: 76.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/7.75, allocations: 7.219 kB / 3.187 GB, free: 76.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/7.752, allocations: 0.5147 MB / 3.188 GB, free: 76.59 MB / 490.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.003127/7.755, allocations: 2.55 MB / 3.19 GB, free: 74.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/7.756, allocations: 413.4 kB / 3.191 GB, free: 74.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/7.757, allocations: 131 kB / 3.191 GB, free: 74.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1289/7.886, allocations: 51.65 MB / 3.241 GB, free: 44.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/7.886, allocations: 38.56 kB / 3.241 GB, free: 44.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 5.065e-06/7.886, allocations: 0 / 3.241 GB, free: 44.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.004438/7.89, allocations: 0.6359 MB / 3.242 GB, free: 44.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/7.89, allocations: 105.8 kB / 3.242 GB, free: 44.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/7.891, allocations: 300.8 kB / 3.242 GB, free: 44.31 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/7.891, allocations: 33.22 kB / 3.242 GB, free: 44.27 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/7.891, allocations: 238.9 kB / 3.243 GB, free: 44.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/7.891, allocations: 93 kB / 3.243 GB, free: 44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/7.891, allocations: 4 kB / 3.243 GB, free: 44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/7.892, allocations: 347.2 kB / 3.243 GB, free: 43.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003946/7.892, allocations: 107.8 kB / 3.243 GB, free: 43.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/7.893, allocations: 226.7 kB / 3.243 GB, free: 43.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/7.893, allocations: 135.8 kB / 3.244 GB, free: 43.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.991e-06/7.893, allocations: 3.953 kB / 3.244 GB, free: 43.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001407/7.895, allocations: 400.6 kB / 3.244 GB, free: 43.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003755/7.895, allocations: 1.487 MB / 3.245 GB, free: 41.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/7.895, allocations: 7.906 kB / 3.245 GB, free: 41.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/7.895, allocations: 3.781 kB / 3.245 GB, free: 41.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009873/7.896, allocations: 117 kB / 3.245 GB, free: 41.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/7.896, allocations: 11.22 kB / 3.245 GB, free: 41.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/7.897, allocations: 72.97 kB / 3.246 GB, free: 41.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.903e-05/7.897, allocations: 19.09 kB / 3.246 GB, free: 41.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/7.897, allocations: 2.719 kB / 3.246 GB, free: 41.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/7.899, allocations: 332.9 kB / 3.246 GB, free: 41.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/7.899, allocations: 3.656 kB / 3.246 GB, free: 41.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/7.899, allocations: 7.094 kB / 3.246 GB, free: 41.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009361/7.9, allocations: 116.9 kB / 3.246 GB, free: 41.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/7.9, allocations: 14.92 kB / 3.246 GB, free: 41.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009189/7.901, allocations: 66.52 kB / 3.246 GB, free: 41.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.347e-05/7.901, allocations: 25.28 kB / 3.246 GB, free: 41.4 MB / 490.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.0002002/7.901, allocations: 120.6 kB / 3.246 GB, free: 41.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001786/7.901, allocations: 42.81 kB / 3.246 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004113/7.905, allocations: 1.913 MB / 3.248 GB, free: 40.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.167e-05/7.905, allocations: 25.77 kB / 3.248 GB, free: 40.32 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.757e-06/7.905, allocations: 3.969 kB / 3.248 GB, free: 40.32 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/7.905, allocations: 7.328 kB / 3.248 GB, free: 40.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/7.907, allocations: 1.014 MB / 3.249 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.801e-06/7.907, allocations: 0 / 3.249 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/7.908, allocations: 90.38 kB / 3.249 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/7.908, allocations: 0 / 3.249 GB, free: 39.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/7.908, allocations: 11.27 kB / 3.249 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.082e-06/7.908, allocations: 7.938 kB / 3.249 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.209e-06/7.908, allocations: 0 / 3.249 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/7.911, allocations: 1.023 MB / 3.25 GB, free: 39.17 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005058/7.911, allocations: 252.3 kB / 3.25 GB, free: 38.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/7.911, allocations: 4 kB / 3.251 GB, free: 38.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/7.912, allocations: 50.19 kB / 3.251 GB, free: 38.96 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/7.912, allocations: 30.09 kB / 3.251 GB, free: 38.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.11e-05/7.913, allocations: 14.55 kB / 3.251 GB, free: 38.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006722/7.913, allocations: 296.9 kB / 3.251 GB, free: 38.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.592e-06/7.913, allocations: 3.938 kB / 3.251 GB, free: 38.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006786/7.92, allocations: 1.186 MB / 3.252 GB, free: 38.54 MB / 490.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.01188/7.932, allocations: 1.481 MB / 3.253 GB, free: 38.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002293/7.934, allocations: 0.727 MB / 3.254 GB, free: 37.88 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/7.934, allocations: 0 / 3.254 GB, free: 37.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/7.935, allocations: 484 kB / 3.255 GB, free: 37.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/7.938, allocations: 194.7 kB / 3.255 GB, free: 37.61 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4928/8.431, allocations: 76.32 MB / 3.329 GB, free: 72.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/8.431, allocations: 1 MB / 3.33 GB, free: 71.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001312/8.433, allocations: 0.5379 MB / 3.331 GB, free: 71.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/8.433, allocations: 47.22 kB / 3.331 GB, free: 71.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.632e-06/8.433, allocations: 0.7812 kB / 3.331 GB, free: 71.53 MB / 490.7 MB Notification: Performance of Templates: time 0.06096/8.494, allocations: 34.3 MB / 3.364 GB, free: 71.2 MB / 490.7 MB