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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 1.98/1.98, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.757e-05/3.747e-05, allocations: 7.938 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3573, allocations: 48.7 MB / 324.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.03946/0.3968, allocations: 23.11 MB / 348 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.028/0.4248, allocations: 13.75 MB / 361.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007563/0.4257, allocations: 21.72 kB / 361.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4267, allocations: 238.8 kB / 362 MB, free: 8.703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01362/0.4403, allocations: 3.109 MB / 365.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009424/0.4498, allocations: 2.182 MB / 367.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.4512, allocations: 459.3 kB / 367.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.4517, allocations: 192.1 kB / 367.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.4531, allocations: 394.3 kB / 368.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00743/0.4605, allocations: 2.889 MB / 371.2 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02015/0.4807, allocations: 6.692 MB / 377.9 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.4837, allocations: 404 kB / 378.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.484, allocations: 75.69 kB / 378.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.4843, allocations: 48 kB / 378.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008685/0.493, allocations: 2.884 MB / 381.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4931, allocations: 0 / 381.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4931, allocations: 0 / 381.3 MB, free: 7.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.4931, allocations: 3.938 kB / 381.3 MB, free: 7.082 MB / 314.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.004124/0.4972, allocations: 1.189 MB / 382.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.4973, allocations: 8.031 kB / 382.5 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002815/0.5001, allocations: 235.2 kB / 382.7 MB, free: 5.605 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/0.501, allocations: 394.6 kB / 383.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.501, allocations: 28.61 kB / 383.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.86e-05/0.5011, allocations: 32 kB / 383.1 MB, free: 5.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00251/0.5037, allocations: 0.6235 MB / 383.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.5037, allocations: 0 / 383.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.5038, allocations: 12 kB / 383.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5038, allocations: 8 kB / 383.8 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.5066, allocations: 0.5992 MB / 384.4 MB, free: 3.836 MB / 314.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.004591/0.5112, allocations: 2.586 MB / 387 MB, free: 1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/0.5136, allocations: 478.2 kB / 387.4 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1941/0.7078, allocations: 51.94 MB / 439.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.7079, allocations: 42.5 kB / 439.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.815e-06/0.7079, allocations: 0 / 439.4 MB, free: 7.074 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.00443/0.7123, allocations: 0.848 MB / 440.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7124, allocations: 106.8 kB / 440.4 MB, free: 6.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.713, allocations: 312.8 kB / 440.7 MB, free: 5.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/0.7131, allocations: 29.7 kB / 440.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.7133, allocations: 282.2 kB / 441 MB, free: 5.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.7134, allocations: 86.83 kB / 441.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.7135, allocations: 4 kB / 441.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7136, allocations: 326.8 kB / 441.4 MB, free: 5.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.7144, allocations: 175.9 kB / 441.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008796/0.7152, allocations: 300 kB / 441.9 MB, free: 4.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.7161, allocations: 195.9 kB / 442 MB, free: 4.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.7161, allocations: 4 kB / 442 MB, free: 4.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001933/0.718, allocations: 0.5011 MB / 442.5 MB, free: 3.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006026/0.7187, allocations: 1.49 MB / 444 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.7187, allocations: 4 kB / 444 MB, free: 2.211 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.7187, allocations: 4 kB / 444 MB, free: 2.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008716/0.7196, allocations: 123.7 kB / 444.2 MB, free: 2.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.7196, allocations: 11.94 kB / 444.2 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007225/0.7204, allocations: 71.64 kB / 444.2 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.7204, allocations: 20 kB / 444.3 MB, free: 1.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.7205, allocations: 4 kB / 444.3 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/0.7223, allocations: 463.6 kB / 444.7 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.7223, allocations: 4 kB / 444.7 MB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7223, allocations: 8.281 kB / 444.7 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.7231, allocations: 119.8 kB / 444.9 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.974e-05/0.7232, allocations: 11.98 kB / 444.9 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.7237, allocations: 67.66 kB / 444.9 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.752e-05/0.7238, allocations: 23.98 kB / 445 MB, free: 1.297 MB / 378.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.0003077/0.7241, allocations: 161.7 kB / 445.1 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.7242, allocations: 39.53 kB / 445.1 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00416/0.7284, allocations: 1.995 MB / 447.1 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.551e-05/0.7285, allocations: 31.95 kB / 447.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.7285, allocations: 0 / 447.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.7285, allocations: 3.984 kB / 447.2 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.7302, allocations: 1.024 MB / 448.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.7302, allocations: 4 kB / 448.2 MB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006373/0.7308, allocations: 87.86 kB / 448.3 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.7309, allocations: 4 kB / 448.3 MB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.7309, allocations: 8 kB / 448.3 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.7309, allocations: 0 / 448.3 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7309, allocations: 7.938 kB / 448.3 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00247/0.7334, allocations: 1.137 MB / 449.5 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.7338, allocations: 255.4 kB / 449.7 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.734, allocations: 8 kB / 449.7 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.7346, allocations: 47.88 kB / 449.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7347, allocations: 31.95 kB / 449.8 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.7348, allocations: 15.98 kB / 449.8 MB, free: 12.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006029/0.7354, allocations: 318.8 kB / 450.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7354, allocations: 0 / 450.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004068/0.7395, allocations: 1.089 MB / 451.2 MB, free: 10.93 MB / 394.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.006923/0.7464, allocations: 1.247 MB / 452.4 MB, free: 9.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003057/0.7496, allocations: 0.9171 MB / 453.4 MB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/0.7496, allocations: 0 / 453.4 MB, free: 8.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.7508, allocations: 0.537 MB / 453.9 MB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.7526, allocations: 189.7 kB / 454.1 MB, free: 8.055 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00404/0.7567, allocations: 2.106 MB / 456.2 MB, free: 5.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.7574, allocations: 0.9992 MB / 457.2 MB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.7577, allocations: 51.42 kB / 457.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7577, allocations: 0 / 457.2 MB, free: 4.832 MB / 394.7 MB Notification: Performance of Templates: time 0.3225/1.08, allocations: 26.85 MB / 484.1 MB, free: 124.7 MB / 410.7 MB