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_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.639e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve): time 0.3698/0.5066, allocations: 23.38 MB / 434.3 MB, free: 2.453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0284/0.535, allocations: 13.83 MB / 448.1 MB, free: 9.348 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009145/0.536, allocations: 17.62 kB / 448.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.5372, allocations: 244.5 kB / 448.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.5512, allocations: 3.154 MB / 451.5 MB, free: 7.578 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01015/0.5614, allocations: 2.219 MB / 453.8 MB, free: 5.875 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001481/0.5629, allocations: 483.3 kB / 454.2 MB, free: 5.539 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004728/0.5634, allocations: 180.7 kB / 454.4 MB, free: 5.426 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.5647, allocations: 408.1 kB / 454.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00799/0.5728, allocations: 2.926 MB / 457.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02052/0.5933, allocations: 6.81 MB / 464.5 MB, free: 1.395 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002956/0.5964, allocations: 416.8 kB / 465 MB, free: 1.395 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.5967, allocations: 82.42 kB / 465 MB, free: 1.336 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.597, allocations: 47.69 kB / 465.1 MB, free: 1.336 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.6062, allocations: 2.924 MB / 468 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6063, allocations: 4 kB / 468 MB, free: 14.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6063, allocations: 0 / 468 MB, free: 14.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.6063, allocations: 0 / 468 MB, free: 14.63 MB / 378.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.004381/0.6107, allocations: 1.209 MB / 469.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6107, allocations: 12.03 kB / 469.2 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.6136, allocations: 255.1 kB / 469.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008988/0.6146, allocations: 370.8 kB / 469.8 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.6147, allocations: 28.66 kB / 469.9 MB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.6148, allocations: 31.94 kB / 469.9 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.6174, allocations: 0.6235 MB / 470.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.6175, allocations: 3.938 kB / 470.5 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.6176, allocations: 12 kB / 470.5 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.6176, allocations: 11.95 kB / 470.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.6204, allocations: 0.6031 MB / 471.2 MB, free: 11.36 MB / 378.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.005335/0.6258, allocations: 2.66 MB / 473.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/0.6284, allocations: 498.1 kB / 474.3 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08707/0.7155, allocations: 24.41 MB / 498.7 MB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.642e-05/0.7156, allocations: 34.56 kB / 498.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.016e-06/0.7157, allocations: 0 / 498.7 MB, free: 12.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.004913/0.7206, allocations: 0.8691 MB / 499.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.7207, allocations: 110.8 kB / 499.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.7214, allocations: 344.6 kB / 0.4883 GB, free: 11.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/0.7216, allocations: 33.7 kB / 0.4884 GB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.7218, allocations: 262.6 kB / 0.4886 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.7219, allocations: 82.84 kB / 0.4887 GB, free: 10.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.722, allocations: 4 kB / 0.4887 GB, free: 10.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.7221, allocations: 326.8 kB / 0.489 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008358/0.723, allocations: 171.9 kB / 0.4892 GB, free: 10.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008991/0.7239, allocations: 275.6 kB / 0.4894 GB, free: 10.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008793/0.7248, allocations: 187.8 kB / 0.4896 GB, free: 9.883 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.7249, allocations: 7.938 kB / 0.4896 GB, free: 9.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002072/0.7269, allocations: 492.4 kB / 0.4901 GB, free: 9.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005292/0.7275, allocations: 1.051 MB / 0.4911 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.7276, allocations: 0 / 0.4911 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.7276, allocations: 4 kB / 0.4911 GB, free: 8.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009047/0.7285, allocations: 115.9 kB / 0.4912 GB, free: 8.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/0.7286, allocations: 7.938 kB / 0.4912 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/0.7294, allocations: 71.64 kB / 0.4913 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.073e-05/0.7295, allocations: 16 kB / 0.4913 GB, free: 8.047 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.7295, allocations: 4 kB / 0.4913 GB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001988/0.7315, allocations: 439.6 kB / 0.4918 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.7316, allocations: 4 kB / 0.4918 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.7316, allocations: 11.94 kB / 0.4918 GB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007865/0.7324, allocations: 108.1 kB / 0.4919 GB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.7324, allocations: 11.94 kB / 0.4919 GB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005712/0.733, allocations: 59.7 kB / 0.4919 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.7331, allocations: 19.98 kB / 0.492 GB, free: 7.402 MB / 410.7 MB 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.0003434/0.7334, allocations: 161.8 kB / 0.4921 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.7336, allocations: 39.53 kB / 0.4922 GB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004222/0.7378, allocations: 2.003 MB / 0.4941 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/0.7379, allocations: 31.91 kB / 0.4941 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.738, allocations: 3.938 kB / 0.4941 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.738, allocations: 7.984 kB / 0.4941 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.7396, allocations: 1.051 MB / 0.4952 GB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.7397, allocations: 3.938 kB / 0.4952 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.7404, allocations: 91.86 kB / 0.4953 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/0.7404, allocations: 8 kB / 0.4953 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.7404, allocations: 8 kB / 0.4953 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.7405, allocations: 4 kB / 0.4953 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.7405, allocations: 3.953 kB / 0.4953 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002555/0.743, allocations: 1.145 MB / 0.4964 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.7435, allocations: 267.4 kB / 0.4967 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.7437, allocations: 4 kB / 0.4967 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006196/0.7443, allocations: 43.91 kB / 0.4967 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.7445, allocations: 43.89 kB / 0.4968 GB, free: 2.383 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.7445, allocations: 12 kB / 0.4968 GB, free: 2.371 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007174/0.7452, allocations: 370.8 kB / 0.4971 GB, free: 2.008 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7453, allocations: 0 / 0.4971 GB, free: 2.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00416/0.7494, allocations: 1.105 MB / 0.4982 GB, free: 0.9023 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.007148/0.7566, allocations: 1.255 MB / 0.4994 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003082/0.7598, allocations: 0.8997 MB / 0.5003 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7598, allocations: 0 / 0.5003 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.7611, allocations: 0.5341 MB / 0.5008 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.7631, allocations: 233.2 kB / 0.501 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/0.7669, allocations: 2.002 MB / 0.503 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/0.7677, allocations: 0.9992 MB / 0.504 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.7679, allocations: 55.36 kB / 0.504 GB, free: 10.86 MB / 426.7 MB Notification: Performance of SimCode: time 2.985e-06/0.768, allocations: 4 kB / 0.504 GB, free: 10.86 MB / 426.7 MB Notification: Performance of Templates: time 0.06397/0.8319, allocations: 27.29 MB / 0.5307 GB, free: 15.57 MB / 458.7 MB