Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 194.9 MB / 210.6 MB, free: 9.312 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.748e-05/2.751e-05, allocations: 0 / 258.8 MB, free: 9.023 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3006, allocations: 44.51 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01203/0.3127, allocations: 7.322 MB / 310.6 MB, free: 6.398 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00668/0.3194, allocations: 2.71 MB / 313.4 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.3207, allocations: 39.94 kB / 313.4 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001397/0.3221, allocations: 417.5 kB / 313.8 MB, free: 3.234 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.3242, allocations: 0.5569 MB / 314.4 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008052/0.3251, allocations: 223.6 kB / 314.6 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.3276, allocations: 0.9568 MB / 315.5 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000782/0.3284, allocations: 367.6 kB / 315.9 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007984/0.3292, allocations: 462.8 kB / 316.3 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.3301, allocations: 0.5177 MB / 316.9 MB, free: 152 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.3306, allocations: 99.97 kB / 317 MB, free: 52 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.3308, allocations: 60.05 kB / 317 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.3311, allocations: 207 kB / 317.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.3315, allocations: 144 kB / 317.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.3336, allocations: 1.425 MB / 318.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3336, allocations: 0 / 318.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3336, allocations: 4 kB / 318.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.021e-05/0.3337, allocations: 7.938 kB / 318.8 MB, free: 14.2 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 271 * Number of variables: 271 Notification: Performance of Generate backend data structure: time 0.003526/0.3372, allocations: 1.362 MB / 320.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/0.3373, allocations: 19.95 kB / 320.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006815/0.338, allocations: 178.2 kB / 320.4 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.3398, allocations: 0.7502 MB / 321.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.34, allocations: 115.8 kB / 321.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.3402, allocations: 108 kB / 321.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.3433, allocations: 1.13 MB / 322.5 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.3433, allocations: 11.86 kB / 322.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001483/0.3435, allocations: 48 kB / 322.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.3435, allocations: 24 kB / 322.5 MB, free: 10.26 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00254/0.3461, allocations: 0.7652 MB / 323.3 MB, free: 9.492 MB / 266.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.008722/0.3548, allocations: 3.871 MB / 327.2 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002599/0.3575, allocations: 0.5933 MB / 327.8 MB, free: 4.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-05/0.3576, allocations: 16.47 kB / 327.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000954/0.3585, allocations: 303.1 kB / 328.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 3.477e-06/0.3585, allocations: 0 / 328.1 MB, free: 4.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00757/0.3661, allocations: 2.102 MB / 330.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002398/0.3664, allocations: 471.2 kB / 330.6 MB, free: 1.727 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001803/0.3682, allocations: 0.8752 MB / 331.5 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.3684, allocations: 41.7 kB / 331.6 MB, free: 0.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007196/0.3691, allocations: 0.6272 MB / 332.2 MB, free: 160 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.3694, allocations: 236.8 kB / 332.4 MB, free: 15.92 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.3695, allocations: 20 kB / 332.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3697, allocations: 341.9 kB / 332.8 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009017/0.3706, allocations: 254.5 kB / 333 MB, free: 15.31 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3719, allocations: 0.713 MB / 333.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.3731, allocations: 406.4 kB / 334.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.3731, allocations: 4 kB / 334.1 MB, free: 13.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003236/0.3764, allocations: 1.137 MB / 335.3 MB, free: 12.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.54e-05/0.3765, allocations: 68.33 kB / 335.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/0.3765, allocations: 12 kB / 335.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008692/0.3774, allocations: 163.4 kB / 335.5 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3787, allocations: 215.6 kB / 335.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006156/0.3849, allocations: 3.595 MB / 339.3 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.3866, allocations: 80.12 kB / 339.4 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.3867, allocations: 55.91 kB / 339.4 MB, free: 8.359 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007173/0.3874, allocations: 293.5 kB / 339.7 MB, free: 8.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.3877, allocations: 122.5 kB / 339.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.3901, allocations: 0.7231 MB / 340.6 MB, free: 7.199 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3901, allocations: 4 kB / 340.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3902, allocations: 4 kB / 340.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/0.3924, allocations: 0.9762 MB / 341.6 MB, free: 6.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/0.3969, allocations: 1.747 MB / 343.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.397, allocations: 4 kB / 343.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009423/0.3979, allocations: 107.9 kB / 343.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006971/0.3986, allocations: 129.6 kB / 343.5 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.17e-05/0.3987, allocations: 16 kB / 343.6 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004959/0.4037, allocations: 3.334 MB / 346.9 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4037, allocations: 0 / 346.9 MB, free: 428 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/0.407, allocations: 1.156 MB / 348 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/0.4076, allocations: 235.6 kB / 348.3 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002709/0.4079, allocations: 20 kB / 348.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.409, allocations: 51.95 kB / 348.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/0.4092, allocations: 56.44 kB / 348.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.4093, allocations: 20 kB / 348.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.4106, allocations: 0.6618 MB / 349.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4106, allocations: 0 / 349.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001517/0.4122, allocations: 300 kB / 349.4 MB, free: 13.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003104/0.4125, allocations: 131.1 kB / 349.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003182/0.4157, allocations: 1.111 MB / 350.6 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4157, allocations: 3.938 kB / 350.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.4172, allocations: 0.5564 MB / 351.2 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.4195, allocations: 292 kB / 351.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.4254, allocations: 2.652 MB / 354.1 MB, free: 8.953 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009235/0.4263, allocations: 1.105 MB / 355.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001031/0.4274, allocations: 141 kB / 355.4 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002584/0.4276, allocations: 71.44 kB / 355.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of SimCode: time 1.333e-06/0.4277, allocations: 0 / 355.4 MB, free: 7.609 MB / 298.7 MB Notification: Performance of Templates: time 0.2246/0.6523, allocations: 15.16 MB / 370.6 MB, free: 8.461 MB / 314.7 MB