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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.557/2.557, allocations: 234.9 MB / 250.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.543e-05, allocations: 4 kB / 308 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3812, allocations: 54.87 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03916/0.4204, allocations: 23.27 MB / 386.1 MB, free: 4.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02782/0.4483, allocations: 13.81 MB / 399.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006428/0.449, allocations: 19.88 kB / 400 MB, free: 6.582 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009374/0.45, allocations: 238.8 kB / 400.2 MB, free: 6.348 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0123/0.4623, allocations: 3.135 MB / 403.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00893/0.4713, allocations: 2.198 MB / 405.5 MB, free: 1 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.4725, allocations: 480.7 kB / 406 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003965/0.4729, allocations: 179.7 kB / 406.2 MB, free: 364 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.474, allocations: 406.7 kB / 406.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006948/0.481, allocations: 2.92 MB / 409.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/0.5, allocations: 6.79 MB / 416.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002671/0.5028, allocations: 416 kB / 416.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.503, allocations: 83.67 kB / 416.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.5032, allocations: 51.94 kB / 416.8 MB, free: 5.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008314/0.5115, allocations: 2.916 MB / 419.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5116, allocations: 0 / 419.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5116, allocations: 0 / 419.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.5116, allocations: 0 / 419.7 MB, free: 2.777 MB / 346.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.004317/0.516, allocations: 1.202 MB / 420.9 MB, free: 1.527 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.516, allocations: 8.031 kB / 420.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002894/0.5189, allocations: 255.1 kB / 421.2 MB, free: 1.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009045/0.5199, allocations: 398.6 kB / 421.6 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.52, allocations: 28.66 kB / 421.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-05/0.5201, allocations: 32 kB / 421.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.5226, allocations: 0.6118 MB / 422.2 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.5226, allocations: 3.938 kB / 422.3 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.5227, allocations: 16 kB / 422.3 MB, free: 116 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.5228, allocations: 8 kB / 422.3 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/0.5256, allocations: 0.6031 MB / 422.9 MB, free: 15.5 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004596/0.5303, allocations: 2.586 MB / 425.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.5328, allocations: 478.2 kB / 425.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2311/0.7639, allocations: 52.02 MB / 478 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.764, allocations: 34.56 kB / 478 MB, free: 2.672 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 5.199e-06/0.764, allocations: 0 / 478 MB, free: 2.672 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.007316/0.7714, allocations: 0.841 MB / 478.8 MB, free: 1.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.7715, allocations: 110.8 kB / 478.9 MB, free: 1.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008339/0.7724, allocations: 316.7 kB / 479.2 MB, free: 1.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.874e-05/0.7725, allocations: 33.7 kB / 479.3 MB, free: 1.332 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.7728, allocations: 282.3 kB / 479.6 MB, free: 1.051 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.773, allocations: 82.75 kB / 479.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.373e-05/0.7731, allocations: 11.94 kB / 479.6 MB, free: 0.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.7733, allocations: 322.8 kB / 480 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.7743, allocations: 171.9 kB / 480.1 MB, free: 476 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008763/0.7752, allocations: 308.1 kB / 480.4 MB, free: 108 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3042/1.079, allocations: 186.5 kB / 480.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.08, allocations: 2.062 kB / 480.6 MB, free: 114.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002217/1.082, allocations: 0.4971 MB / 481.1 MB, free: 114.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/1.082, allocations: 1.486 MB / 482.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/1.082, allocations: 7.969 kB / 482.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/1.082, allocations: 6.594 kB / 482.6 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/1.083, allocations: 112.4 kB / 482.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.135e-05/1.083, allocations: 6.922 kB / 482.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/1.084, allocations: 82.8 kB / 482.8 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.002e-05/1.084, allocations: 23.86 kB / 482.8 MB, free: 112.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.084, allocations: 7.5 kB / 482.8 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/1.086, allocations: 461.6 kB / 483.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.086, allocations: 6.312 kB / 483.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.086, allocations: 6.812 kB / 483.3 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/1.087, allocations: 119.1 kB / 483.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.087, allocations: 10.64 kB / 483.4 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/1.088, allocations: 62.58 kB / 483.5 MB, free: 112.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/1.088, allocations: 25.33 kB / 483.5 MB, free: 112.8 MB / 410.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.0003112/1.088, allocations: 166.8 kB / 483.7 MB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/1.088, allocations: 35.75 kB / 483.7 MB, free: 112.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/1.092, allocations: 1.993 MB / 485.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.131e-05/1.092, allocations: 29.69 kB / 485.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/1.092, allocations: 5.016 kB / 485.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.092, allocations: 1.594 kB / 485.7 MB, free: 111.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/1.094, allocations: 1.031 MB / 486.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.094, allocations: 0 / 486.8 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006286/1.094, allocations: 85.41 kB / 486.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/1.095, allocations: 5.188 kB / 486.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/1.095, allocations: 12.28 kB / 486.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/1.095, allocations: 0 / 486.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/1.095, allocations: 0 / 486.9 MB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.097, allocations: 1.135 MB / 488 MB, free: 110.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000339/1.097, allocations: 253.5 kB / 488.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.097, allocations: 8.625 kB / 488.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/1.098, allocations: 45.17 kB / 488.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.098, allocations: 30.17 kB / 488.3 MB, free: 110.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/1.098, allocations: 14.36 kB / 488.4 MB, free: 110.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005794/1.099, allocations: 314.7 kB / 488.7 MB, free: 110.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.099, allocations: 0 / 488.7 MB, free: 110.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003921/1.102, allocations: 1.102 MB / 489.8 MB, free: 110.2 MB / 410.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 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.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.006505/1.109, allocations: 1.254 MB / 491 MB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002739/1.112, allocations: 0.9225 MB / 491.9 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.112, allocations: 2.5 kB / 491.9 MB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001003/1.113, allocations: 0.5296 MB / 492.5 MB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.115, allocations: 197.4 kB / 492.7 MB, free: 109.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/1.118, allocations: 2.107 MB / 494.8 MB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/1.118, allocations: 0.9936 MB / 495.8 MB, free: 107 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/1.119, allocations: 56.27 kB / 495.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/1.119, allocations: 0 / 495.8 MB, free: 106.9 MB / 410.7 MB Notification: Performance of Templates: time 0.05298/1.172, allocations: 27.01 MB / 0.5106 GB, free: 79.93 MB / 410.7 MB