Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.389e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3266, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.495/6.822, allocations: 2.787 GB / 3.186 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/6.822, allocations: 87.94 kB / 3.186 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.22/9.043, allocations: 443.6 MB / 3.62 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.082e-06/9.043, allocations: 1.094 kB / 3.62 GB, free: 67.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.683e-05/9.043, allocations: 26.39 kB / 3.62 GB, free: 67.17 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005946/9.049, allocations: 1.737 MB / 3.621 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/9.049, allocations: 7.812 kB / 3.621 GB, free: 66.55 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/9.053, allocations: 332.1 kB / 3.622 GB, free: 66.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/9.054, allocations: 0.5742 MB / 3.622 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/9.055, allocations: 47.09 kB / 3.622 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/9.055, allocations: 59.22 kB / 3.622 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/9.057, allocations: 0.9583 MB / 3.623 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/9.057, allocations: 3.094 kB / 3.623 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-05/9.057, allocations: 28.28 kB / 3.623 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.839e-05/9.058, allocations: 25.38 kB / 3.623 GB, free: 66.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/9.06, allocations: 0.794 MB / 3.624 GB, free: 66.07 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.005783/9.066, allocations: 4.449 MB / 3.628 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/9.068, allocations: 0.7098 MB / 3.629 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/9.069, allocations: 221.2 kB / 3.629 GB, free: 62.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1278/9.197, allocations: 55.76 MB / 3.684 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/9.197, allocations: 37.27 kB / 3.684 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.35e-06/9.197, allocations: 0 / 3.684 GB, free: 28.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.006385/9.203, allocations: 1.858 MB / 3.686 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/9.203, allocations: 110.8 kB / 3.686 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/9.204, allocations: 462.6 kB / 3.686 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/9.204, allocations: 36.48 kB / 3.686 GB, free: 28.15 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/9.204, allocations: 355.9 kB / 3.687 GB, free: 27.94 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/9.204, allocations: 185.9 kB / 3.687 GB, free: 27.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/9.204, allocations: 7.75 kB / 3.687 GB, free: 27.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/9.205, allocations: 341.5 kB / 3.687 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/9.205, allocations: 189.6 kB / 3.687 GB, free: 27.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/9.206, allocations: 351.3 kB / 3.688 GB, free: 27.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/9.206, allocations: 232.1 kB / 3.688 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/9.206, allocations: 3.938 kB / 3.688 GB, free: 27.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002121/9.208, allocations: 0.7634 MB / 3.689 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003824/9.209, allocations: 1.832 MB / 3.69 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/9.209, allocations: 14.95 kB / 3.69 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/9.211, allocations: 391.1 kB / 3.691 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007424/9.212, allocations: 142.2 kB / 3.691 GB, free: 25.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/9.213, allocations: 0.8762 MB / 3.692 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/9.214, allocations: 91.39 kB / 3.692 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/9.214, allocations: 35.11 kB / 3.692 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/9.214, allocations: 5.562 kB / 3.692 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001867/9.216, allocations: 0.6748 MB / 3.693 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/9.216, allocations: 7.203 kB / 3.693 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001426/9.218, allocations: 284.1 kB / 3.693 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007163/9.218, allocations: 140.2 kB / 3.693 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/9.219, allocations: 0.8256 MB / 3.694 GB, free: 24.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007972/9.22, allocations: 88.94 kB / 3.694 GB, free: 24.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-05/9.22, allocations: 36.09 kB / 3.694 GB, free: 24.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002351/9.221, allocations: 140.5 kB / 3.694 GB, free: 24.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/9.221, allocations: 70.91 kB / 3.694 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/9.225, allocations: 2.665 MB / 3.697 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.708e-05/9.225, allocations: 36.08 kB / 3.697 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.481e-06/9.225, allocations: 7.875 kB / 3.697 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/9.225, allocations: 6.281 kB / 3.697 GB, free: 23.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/9.23, allocations: 3.724 MB / 3.7 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.907e-06/9.23, allocations: 3.062 kB / 3.7 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/9.231, allocations: 154.3 kB / 3.701 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005293/9.231, allocations: 90.91 kB / 3.701 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/9.231, allocations: 18.5 kB / 3.701 GB, free: 23.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007522/9.232, allocations: 1.129 MB / 3.702 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.4e-06/9.232, allocations: 3.594 kB / 3.702 GB, free: 22.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/9.236, allocations: 2.1 MB / 3.704 GB, free: 21.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007029/9.236, allocations: 364 kB / 3.704 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/9.236, allocations: 12.41 kB / 3.704 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008512/9.237, allocations: 80.44 kB / 3.704 GB, free: 21.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/9.237, allocations: 49.83 kB / 3.704 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/9.238, allocations: 25.36 kB / 3.704 GB, free: 21.67 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008942/9.238, allocations: 0.5511 MB / 3.705 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.68e-07/9.238, allocations: 2.906 kB / 3.705 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005644/9.244, allocations: 1.426 MB / 3.706 GB, free: 21.38 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008578/9.253, allocations: 1.728 MB / 3.708 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002734/9.256, allocations: 1.174 MB / 3.709 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.493e-06/9.256, allocations: 2.188 kB / 3.709 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/9.257, allocations: 0.6798 MB / 3.71 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/9.259, allocations: 347.3 kB / 3.71 GB, free: 20.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/9.263, allocations: 1.85 MB / 3.712 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/9.263, allocations: 1.148 MB / 3.713 GB, free: 19.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003026/9.263, allocations: 67.36 kB / 3.713 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of SimCode: time 2.687e-06/9.263, allocations: 0 / 3.713 GB, free: 19.69 MB / 0.5261 GB Notification: Performance of Templates: time 0.06236/9.326, allocations: 40.66 MB / 3.753 GB, free: 16.23 MB / 0.5261 GB