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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 270 MB / 283.6 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.668e-05, allocations: 4 kB / 348.4 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3363, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.344/7.68, allocations: 2.776 GB / 3.177 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/7.68, allocations: 82.92 kB / 3.177 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.025/8.705, allocations: 236.3 MB / 3.408 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.155e-06/8.705, allocations: 0 / 3.408 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.371e-05/8.705, allocations: 14.25 kB / 3.408 GB, free: 87.04 MB / 0.5261 GB 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.004422/8.709, allocations: 1.272 MB / 3.409 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/8.71, allocations: 10.81 kB / 3.409 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/8.712, allocations: 245 kB / 3.409 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008955/8.713, allocations: 412.8 kB / 3.409 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/8.713, allocations: 34.19 kB / 3.409 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/8.713, allocations: 35.22 kB / 3.41 GB, free: 85.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/8.715, allocations: 0.5997 MB / 3.41 GB, free: 85.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/8.715, allocations: 0 / 3.41 GB, free: 85.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.106e-05/8.715, allocations: 15.91 kB / 3.41 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/8.715, allocations: 10.19 kB / 3.41 GB, free: 85.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/8.717, allocations: 0.5145 MB / 3.411 GB, free: 85.44 MB / 0.5261 GB 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.0036/8.72, allocations: 2.633 MB / 3.413 GB, free: 83.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/8.722, allocations: 425.7 kB / 3.414 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/8.722, allocations: 142.8 kB / 3.414 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05406/8.776, allocations: 24.16 MB / 3.437 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/8.776, allocations: 34.56 kB / 3.437 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.594e-06/8.776, allocations: 0 / 3.437 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002787/8.779, allocations: 0.6532 MB / 3.438 GB, free: 67.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/8.779, allocations: 102.8 kB / 3.438 GB, free: 67.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/8.78, allocations: 319.6 kB / 3.438 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/8.78, allocations: 33.27 kB / 3.438 GB, free: 67.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/8.78, allocations: 221.1 kB / 3.439 GB, free: 67.22 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/8.78, allocations: 84.23 kB / 3.439 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/8.78, allocations: 7.406 kB / 3.439 GB, free: 67.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/8.78, allocations: 349.1 kB / 3.439 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/8.78, allocations: 107.4 kB / 3.439 GB, free: 66.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/8.781, allocations: 206.8 kB / 3.439 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/8.781, allocations: 123.9 kB / 3.439 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.092e-06/8.781, allocations: 3.938 kB / 3.439 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008092/8.782, allocations: 379.4 kB / 3.44 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000219/8.782, allocations: 1.043 MB / 3.441 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.291e-06/8.782, allocations: 3.938 kB / 3.441 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/8.782, allocations: 11.53 kB / 3.441 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005727/8.783, allocations: 104.5 kB / 3.441 GB, free: 65.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/8.783, allocations: 7.906 kB / 3.441 GB, free: 65.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005812/8.783, allocations: 78.8 kB / 3.441 GB, free: 65.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/8.783, allocations: 22.88 kB / 3.441 GB, free: 65.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/8.783, allocations: 3.844 kB / 3.441 GB, free: 65.26 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007198/8.784, allocations: 299.2 kB / 3.441 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.437e-06/8.784, allocations: 3.656 kB / 3.441 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.203e-06/8.784, allocations: 3.438 kB / 3.441 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/8.785, allocations: 114.8 kB / 3.441 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/8.785, allocations: 19.16 kB / 3.442 GB, free: 65.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/8.785, allocations: 71.12 kB / 3.442 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/8.785, allocations: 19.28 kB / 3.442 GB, free: 65.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (38): * Single equations (assignments): 38 * 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.0001424/8.786, allocations: 116.9 kB / 3.442 GB, free: 64.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/8.786, allocations: 41.56 kB / 3.442 GB, free: 64.97 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/8.788, allocations: 1.915 MB / 3.444 GB, free: 64.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/8.788, allocations: 29.67 kB / 3.444 GB, free: 64.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.466e-06/8.788, allocations: 0 / 3.444 GB, free: 64.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.193e-06/8.788, allocations: 11.31 kB / 3.444 GB, free: 64.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/8.79, allocations: 1.034 MB / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.347e-06/8.79, allocations: 3.781 kB / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/8.79, allocations: 87.3 kB / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/8.79, allocations: 0 / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/8.79, allocations: 10.5 kB / 3.445 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.864e-06/8.79, allocations: 3.656 kB / 3.445 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.255e-06/8.79, allocations: 3.875 kB / 3.445 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/8.792, allocations: 1.033 MB / 3.446 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/8.792, allocations: 265.4 kB / 3.446 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/8.792, allocations: 7.812 kB / 3.446 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/8.793, allocations: 46.41 kB / 3.446 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/8.793, allocations: 36.47 kB / 3.446 GB, free: 62.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/8.793, allocations: 15.5 kB / 3.446 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005067/8.794, allocations: 366.8 kB / 3.446 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.1e-07/8.794, allocations: 0 / 3.446 GB, free: 62.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004626/8.798, allocations: 1.188 MB / 3.448 GB, free: 62.24 MB / 0.5261 GB 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.007901/8.806, allocations: 1.492 MB / 3.449 GB, free: 61.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001395/8.808, allocations: 0.7123 MB / 3.45 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.68e-06/8.808, allocations: 0.5625 kB / 3.45 GB, free: 61.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000606/8.808, allocations: 495.7 kB / 3.45 GB, free: 61.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/8.81, allocations: 216.1 kB / 3.45 GB, free: 61.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/8.812, allocations: 1.193 MB / 3.452 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/8.812, allocations: 0.9996 MB / 3.453 GB, free: 60.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001239/8.814, allocations: 0.5608 MB / 3.453 GB, free: 59.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/8.814, allocations: 44.55 kB / 3.453 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of SimCode: time 1.897e-06/8.814, allocations: 0 / 3.453 GB, free: 59.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.06381/8.878, allocations: 34.99 MB / 3.487 GB, free: 33.02 MB / 0.5261 GB