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.842/1.842, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/4.012e-05, allocations: 7.984 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09026/0.09032, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.15/6.24, allocations: 2.496 GB / 2.81 GB, free: 122.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/6.241, allocations: 81.8 kB / 2.81 GB, free: 122.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.02/7.26, allocations: 228.2 MB / 3.033 GB, free: 52.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.051e-06/7.26, allocations: 0 / 3.033 GB, free: 52.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.333e-05/7.26, allocations: 7.812 kB / 3.033 GB, free: 52.15 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.004134/7.264, allocations: 1.258 MB / 3.034 GB, free: 51.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/7.264, allocations: 10.97 kB / 3.034 GB, free: 51.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/7.267, allocations: 234.1 kB / 3.034 GB, free: 51.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/7.268, allocations: 427.2 kB / 3.035 GB, free: 50.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/7.268, allocations: 27.94 kB / 3.035 GB, free: 50.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.09e-05/7.268, allocations: 26.94 kB / 3.035 GB, free: 50.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/7.269, allocations: 0.595 MB / 3.035 GB, free: 50.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/7.27, allocations: 7 kB / 3.035 GB, free: 50.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.869e-05/7.27, allocations: 15.66 kB / 3.035 GB, free: 50.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/7.27, allocations: 11.58 kB / 3.035 GB, free: 50.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001631/7.271, allocations: 0.5116 MB / 3.036 GB, free: 50.54 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.003096/7.274, allocations: 2.551 MB / 3.038 GB, free: 48.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/7.276, allocations: 407.1 kB / 3.039 GB, free: 48.27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/7.276, allocations: 134.2 kB / 3.039 GB, free: 48.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1222/7.398, allocations: 51.59 MB / 3.089 GB, free: 2.527 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/7.398, allocations: 38.56 kB / 3.089 GB, free: 2.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.907e-06/7.398, allocations: 0 / 3.089 GB, free: 2.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002451/7.401, allocations: 0.645 MB / 3.09 GB, free: 1.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/7.401, allocations: 102.8 kB / 3.09 GB, free: 1.703 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/7.401, allocations: 303.5 kB / 3.09 GB, free: 1.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/7.401, allocations: 29.7 kB / 3.09 GB, free: 1.367 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/7.401, allocations: 279.2 kB / 3.091 GB, free: 1.094 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/7.402, allocations: 93.81 kB / 3.091 GB, free: 1.004 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/7.402, allocations: 4 kB / 3.091 GB, free: 1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.256e-05/7.402, allocations: 330.8 kB / 3.091 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/7.402, allocations: 108 kB / 3.091 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/7.402, allocations: 241.1 kB / 3.091 GB, free: 276 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/7.403, allocations: 135.9 kB / 3.091 GB, free: 140 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.535e-06/7.403, allocations: 0 / 3.091 GB, free: 140 kB / 426.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009351/7.403, allocations: 368.3 kB / 3.092 GB, free: 15.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008437/7.404, allocations: 1.486 MB / 3.093 GB, free: 14.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/7.404, allocations: 11.98 kB / 3.093 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/7.404, allocations: 4 kB / 3.093 GB, free: 14.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/7.405, allocations: 119.8 kB / 3.093 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/7.405, allocations: 11.98 kB / 3.093 GB, free: 14.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/7.406, allocations: 75.5 kB / 3.093 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/7.406, allocations: 27.94 kB / 3.094 GB, free: 13.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/7.406, allocations: 4 kB / 3.094 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008701/7.407, allocations: 327.5 kB / 3.094 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.492e-06/7.407, allocations: 4 kB / 3.094 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/7.407, allocations: 8 kB / 3.094 GB, free: 13.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/7.407, allocations: 116.3 kB / 3.094 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/7.407, allocations: 8 kB / 3.094 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/7.408, allocations: 67.7 kB / 3.094 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/7.408, allocations: 20 kB / 3.094 GB, free: 13.38 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.0001829/7.408, allocations: 136.8 kB / 3.094 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/7.408, allocations: 35.58 kB / 3.094 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/7.411, allocations: 1.902 MB / 3.096 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/7.412, allocations: 27.95 kB / 3.096 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-06/7.412, allocations: 0 / 3.096 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/7.412, allocations: 3.984 kB / 3.096 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/7.413, allocations: 1.024 MB / 3.097 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-06/7.413, allocations: 3.938 kB / 3.097 GB, free: 10.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004848/7.414, allocations: 83.88 kB / 3.097 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-06/7.414, allocations: 0 / 3.097 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/7.414, allocations: 19.94 kB / 3.097 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.884e-06/7.414, allocations: 4 kB / 3.097 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-06/7.414, allocations: 0 / 3.097 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00174/7.416, allocations: 1.021 MB / 3.098 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004299/7.416, allocations: 255.3 kB / 3.098 GB, free: 8.777 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/7.416, allocations: 7.938 kB / 3.098 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005107/7.417, allocations: 55.91 kB / 3.099 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/7.417, allocations: 23.95 kB / 3.099 GB, free: 8.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/7.417, allocations: 12 kB / 3.099 GB, free: 8.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000527/7.417, allocations: 301.6 kB / 3.099 GB, free: 8.387 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.93e-07/7.417, allocations: 0 / 3.099 GB, free: 8.387 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004921/7.422, allocations: 1.177 MB / 3.1 GB, free: 7.211 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.00824/7.431, allocations: 1.484 MB / 3.101 GB, free: 5.863 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001621/7.432, allocations: 0.7149 MB / 3.102 GB, free: 5.152 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.822e-06/7.432, allocations: 0 / 3.102 GB, free: 5.152 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007719/7.433, allocations: 485.6 kB / 3.103 GB, free: 4.676 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/7.434, allocations: 196.5 kB / 3.103 GB, free: 4.488 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4799/7.914, allocations: 75.07 MB / 3.176 GB, free: 70.75 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/7.915, allocations: 1.003 MB / 3.177 GB, free: 70.05 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003043/7.915, allocations: 51.66 kB / 3.177 GB, free: 70.04 MB / 442.7 MB Notification: Performance of SimCode: time 2.455e-06/7.915, allocations: 0 / 3.177 GB, free: 70.04 MB / 442.7 MB Notification: Performance of Templates: time 0.07189/7.987, allocations: 27.53 MB / 3.204 GB, free: 61.81 MB / 442.7 MB