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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.087e-05/5.101e-05, allocations: 4.719 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1715, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4179/0.5895, allocations: 99.97 MB / 443.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5898, allocations: 80.58 kB / 443.1 MB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.7101, allocations: 30.64 MB / 473.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.045e-06/0.7101, allocations: 0 / 473.8 MB, free: 15.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.636e-05/0.7102, allocations: 31.94 kB / 473.8 MB, free: 15.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002864/0.7131, allocations: 1.356 MB / 475.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.7132, allocations: 16.02 kB / 475.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.7139, allocations: 194.1 kB / 475.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.716, allocations: 0.8439 MB / 476.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.7162, allocations: 115.8 kB / 476.3 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/0.7164, allocations: 111.9 kB / 476.4 MB, free: 13.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.719, allocations: 1.076 MB / 477.5 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.719, allocations: 4 kB / 477.5 MB, free: 12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.7192, allocations: 47.98 kB / 477.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/0.7192, allocations: 24 kB / 477.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.7212, allocations: 0.6796 MB / 478.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00811/0.7293, allocations: 3.942 MB / 482.2 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.7312, allocations: 0.5453 MB / 482.8 MB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.7318, allocations: 239.7 kB / 483 MB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.789e-05/0.7319, allocations: 12.55 kB / 483 MB, free: 6.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006726/0.7326, allocations: 270 kB / 483.3 MB, free: 6.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 4.464e-06/0.7326, allocations: 0 / 483.3 MB, free: 6.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=66): time 0.003761/0.7364, allocations: 1.497 MB / 484.8 MB, free: 4.477 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002966/0.7367, allocations: 475.2 kB / 485.2 MB, free: 3.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.7386, allocations: 0.921 MB / 486.1 MB, free: 2.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.7387, allocations: 41.7 kB / 486.2 MB, free: 2.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007153/0.7394, allocations: 0.6428 MB / 486.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.7397, allocations: 240.6 kB / 487.1 MB, free: 2.027 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.166e-05/0.7398, allocations: 24 kB / 487.1 MB, free: 2.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.74, allocations: 349.9 kB / 487.4 MB, free: 1.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.7406, allocations: 218.6 kB / 487.6 MB, free: 1.445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.7417, allocations: 0.6716 MB / 488.3 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008626/0.7426, allocations: 383.5 kB / 488.7 MB, free: 180 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.395e-06/0.7426, allocations: 7.938 kB / 488.7 MB, free: 172 kB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002666/0.7453, allocations: 1.055 MB / 489.8 MB, free: 15.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.7454, allocations: 71.39 kB / 489.8 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.7455, allocations: 16.06 kB / 489.8 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007378/0.7462, allocations: 161.6 kB / 490 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000998/0.7472, allocations: 211.7 kB / 490.2 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005497/0.7527, allocations: 3.53 MB / 493.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.7539, allocations: 76.02 kB / 493.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.7541, allocations: 48 kB / 493.9 MB, free: 10.7 MB / 410.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 (114): * Single equations (assignments): 110 * 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.0002767/0.7544, allocations: 184.5 kB / 494 MB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.7546, allocations: 126.5 kB / 494.2 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00186/0.7565, allocations: 0.6532 MB / 494.8 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.7565, allocations: 11.94 kB / 494.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.381e-06/0.7565, allocations: 0 / 494.8 MB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001561/0.7581, allocations: 0.8983 MB / 495.7 MB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003963/0.7621, allocations: 1.727 MB / 497.4 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.7621, allocations: 4 kB / 497.5 MB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/0.7629, allocations: 115.9 kB / 497.6 MB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/0.7635, allocations: 133.8 kB / 497.7 MB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.7636, allocations: 16 kB / 497.7 MB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/0.7682, allocations: 3.252 MB / 0.4892 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.273e-06/0.7682, allocations: 16.02 kB / 0.4892 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.7707, allocations: 1.091 MB / 0.4903 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000628/0.7713, allocations: 251.6 kB / 0.4905 GB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.7715, allocations: 16 kB / 0.4906 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007762/0.7723, allocations: 43.97 kB / 0.4906 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.7725, allocations: 68.36 kB / 0.4907 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.044e-05/0.7726, allocations: 20 kB / 0.4907 GB, free: 1.508 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0015/0.7741, allocations: 0.6952 MB / 0.4914 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.7741, allocations: 0 / 0.4914 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001583/0.7757, allocations: 356.1 kB / 0.4917 GB, free: 468 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,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 (53): * Single equations (assignments): 49 * 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.0006388/0.7764, allocations: 375.5 kB / 0.4921 GB, free: 92 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.7788, allocations: 0.9992 MB / 0.493 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.144e-06/0.7788, allocations: 0 / 0.493 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.7799, allocations: 0.5052 MB / 0.4935 GB, free: 14.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.7816, allocations: 296.9 kB / 0.4938 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.7857, allocations: 1.611 MB / 0.4954 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.7867, allocations: 1.116 MB / 0.4965 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000821/0.7876, allocations: 141.8 kB / 0.4966 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.7878, allocations: 75.44 kB / 0.4967 GB, free: 11.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.796e-06/0.7879, allocations: 0 / 0.4967 GB, free: 11.21 MB / 426.7 MB Notification: Performance of Templates: time 0.05015/0.838, allocations: 19.04 MB / 0.5153 GB, free: 8.367 MB / 442.7 MB