Running command: translateModel(ThermoPower.Test.WaterComponents.WaterPumpMech,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.WaterPumpMech") Notification: Performance of loadModel(ThermoPower): time 2.341/2.341, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.937e-05, allocations: 0 / 330.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3199/0.32, allocations: 60.24 MB / 391 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.255/7.575, allocations: 2.895 GB / 3.277 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/7.576, allocations: 77.42 kB / 3.277 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9547/8.53, allocations: 225.6 MB / 3.497 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.032e-06/8.531, allocations: 0 / 3.497 GB, free: 90.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.205e-05/8.531, allocations: 14.06 kB / 3.497 GB, free: 90.33 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.004106/8.535, allocations: 1.156 MB / 3.498 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/8.535, allocations: 9.438 kB / 3.498 GB, free: 89.63 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/8.535, allocations: 73.62 kB / 3.498 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/8.537, allocations: 479.8 kB / 3.499 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/8.537, allocations: 65.27 kB / 3.499 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/8.537, allocations: 58.14 kB / 3.499 GB, free: 89.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/8.538, allocations: 0.5312 MB / 3.499 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/8.538, allocations: 7.906 kB / 3.5 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/8.538, allocations: 15.94 kB / 3.5 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/8.538, allocations: 14.06 kB / 3.5 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/8.539, allocations: 338.9 kB / 3.5 GB, free: 88.78 MB / 0.5105 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.003308/8.542, allocations: 2.038 MB / 3.502 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000715/8.543, allocations: 306.5 kB / 3.502 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/8.543, allocations: 160.7 kB / 3.502 GB, free: 87.12 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0716/8.615, allocations: 31.97 MB / 3.534 GB, free: 64.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/8.615, allocations: 38.56 kB / 3.534 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 3.194e-06/8.615, allocations: 0 / 3.534 GB, free: 64.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=38): time 0.002902/8.618, allocations: 1.219 MB / 3.535 GB, free: 63.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/8.618, allocations: 55.41 kB / 3.535 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/8.618, allocations: 317.7 kB / 3.535 GB, free: 62.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/8.619, allocations: 33.7 kB / 3.535 GB, free: 62.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/8.619, allocations: 265.5 kB / 3.535 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/8.619, allocations: 132.8 kB / 3.535 GB, free: 62.28 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/8.619, allocations: 8 kB / 3.536 GB, free: 62.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/8.619, allocations: 357.3 kB / 3.536 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/8.619, allocations: 100.6 kB / 3.536 GB, free: 61.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/8.619, allocations: 157.5 kB / 3.536 GB, free: 61.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/8.62, allocations: 124.4 kB / 3.536 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-06/8.62, allocations: 0 / 3.536 GB, free: 61.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009815/8.621, allocations: 413.7 kB / 3.537 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/8.621, allocations: 0.6124 MB / 3.537 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.814e-06/8.621, allocations: 0 / 3.537 GB, free: 60.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005581/8.622, allocations: 98 kB / 3.537 GB, free: 60.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/8.622, allocations: 86.72 kB / 3.537 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006433/8.623, allocations: 0.6444 MB / 3.538 GB, free: 59.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005343/8.623, allocations: 35.31 kB / 3.538 GB, free: 59.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/8.623, allocations: 19.61 kB / 3.538 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/8.623, allocations: 8 kB / 3.538 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009853/8.624, allocations: 357.1 kB / 3.538 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.91e-06/8.624, allocations: 0 / 3.538 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/8.625, allocations: 74.88 kB / 3.538 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/8.625, allocations: 102.2 kB / 3.539 GB, free: 59.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000425/8.626, allocations: 0.5938 MB / 3.539 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/8.626, allocations: 39.25 kB / 3.539 GB, free: 58.56 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.612e-05/8.626, allocations: 27.67 kB / 3.539 GB, free: 58.54 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (Pump.int_Np,Pump.inletFluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001376/8.626, allocations: 120.9 kB / 3.539 GB, free: 58.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/8.626, allocations: 50.39 kB / 3.539 GB, free: 58.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/8.628, allocations: 0.6422 MB / 3.54 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/8.628, allocations: 4 kB / 3.54 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.419e-06/8.628, allocations: 4.062 kB / 3.54 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.588e-06/8.628, allocations: 7.891 kB / 3.54 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/8.63, allocations: 1.353 MB / 3.541 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.148e-06/8.63, allocations: 0 / 3.541 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000592/8.631, allocations: 91.5 kB / 3.541 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007757/8.632, allocations: 419.8 kB / 3.542 GB, free: 56.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/8.632, allocations: 12 kB / 3.542 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007771/8.632, allocations: 0.8319 MB / 3.543 GB, free: 55.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.465e-06/8.633, allocations: 7.969 kB / 3.543 GB, free: 55.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/8.634, allocations: 0.9503 MB / 3.544 GB, free: 54.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/8.634, allocations: 152.2 kB / 3.544 GB, free: 54.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.54e-05/8.635, allocations: 8 kB / 3.544 GB, free: 54.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005065/8.635, allocations: 43.3 kB / 3.544 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/8.635, allocations: 31.3 kB / 3.544 GB, free: 54.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/8.635, allocations: 15.89 kB / 3.544 GB, free: 54.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003506/8.636, allocations: 260.5 kB / 3.544 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.02e-07/8.636, allocations: 0 / 3.544 GB, free: 53.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0038/8.639, allocations: 0.9897 MB / 3.545 GB, free: 52.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (Pump.h,SimpleMotor1.L.i,SimpleMotor1.Damper.phi_rel,SimpleMotor1.Damper.w_rel) * Number of discrete variables: 2 ($cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.006631/8.646, allocations: 1.251 MB / 3.546 GB, free: 51.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001479/8.648, allocations: 0.5082 MB / 3.547 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.571e-06/8.648, allocations: 0 / 3.547 GB, free: 51.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005579/8.648, allocations: 222.5 kB / 3.547 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/8.649, allocations: 161 kB / 3.547 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/8.651, allocations: 0.9036 MB / 3.548 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/8.652, allocations: 0.8662 MB / 3.549 GB, free: 49.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006461/8.652, allocations: 113.3 kB / 3.549 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/8.652, allocations: 39.09 kB / 3.549 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-06/8.652, allocations: 0 / 3.549 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.05267/8.705, allocations: 31.81 MB / 3.58 GB, free: 20.72 MB / 0.5105 GB