Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.534e-05/2.549e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 38.78 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.407, allocations: 89.24 MB / 353 MB, free: 460 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4073, allocations: 79.95 kB / 353.1 MB, free: 380 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3227/0.7301, allocations: 30.31 MB / 383.4 MB, free: 84.23 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.7301, allocations: 0 / 383.4 MB, free: 84.23 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.382e-05/0.7302, allocations: 28.31 kB / 383.4 MB, free: 84.23 MB / 314.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.00232/0.7326, allocations: 1.341 MB / 384.8 MB, free: 83.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.7326, allocations: 10.22 kB / 384.8 MB, free: 83.36 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006927/0.7333, allocations: 202.6 kB / 385 MB, free: 83.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.7354, allocations: 0.845 MB / 385.8 MB, free: 82.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.7356, allocations: 112.1 kB / 385.9 MB, free: 82.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.7358, allocations: 108.8 kB / 386.1 MB, free: 82.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002117/0.7379, allocations: 1.074 MB / 387.1 MB, free: 82.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/0.738, allocations: 11.11 kB / 387.1 MB, free: 82.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.7381, allocations: 51.31 kB / 387.2 MB, free: 81.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.7381, allocations: 29.84 kB / 387.2 MB, free: 81.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/0.7398, allocations: 0.6764 MB / 387.9 MB, free: 81.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006927/0.7468, allocations: 3.909 MB / 391.8 MB, free: 79.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/0.7485, allocations: 0.5372 MB / 392.3 MB, free: 78.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.7489, allocations: 238.1 kB / 392.6 MB, free: 78.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.3e-05/0.749, allocations: 15.48 kB / 392.6 MB, free: 78.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/0.7496, allocations: 272.6 kB / 392.9 MB, free: 78.45 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.619e-06/0.7496, allocations: 0 / 392.9 MB, free: 78.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.003345/0.753, allocations: 1.487 MB / 394.3 MB, free: 76.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.7531, allocations: 479.2 kB / 394.8 MB, free: 76.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.7546, allocations: 0.9087 MB / 395.7 MB, free: 75.54 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.7547, allocations: 41.7 kB / 395.8 MB, free: 75.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00047/0.7552, allocations: 0.6387 MB / 396.4 MB, free: 74.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.7554, allocations: 234.7 kB / 396.6 MB, free: 74.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.7555, allocations: 24 kB / 396.6 MB, free: 74.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.7556, allocations: 344 kB / 397 MB, free: 74.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.7561, allocations: 218.6 kB / 397.2 MB, free: 74.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007409/0.7569, allocations: 0.6691 MB / 397.9 MB, free: 73.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.7576, allocations: 378.4 kB / 398.2 MB, free: 72.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.7576, allocations: 4 kB / 398.2 MB, free: 72.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002291/0.7599, allocations: 1.057 MB / 399.3 MB, free: 71.92 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.76, allocations: 75.3 kB / 399.4 MB, free: 71.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.76, allocations: 12 kB / 399.4 MB, free: 71.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/0.7607, allocations: 169.5 kB / 399.6 MB, free: 71.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008711/0.7616, allocations: 209.6 kB / 399.8 MB, free: 71.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004117/0.7657, allocations: 3.524 MB / 403.3 MB, free: 67.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.767, allocations: 79.88 kB / 403.4 MB, free: 67.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.7671, allocations: 47.98 kB / 403.4 MB, free: 67.6 MB / 314.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 {5 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.7674, allocations: 184.7 kB / 403.6 MB, free: 67.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7675, allocations: 118.6 kB / 403.7 MB, free: 67.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.7691, allocations: 0.6645 MB / 404.4 MB, free: 66.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.7691, allocations: 4 kB / 404.4 MB, free: 66.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7692, allocations: 4 kB / 404.4 MB, free: 66.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.7703, allocations: 0.8826 MB / 405.3 MB, free: 65.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.7736, allocations: 1.723 MB / 407 MB, free: 63.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.101e-06/0.7736, allocations: 4 kB / 407 MB, free: 63.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006444/0.7743, allocations: 107.9 kB / 407.1 MB, free: 63.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005322/0.7748, allocations: 141.6 kB / 407.2 MB, free: 63.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.7749, allocations: 20.05 kB / 407.2 MB, free: 63.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.7782, allocations: 3.267 MB / 410.5 MB, free: 60.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.029e-06/0.7782, allocations: 4.031 kB / 410.5 MB, free: 60.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7802, allocations: 1.086 MB / 411.6 MB, free: 58.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.7807, allocations: 243.7 kB / 411.8 MB, free: 58.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.781, allocations: 16 kB / 411.9 MB, free: 58.57 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.7817, allocations: 47.97 kB / 411.9 MB, free: 58.52 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.7819, allocations: 60.47 kB / 412 MB, free: 58.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.782, allocations: 19.94 kB / 412 MB, free: 58.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.7832, allocations: 0.6942 MB / 412.7 MB, free: 57.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.7832, allocations: 4 kB / 412.7 MB, free: 57.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001546/0.7847, allocations: 355.9 kB / 413 MB, free: 57.39 MB / 314.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.0004979/0.7853, allocations: 351.7 kB / 413.4 MB, free: 57.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.7872, allocations: 1.006 MB / 414.4 MB, free: 56.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.228e-06/0.7872, allocations: 0 / 414.4 MB, free: 56.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008945/0.7881, allocations: 0.511 MB / 414.9 MB, free: 55.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.7898, allocations: 284.4 kB / 415.2 MB, free: 55.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003484/0.7933, allocations: 1.614 MB / 416.8 MB, free: 53.56 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.7939, allocations: 1.105 MB / 417.9 MB, free: 52.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007879/0.7947, allocations: 149.8 kB / 418 MB, free: 52.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.7949, allocations: 75.42 kB / 418.1 MB, free: 52.2 MB / 314.7 MB Notification: Performance of SimCode: time 1.979e-06/0.795, allocations: 4 kB / 418.1 MB, free: 52.2 MB / 314.7 MB Notification: Performance of Templates: time 0.04757/0.8425, allocations: 18.76 MB / 436.9 MB, free: 33.48 MB / 314.7 MB