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.872/1.872, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.399e-05/2.412e-05, allocations: 0 / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07918/0.07922, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3886/0.4679, allocations: 94.39 MB / 394.3 MB, free: 18.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4682, allocations: 82.47 kB / 394.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1089/0.5771, allocations: 30.28 MB / 424.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5771, allocations: 3.938 kB / 424.6 MB, free: 7.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.057e-05/0.5772, allocations: 29.27 kB / 424.7 MB, free: 7.793 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.002325/0.5796, allocations: 1.341 MB / 426 MB, free: 6.863 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5796, allocations: 11.5 kB / 426 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006449/0.5803, allocations: 204.7 kB / 426.2 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.5819, allocations: 0.8292 MB / 427 MB, free: 6.297 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.5821, allocations: 117 kB / 427.2 MB, free: 6.262 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.5823, allocations: 110.1 kB / 427.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/0.5844, allocations: 1.071 MB / 428.3 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.535e-05/0.5844, allocations: 7.875 kB / 428.3 MB, free: 5.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.5846, allocations: 47.88 kB / 428.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.5846, allocations: 30.7 kB / 428.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5863, allocations: 0.6747 MB / 429.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00648/0.5928, allocations: 3.925 MB / 433 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.5944, allocations: 0.5349 MB / 433.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.5949, allocations: 245.4 kB / 433.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-05/0.595, allocations: 12.55 kB / 433.8 MB, free: 3.309 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.5955, allocations: 274.6 kB / 434.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=63): time 4.131e-06/0.5955, allocations: 0 / 434.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.003025/0.5986, allocations: 1.477 MB / 435.6 MB, free: 1.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.5987, allocations: 474.2 kB / 436 MB, free: 1.305 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6001, allocations: 0.9153 MB / 436.9 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.6002, allocations: 41.14 kB / 437 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/0.6007, allocations: 0.6373 MB / 437.6 MB, free: 156 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.6009, allocations: 236.8 kB / 437.8 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.601, allocations: 21.31 kB / 437.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.6012, allocations: 344.2 kB / 438.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.6017, allocations: 221.7 kB / 438.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.6028, allocations: 0.6743 MB / 439.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.6035, allocations: 377.6 kB / 439.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.9e-06/0.6036, allocations: 4 kB / 439.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002443/0.606, allocations: 1.061 MB / 440.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.6061, allocations: 67.14 kB / 440.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.6062, allocations: 12 kB / 440.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/0.6069, allocations: 179.2 kB / 440.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009442/0.6078, allocations: 211.3 kB / 441 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.613, allocations: 3.532 MB / 444.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.6143, allocations: 82.28 kB / 444.6 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/0.6144, allocations: 50.19 kB / 444.6 MB, free: 9.668 MB / 330.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.0002664/0.6147, allocations: 183.5 kB / 444.8 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.6149, allocations: 126.5 kB / 444.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.6167, allocations: 0.6625 MB / 445.6 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.6167, allocations: 8 kB / 445.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.6e-06/0.6167, allocations: 0 / 445.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001456/0.6182, allocations: 0.8859 MB / 446.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003609/0.6218, allocations: 1.72 MB / 448.2 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.87e-06/0.6219, allocations: 4.031 kB / 448.2 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006959/0.6226, allocations: 115.8 kB / 448.3 MB, free: 6.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.6232, allocations: 129.6 kB / 448.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.6232, allocations: 15.98 kB / 448.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/0.6277, allocations: 3.259 MB / 451.7 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.475e-05/0.6277, allocations: 7.969 kB / 451.8 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.63, allocations: 1.09 MB / 452.8 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/0.6306, allocations: 251.5 kB / 453.1 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/0.6309, allocations: 20 kB / 453.1 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.6316, allocations: 43.97 kB / 453.1 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.6318, allocations: 60.42 kB / 453.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.99e-05/0.6319, allocations: 19.98 kB / 453.2 MB, free: 1.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001452/0.6334, allocations: 0.6826 MB / 453.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.08e-06/0.6334, allocations: 0 / 453.9 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001724/0.6351, allocations: 360 kB / 454.3 MB, free: 228 kB / 330.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.0006401/0.6358, allocations: 354.1 kB / 454.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002258/0.6381, allocations: 1.003 MB / 455.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.893e-06/0.6381, allocations: 8 kB / 455.6 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6392, allocations: 0.5021 MB / 456.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.641, allocations: 292.5 kB / 456.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003874/0.6448, allocations: 1.595 MB / 458 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009866/0.6459, allocations: 1.105 MB / 459.1 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008334/0.6467, allocations: 145.8 kB / 459.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.647, allocations: 75.44 kB / 459.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of SimCode: time 1.722e-06/0.647, allocations: 0 / 459.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of Templates: time 0.04871/0.6957, allocations: 18.89 MB / 478.2 MB, free: 8.16 MB / 362.7 MB