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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.777e-05, allocations: 8 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3306, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01303/0.3437, allocations: 7.329 MB / 310.6 MB, free: 6.355 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007153/0.3509, allocations: 2.694 MB / 313.3 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.3525, allocations: 39.94 kB / 313.4 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.3545, allocations: 417.5 kB / 313.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002786/0.3573, allocations: 0.5608 MB / 314.3 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.3586, allocations: 223.6 kB / 314.6 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00316/0.3618, allocations: 0.9568 MB / 315.5 MB, free: 1.465 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009527/0.3628, allocations: 367.6 kB / 315.9 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009514/0.3638, allocations: 458.8 kB / 316.3 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.365, allocations: 0.5138 MB / 316.8 MB, free: 128 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006326/0.3656, allocations: 99.97 kB / 316.9 MB, free: 28 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.366, allocations: 60.05 kB / 317 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.3663, allocations: 207 kB / 317.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/0.3668, allocations: 144 kB / 317.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002588/0.3694, allocations: 1.433 MB / 318.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3695, allocations: 0 / 318.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.3695, allocations: 0 / 318.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.046e-05/0.3696, allocations: 4 kB / 318.8 MB, free: 14.18 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.004005/0.3736, allocations: 1.37 MB / 320.1 MB, free: 12.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.3736, allocations: 8.031 kB / 320.1 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008388/0.3745, allocations: 186.1 kB / 320.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.3766, allocations: 0.7502 MB / 321.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.3769, allocations: 119.8 kB / 321.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002913/0.3772, allocations: 108 kB / 321.3 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003442/0.3806, allocations: 1.127 MB / 322.4 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.381e-05/0.3808, allocations: 15.8 kB / 322.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/0.381, allocations: 44 kB / 322.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-05/0.381, allocations: 24 kB / 322.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002856/0.3839, allocations: 0.7691 MB / 323.3 MB, free: 9.457 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.01009/0.394, allocations: 3.867 MB / 327.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.3968, allocations: 0.601 MB / 327.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.018e-05/0.3969, allocations: 12.56 kB / 327.8 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001027/0.398, allocations: 299.1 kB / 328 MB, free: 4.465 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 3.838e-06/0.398, allocations: 0 / 328 MB, free: 4.465 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.008033/0.406, allocations: 2.098 MB / 330.1 MB, free: 2.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000275/0.4064, allocations: 483.2 kB / 330.6 MB, free: 1.688 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.4083, allocations: 0.8713 MB / 331.5 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001743/0.4085, allocations: 41.7 kB / 331.5 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.4092, allocations: 0.6138 MB / 332.1 MB, free: 140 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.4096, allocations: 232.8 kB / 332.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.938e-05/0.4097, allocations: 20 kB / 332.4 MB, free: 15.88 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.4099, allocations: 350.8 kB / 332.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009783/0.4109, allocations: 254.5 kB / 333 MB, free: 15.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.4123, allocations: 0.7129 MB / 333.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.4136, allocations: 406.4 kB / 334.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.4136, allocations: 0 / 334.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003116/0.4167, allocations: 1.061 MB / 335.2 MB, free: 12.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.42e-05/0.4169, allocations: 64.81 kB / 335.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.4169, allocations: 12 kB / 335.2 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008964/0.4178, allocations: 173.7 kB / 335.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4192, allocations: 199.7 kB / 335.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/0.4256, allocations: 3.613 MB / 339.2 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.4273, allocations: 84.02 kB / 339.3 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.4275, allocations: 47.94 kB / 339.3 MB, free: 8.406 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.0007059/0.4282, allocations: 292.5 kB / 339.6 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.4285, allocations: 122.6 kB / 339.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.431, allocations: 0.7152 MB / 340.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4311, allocations: 11.94 kB / 340.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4311, allocations: 0 / 340.5 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002294/0.4334, allocations: 0.9802 MB / 341.4 MB, free: 6.152 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/0.4381, allocations: 1.743 MB / 343.2 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.4382, allocations: 4.219 kB / 343.2 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009771/0.4392, allocations: 111.9 kB / 343.3 MB, free: 4.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007662/0.44, allocations: 129.6 kB / 343.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-05/0.4401, allocations: 19.98 kB / 343.4 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/0.4451, allocations: 3.322 MB / 346.8 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.4451, allocations: 4.031 kB / 346.8 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003243/0.4484, allocations: 1.163 MB / 347.9 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/0.4491, allocations: 235.6 kB / 348.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002634/0.4493, allocations: 19.98 kB / 348.2 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.4505, allocations: 47.97 kB / 348.2 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.4507, allocations: 52.48 kB / 348.3 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/0.4508, allocations: 27.94 kB / 348.3 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001366/0.4521, allocations: 0.654 MB / 349 MB, free: 14.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4522, allocations: 4 kB / 349 MB, free: 14.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001537/0.4537, allocations: 304 kB / 349.3 MB, free: 13.87 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.0003173/0.454, allocations: 131 kB / 349.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003227/0.4573, allocations: 1.112 MB / 350.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4573, allocations: 3.938 kB / 350.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001504/0.4588, allocations: 0.5483 MB / 351.1 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.4611, allocations: 289.3 kB / 351.3 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005912/0.467, allocations: 2.695 MB / 354 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000886/0.468, allocations: 1.101 MB / 355.1 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003637/0.4683, allocations: 83.36 kB / 355.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4684, allocations: 4 kB / 355.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of Templates: time 0.04738/0.5157, allocations: 24.07 MB / 379.3 MB, free: 15.67 MB / 330.7 MB