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_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadModel(ModelicaTest): time 2.598/2.598, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.091e-05, allocations: 7.125 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4384, allocations: 54.86 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer): time 0.08278/0.5213, allocations: 38.25 MB / 401.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03904/0.5604, allocations: 17.53 MB / 418.7 MB, free: 5.859 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002188/0.5626, allocations: 59.69 kB / 418.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002775/0.5654, allocations: 0.575 MB / 419.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01634/0.5818, allocations: 3.968 MB / 423.3 MB, free: 1.242 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.593, allocations: 2.702 MB / 426 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00431/0.5974, allocations: 1.407 MB / 427.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.5991, allocations: 0.7167 MB / 428.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.6016, allocations: 0.8452 MB / 428.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0171/0.6187, allocations: 6.554 MB / 435.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02625/0.645, allocations: 7.195 MB / 442.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003219/0.6483, allocations: 460 kB / 443.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006245/0.649, allocations: 254.9 kB / 443.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.6496, allocations: 164 kB / 443.5 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.6611, allocations: 4.369 MB / 447.9 MB, free: 8.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.6611, allocations: 4 kB / 447.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.377e-06/0.6611, allocations: 0 / 447.9 MB, free: 8.547 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.389e-05/0.6612, allocations: 0 / 447.9 MB, free: 8.547 MB / 378.7 MB 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.00782/0.669, allocations: 2.048 MB / 450 MB, free: 6.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.6691, allocations: 8.031 kB / 450 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.673, allocations: 413.6 kB / 450.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002579/0.6756, allocations: 0.9028 MB / 451.3 MB, free: 5.086 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.6758, allocations: 106.7 kB / 451.4 MB, free: 4.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/0.6762, allocations: 135.9 kB / 451.5 MB, free: 4.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006098/0.6823, allocations: 1.677 MB / 453.2 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.338e-05/0.6824, allocations: 4 kB / 453.2 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002089/0.6826, allocations: 56 kB / 453.2 MB, free: 3.012 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-05/0.6827, allocations: 46.36 kB / 453.3 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/0.6888, allocations: 1.371 MB / 454.7 MB, free: 1.586 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01466/0.7035, allocations: 7.581 MB / 462.2 MB, free: 9.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.7076, allocations: 0.8849 MB / 463.1 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06287/0.7705, allocations: 18.62 MB / 481.7 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.835e-05/0.7706, allocations: 51.2 kB / 481.8 MB, free: 3.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=71): time 3.617e-06/0.7707, allocations: 0 / 481.8 MB, free: 3.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.05213/0.8228, allocations: 5.617 MB / 487.4 MB, free: 13.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5993/1.422, allocations: 48.38 MB / 0.5232 GB, free: 99.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.424, allocations: 0.7771 MB / 0.524 GB, free: 98.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/1.424, allocations: 41.7 kB / 0.524 GB, free: 98.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/1.424, allocations: 0.7092 MB / 0.5247 GB, free: 98.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/1.425, allocations: 335.5 kB / 0.5251 GB, free: 97.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.425, allocations: 28 kB / 0.5251 GB, free: 97.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/1.425, allocations: 360.7 kB / 0.5254 GB, free: 97.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001599/1.427, allocations: 471.8 kB / 0.5259 GB, free: 97.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001817/1.428, allocations: 0.9597 MB / 0.5268 GB, free: 95.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/1.43, allocations: 0.5964 MB / 0.5274 GB, free: 95.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.43, allocations: 4 kB / 0.5274 GB, free: 95.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005198/1.436, allocations: 1.689 MB / 0.529 GB, free: 93.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.437, allocations: 6.275 MB / 0.5352 GB, free: 86.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/1.437, allocations: 16 kB / 0.5352 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006366/1.444, allocations: 0.7047 MB / 0.5359 GB, free: 86.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/1.446, allocations: 327.5 kB / 0.5362 GB, free: 85.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/1.448, allocations: 1.366 MB / 0.5375 GB, free: 84.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/1.45, allocations: 135.8 kB / 0.5377 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/1.45, allocations: 83.97 kB / 0.5377 GB, free: 84.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/1.45, allocations: 4 kB / 0.5377 GB, free: 84.22 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006483/1.457, allocations: 1.769 MB / 0.5395 GB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.457, allocations: 20.03 kB / 0.5395 GB, free: 82.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/1.46, allocations: 416.3 kB / 0.5399 GB, free: 82.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.462, allocations: 331.5 kB / 0.5402 GB, free: 81.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/1.464, allocations: 1.343 MB / 0.5415 GB, free: 80.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/1.466, allocations: 127.9 kB / 0.5416 GB, free: 80.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/1.466, allocations: 79.97 kB / 0.5417 GB, free: 80.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (155): * Single equations (assignments): 151 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 2,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.000843/1.467, allocations: 347.1 kB / 0.542 GB, free: 79.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/1.467, allocations: 118.6 kB / 0.5421 GB, free: 79.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006988/1.474, allocations: 3.627 MB / 0.5457 GB, free: 76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005735/1.48, allocations: 3.082 MB / 0.5487 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/1.48, allocations: 3.953 kB / 0.5487 GB, free: 72.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.48, allocations: 8.062 kB / 0.5487 GB, free: 72.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.491, allocations: 5.846 MB / 0.5544 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/1.491, allocations: 0 / 0.5544 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.492, allocations: 199.8 kB / 0.5546 GB, free: 66.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005404/1.498, allocations: 1.296 MB / 0.5559 GB, free: 65.49 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.498, allocations: 27.97 kB / 0.5559 GB, free: 65.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003009/1.501, allocations: 2.156 MB / 0.558 GB, free: 63.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08812/1.589, allocations: 24.79 MB / 0.5822 GB, free: 37.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007757/1.597, allocations: 3.817 MB / 0.5859 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000896/1.598, allocations: 390.4 kB / 0.5863 GB, free: 33.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002978/1.598, allocations: 16 kB / 0.5863 GB, free: 33.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/1.6, allocations: 103.8 kB / 0.5864 GB, free: 33.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.6, allocations: 80.75 kB / 0.5865 GB, free: 33.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.6, allocations: 39.98 kB / 0.5865 GB, free: 33.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001145/1.601, allocations: 0.6353 MB / 0.5872 GB, free: 32.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.601, allocations: 0 / 0.5872 GB, free: 32.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01579/1.617, allocations: 3.981 MB / 0.5911 GB, free: 28.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.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 (87): * Single equations (assignments): 79 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03128/1.648, allocations: 2.855 MB / 0.5938 GB, free: 26.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00735/1.656, allocations: 2.483 MB / 0.5963 GB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/1.656, allocations: 0 / 0.5963 GB, free: 23.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/1.658, allocations: 1.15 MB / 0.5974 GB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.662, allocations: 399.4 kB / 0.5978 GB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00863/1.67, allocations: 5.143 MB / 0.6028 GB, free: 17.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/1.671, allocations: 1.445 MB / 0.6042 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003248/1.675, allocations: 0.7781 MB / 0.605 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/1.675, allocations: 115.4 kB / 0.6051 GB, free: 14.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/1.675, allocations: 0 / 0.6051 GB, free: 14.75 MB / 426.7 MB Notification: Performance of Templates: time 0.6857/2.361, allocations: 152.7 MB / 0.7542 GB, free: 84.69 MB / 474.7 MB