Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.423e-05/3.435e-05, allocations: 8 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3405, allocations: 61.89 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.779/7.119, allocations: 2.804 GB / 3.203 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/7.119, allocations: 88.22 kB / 3.203 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.905/9.024, allocations: 463.5 MB / 3.656 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.071e-06/9.024, allocations: 0 / 3.656 GB, free: 66.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.902e-05/9.024, allocations: 38.19 kB / 3.656 GB, free: 66.46 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007472/9.032, allocations: 2.321 MB / 3.658 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/9.032, allocations: 9.859 kB / 3.658 GB, free: 65.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004009/9.036, allocations: 448.7 kB / 3.658 GB, free: 65.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002744/9.039, allocations: 0.9803 MB / 3.659 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/9.039, allocations: 107.8 kB / 3.659 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/9.039, allocations: 136.3 kB / 3.66 GB, free: 64.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/9.043, allocations: 1.637 MB / 3.661 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.725e-05/9.043, allocations: 6.969 kB / 3.661 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/9.043, allocations: 56.69 kB / 3.661 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/9.044, allocations: 47.77 kB / 3.661 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00387/9.047, allocations: 1.244 MB / 3.663 GB, free: 64.59 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.0116/9.059, allocations: 7.824 MB / 3.67 GB, free: 60.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/9.062, allocations: 0.8614 MB / 3.671 GB, free: 60.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/9.062, allocations: 313.5 kB / 3.671 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05398/9.116, allocations: 24.24 MB / 3.695 GB, free: 45.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/9.116, allocations: 45.28 kB / 3.695 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 4.391e-06/9.116, allocations: 0 / 3.695 GB, free: 45.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.007121/9.124, allocations: 2.208 MB / 3.697 GB, free: 44.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/9.124, allocations: 139.1 kB / 3.697 GB, free: 44.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/9.125, allocations: 0.8517 MB / 3.698 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.867e-05/9.125, allocations: 43.31 kB / 3.698 GB, free: 44.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003682/9.126, allocations: 0.6888 MB / 3.699 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/9.126, allocations: 265.6 kB / 3.699 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/9.126, allocations: 19.66 kB / 3.699 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.226e-05/9.126, allocations: 359.5 kB / 3.699 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/9.127, allocations: 269.1 kB / 3.7 GB, free: 43.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008206/9.127, allocations: 0.7104 MB / 3.7 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/9.128, allocations: 384.1 kB / 3.701 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/9.128, allocations: 3.938 kB / 3.701 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00235/9.131, allocations: 1.052 MB / 3.702 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001057/9.132, allocations: 5.661 MB / 3.707 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/9.132, allocations: 11.38 kB / 3.707 GB, free: 36.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/9.134, allocations: 234.4 kB / 3.708 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/9.135, allocations: 287.2 kB / 3.708 GB, free: 36.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007486/9.136, allocations: 0.7105 MB / 3.709 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/9.137, allocations: 113.5 kB / 3.709 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/9.137, allocations: 62.22 kB / 3.709 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/9.137, allocations: 3.938 kB / 3.709 GB, free: 36.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002119/9.139, allocations: 0.9749 MB / 3.71 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/9.14, allocations: 20.59 kB / 3.71 GB, free: 36.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/9.14, allocations: 150.4 kB / 3.71 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/9.142, allocations: 282 kB / 3.71 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006426/9.142, allocations: 0.6862 MB / 3.711 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/9.143, allocations: 102.4 kB / 3.711 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/9.144, allocations: 64.36 kB / 3.711 GB, free: 35.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.000327/9.144, allocations: 191 kB / 3.711 GB, free: 35.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/9.144, allocations: 115.8 kB / 3.711 GB, free: 35.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004054/9.148, allocations: 3.041 MB / 3.714 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/9.148, allocations: 35.42 kB / 3.714 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.801e-06/9.148, allocations: 1.469 kB / 3.714 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/9.148, allocations: 3.797 kB / 3.714 GB, free: 35.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00658/9.155, allocations: 4.611 MB / 3.719 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/9.155, allocations: 3.938 kB / 3.719 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000964/9.156, allocations: 166.8 kB / 3.719 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002364/9.158, allocations: 1.255 MB / 3.72 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/9.159, allocations: 22.91 kB / 3.72 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/9.16, allocations: 1.419 MB / 3.722 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.46e-06/9.16, allocations: 5.781 kB / 3.722 GB, free: 34.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/9.165, allocations: 3.233 MB / 3.725 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008845/9.166, allocations: 433.4 kB / 3.725 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/9.166, allocations: 22.53 kB / 3.725 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/9.167, allocations: 89.8 kB / 3.725 GB, free: 33.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/9.167, allocations: 68.56 kB / 3.725 GB, free: 33.13 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.299e-05/9.167, allocations: 39.7 kB / 3.725 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001433/9.169, allocations: 0.8359 MB / 3.726 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.53e-07/9.169, allocations: 0 / 3.726 GB, free: 32.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006303/9.175, allocations: 1.676 MB / 3.728 GB, free: 32.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.008147/9.183, allocations: 1.855 MB / 3.73 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00319/9.186, allocations: 1.524 MB / 3.731 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.201e-06/9.186, allocations: 0 / 3.731 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/9.188, allocations: 0.7444 MB / 3.732 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/9.191, allocations: 464.3 kB / 3.732 GB, free: 30.97 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/9.196, allocations: 2.689 MB / 3.735 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009375/9.197, allocations: 1.395 MB / 3.736 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004412/9.197, allocations: 106.4 kB / 3.736 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.68e-06/9.197, allocations: 0 / 3.736 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.07316/9.27, allocations: 48.93 MB / 3.784 GB, free: 6.93 MB / 0.5261 GB