Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270 MB / 282.7 MB, free: 1.805 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.693e-05, allocations: 4 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3262, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.851/7.178, allocations: 2.776 GB / 3.175 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/7.178, allocations: 80.64 kB / 3.175 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.017/8.195, allocations: 236.3 MB / 3.406 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.371e-06/8.195, allocations: 3.781 kB / 3.406 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.596e-05/8.195, allocations: 13.94 kB / 3.406 GB, free: 87.84 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.004556/8.199, allocations: 1.268 MB / 3.407 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/8.199, allocations: 7.625 kB / 3.407 GB, free: 87.04 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/8.202, allocations: 253.7 kB / 3.408 GB, free: 87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008866/8.203, allocations: 421.1 kB / 3.408 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/8.203, allocations: 27.16 kB / 3.408 GB, free: 86.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/8.203, allocations: 27.12 kB / 3.408 GB, free: 86.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/8.205, allocations: 0.6054 MB / 3.409 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/8.205, allocations: 3.906 kB / 3.409 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.924e-05/8.205, allocations: 11.97 kB / 3.409 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/8.205, allocations: 7.906 kB / 3.409 GB, free: 86.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/8.206, allocations: 0.5125 MB / 3.409 GB, free: 86.24 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.003454/8.21, allocations: 2.628 MB / 3.412 GB, free: 84.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/8.211, allocations: 439.3 kB / 3.412 GB, free: 83.94 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/8.212, allocations: 144.7 kB / 3.412 GB, free: 83.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05323/8.265, allocations: 24.15 MB / 3.436 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/8.265, allocations: 38.41 kB / 3.436 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.782e-06/8.265, allocations: 0 / 3.436 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002584/8.268, allocations: 0.6487 MB / 3.437 GB, free: 68.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/8.268, allocations: 114.5 kB / 3.437 GB, free: 68.39 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/8.268, allocations: 316.1 kB / 3.437 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/8.268, allocations: 29.7 kB / 3.437 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/8.268, allocations: 261.2 kB / 3.437 GB, free: 67.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/8.268, allocations: 91.69 kB / 3.437 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/8.268, allocations: 4 kB / 3.437 GB, free: 67.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.823e-05/8.268, allocations: 330.4 kB / 3.438 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/8.269, allocations: 102 kB / 3.438 GB, free: 67.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/8.269, allocations: 203.2 kB / 3.438 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/8.269, allocations: 129.8 kB / 3.438 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.211e-06/8.269, allocations: 0 / 3.438 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007908/8.27, allocations: 349.1 kB / 3.438 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/8.27, allocations: 1.051 MB / 3.439 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.184e-06/8.27, allocations: 3.781 kB / 3.439 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/8.27, allocations: 3.812 kB / 3.439 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005735/8.271, allocations: 117.4 kB / 3.44 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/8.271, allocations: 3.938 kB / 3.44 GB, free: 66.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/8.272, allocations: 74.92 kB / 3.44 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.262e-05/8.272, allocations: 21.31 kB / 3.44 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/8.272, allocations: 3.531 kB / 3.44 GB, free: 66.03 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000669/8.272, allocations: 298.8 kB / 3.44 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/8.272, allocations: 3.594 kB / 3.44 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.272e-06/8.272, allocations: 7.312 kB / 3.44 GB, free: 65.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/8.273, allocations: 106.7 kB / 3.44 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/8.273, allocations: 9.984 kB / 3.44 GB, free: 65.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/8.273, allocations: 60.67 kB / 3.44 GB, free: 65.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/8.273, allocations: 31.23 kB / 3.44 GB, free: 65.88 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.0001218/8.274, allocations: 123 kB / 3.44 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/8.274, allocations: 38.34 kB / 3.44 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/8.276, allocations: 1.924 MB / 3.442 GB, free: 64.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/8.276, allocations: 27.02 kB / 3.442 GB, free: 64.81 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/8.276, allocations: 0 / 3.442 GB, free: 64.81 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.391e-06/8.276, allocations: 7.844 kB / 3.442 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/8.277, allocations: 1.036 MB / 3.443 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.663e-06/8.277, allocations: 3.969 kB / 3.443 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004941/8.278, allocations: 88.19 kB / 3.443 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.401e-06/8.278, allocations: 3.938 kB / 3.443 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/8.278, allocations: 7.781 kB / 3.443 GB, free: 64.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.787e-06/8.278, allocations: 3.984 kB / 3.443 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.411e-06/8.278, allocations: 3.781 kB / 3.443 GB, free: 64.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/8.279, allocations: 1.035 MB / 3.444 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/8.28, allocations: 266 kB / 3.445 GB, free: 63.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/8.28, allocations: 4 kB / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/8.28, allocations: 45.62 kB / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.559e-05/8.281, allocations: 36.45 kB / 3.445 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/8.281, allocations: 10.78 kB / 3.445 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004827/8.281, allocations: 363.4 kB / 3.445 GB, free: 63.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.08e-07/8.281, allocations: 3.938 kB / 3.445 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004382/8.285, allocations: 1.192 MB / 3.446 GB, free: 63.01 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.00737/8.293, allocations: 1.492 MB / 3.448 GB, free: 62.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001332/8.294, allocations: 0.6957 MB / 3.448 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.64e-06/8.294, allocations: 0 / 3.448 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005637/8.295, allocations: 490.9 kB / 3.449 GB, free: 62.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/8.296, allocations: 224.9 kB / 3.449 GB, free: 62.08 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/8.298, allocations: 1.218 MB / 3.45 GB, free: 61.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/8.299, allocations: 0.9971 MB / 3.451 GB, free: 60.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/8.299, allocations: 51.12 kB / 3.451 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/8.299, allocations: 0 / 3.451 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of Templates: time 0.04333/8.342, allocations: 27.96 MB / 3.479 GB, free: 41 MB / 0.5261 GB