Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 270 MB / 283.6 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.622e-05, allocations: 4 kB / 348.4 MB, free: 2.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3615, allocations: 61.88 MB / 410.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.115/7.476, allocations: 2.804 GB / 3.204 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/7.477, allocations: 83.89 kB / 3.204 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.984/9.46, allocations: 463.5 MB / 3.657 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.459e-06/9.46, allocations: 0 / 3.657 GB, free: 53.58 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001327/9.46, allocations: 34.98 kB / 3.657 GB, free: 53.58 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.007941/9.468, allocations: 2.318 MB / 3.659 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/9.468, allocations: 16.31 kB / 3.659 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/9.472, allocations: 443.5 kB / 3.66 GB, free: 52.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/9.475, allocations: 0.98 MB / 3.661 GB, free: 51.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/9.475, allocations: 108.2 kB / 3.661 GB, free: 51.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/9.476, allocations: 130.3 kB / 3.661 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004857/9.48, allocations: 1.638 MB / 3.663 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-05/9.481, allocations: 1.156 kB / 3.663 GB, free: 50.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/9.481, allocations: 58.44 kB / 3.663 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/9.481, allocations: 50.97 kB / 3.663 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003905/9.485, allocations: 1.248 MB / 3.664 GB, free: 49.91 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.01183/9.497, allocations: 7.833 MB / 3.672 GB, free: 42.66 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/9.499, allocations: 0.8577 MB / 3.672 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000646/9.5, allocations: 313.2 kB / 3.673 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0752/9.575, allocations: 24.24 MB / 3.696 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/9.575, allocations: 43.34 kB / 3.696 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 1.14e-05/9.575, allocations: 3.516 kB / 3.696 GB, free: 17.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.01285/9.588, allocations: 2.211 MB / 3.699 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/9.589, allocations: 137.3 kB / 3.699 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002833/9.591, allocations: 0.855 MB / 3.7 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001655/9.592, allocations: 37.7 kB / 3.7 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/9.592, allocations: 0.7005 MB / 3.7 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/9.592, allocations: 264 kB / 3.7 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/9.592, allocations: 24 kB / 3.701 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/9.593, allocations: 352.6 kB / 3.701 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006589/9.593, allocations: 270.5 kB / 3.701 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/9.594, allocations: 0.6994 MB / 3.702 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009027/9.595, allocations: 396.2 kB / 3.702 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/9.595, allocations: 4 kB / 3.702 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002767/9.598, allocations: 1.113 MB / 3.703 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00113/9.599, allocations: 5.663 MB / 3.709 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/9.599, allocations: 15.95 kB / 3.709 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00191/9.601, allocations: 232.3 kB / 3.709 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/9.603, allocations: 286.9 kB / 3.709 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008257/9.603, allocations: 0.7119 MB / 3.71 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/9.605, allocations: 98.78 kB / 3.71 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/9.605, allocations: 75.2 kB / 3.71 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/9.605, allocations: 4 kB / 3.71 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002101/9.607, allocations: 0.9663 MB / 3.711 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/9.607, allocations: 16 kB / 3.711 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/9.608, allocations: 171 kB / 3.711 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/9.61, allocations: 288.5 kB / 3.712 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006568/9.61, allocations: 0.6876 MB / 3.712 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/9.612, allocations: 105.7 kB / 3.712 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/9.612, allocations: 63.66 kB / 3.712 GB, free: 1.438 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.0003165/9.612, allocations: 188.5 kB / 3.713 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/9.613, allocations: 122.5 kB / 3.713 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/9.618, allocations: 3.025 MB / 3.716 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.387e-05/9.618, allocations: 43.94 kB / 3.716 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/9.618, allocations: 0 / 3.716 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/9.618, allocations: 3.984 kB / 3.716 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009079/9.627, allocations: 4.611 MB / 3.72 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/9.627, allocations: 0 / 3.72 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/9.628, allocations: 168 kB / 3.72 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/9.631, allocations: 1.255 MB / 3.722 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/9.631, allocations: 16 kB / 3.722 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/9.634, allocations: 1.422 MB / 3.723 GB, free: 6.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.667e-06/9.634, allocations: 4 kB / 3.723 GB, free: 6.641 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006255/9.64, allocations: 3.234 MB / 3.726 GB, free: 3.309 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/9.641, allocations: 434 kB / 3.727 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/9.642, allocations: 16 kB / 3.727 GB, free: 2.848 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/9.643, allocations: 99.77 kB / 3.727 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/9.643, allocations: 68.61 kB / 3.727 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/9.643, allocations: 35.98 kB / 3.727 GB, free: 2.648 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001913/9.645, allocations: 0.8345 MB / 3.728 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.107e-06/9.645, allocations: 0 / 3.728 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007255/9.652, allocations: 1.685 MB / 3.729 GB, free: 132 kB / 0.5417 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.354/10.01, allocations: 1.836 MB / 3.731 GB, free: 73.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003706/10.01, allocations: 1.554 MB / 3.733 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.677e-06/10.01, allocations: 0 / 3.733 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001375/10.01, allocations: 0.7533 MB / 3.733 GB, free: 73.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/10.01, allocations: 461.6 kB / 3.734 GB, free: 73.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005465/10.02, allocations: 2.663 MB / 3.736 GB, free: 72.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009458/10.02, allocations: 1.401 MB / 3.738 GB, free: 72.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002506/10.02, allocations: 0.7454 MB / 3.738 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/10.02, allocations: 90.81 kB / 3.739 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of SimCode: time 1.728e-06/10.02, allocations: 0 / 3.739 GB, free: 72.13 MB / 0.5417 GB Notification: Performance of Templates: time 0.1/10.12, allocations: 53.02 MB / 3.79 GB, free: 70.31 MB / 0.5417 GB