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_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.022e-05, allocations: 4 kB / 228.1 MB, free: 7.969 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09151, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01322/0.1048, allocations: 7.315 MB / 274.2 MB, free: 9.758 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008096/0.113, allocations: 2.694 MB / 276.9 MB, free: 7.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001486/0.1145, allocations: 39.94 kB / 277 MB, free: 7.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.1163, allocations: 417.5 kB / 277.4 MB, free: 6.609 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.1191, allocations: 0.5569 MB / 277.9 MB, free: 6.051 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009977/0.1202, allocations: 219.6 kB / 278.1 MB, free: 5.836 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.1233, allocations: 0.9607 MB / 279.1 MB, free: 4.875 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000956/0.1243, allocations: 363.7 kB / 279.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.1253, allocations: 454.8 kB / 279.9 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.1264, allocations: 0.5137 MB / 280.4 MB, free: 3.551 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.127, allocations: 99.97 kB / 280.5 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.1273, allocations: 60 kB / 280.6 MB, free: 3.395 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.1276, allocations: 215 kB / 280.8 MB, free: 3.184 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000458/0.1281, allocations: 140 kB / 280.9 MB, free: 3.047 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002448/0.1305, allocations: 1.425 MB / 282.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1306, allocations: 0 / 282.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.1306, allocations: 0 / 282.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.056e-05/0.1307, allocations: 0 / 282.3 MB, free: 1.617 MB / 234.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.004009/0.1347, allocations: 1.362 MB / 283.7 MB, free: 192 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1348, allocations: 8.031 kB / 283.7 MB, free: 184 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000854/0.1357, allocations: 186.1 kB / 283.9 MB, free: 15.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.1378, allocations: 0.7541 MB / 284.6 MB, free: 15.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002321/0.1381, allocations: 115.8 kB / 284.8 MB, free: 15.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.1384, allocations: 111.9 kB / 284.9 MB, free: 14.97 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003357/0.1417, allocations: 1.142 MB / 286 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.1418, allocations: 0 / 286 MB, free: 13.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.142, allocations: 48 kB / 286 MB, free: 13.69 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.1421, allocations: 28 kB / 286.1 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.1449, allocations: 0.7768 MB / 286.9 MB, free: 12.88 MB / 250.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.009664/0.1546, allocations: 3.844 MB / 290.7 MB, free: 8.844 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.1574, allocations: 0.5967 MB / 291.3 MB, free: 8.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.837e-05/0.1576, allocations: 8.562 kB / 291.3 MB, free: 8.227 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.1587, allocations: 303.5 kB / 291.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of pre-optimization done (n=62): time 4.198e-06/0.1587, allocations: 0 / 291.6 MB, free: 7.922 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.008251/0.1669, allocations: 2.098 MB / 293.7 MB, free: 5.727 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002907/0.1673, allocations: 487.2 kB / 294.2 MB, free: 5.141 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/0.1693, allocations: 0.8636 MB / 295 MB, free: 4.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.1695, allocations: 41.7 kB / 295.1 MB, free: 4.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007223/0.1702, allocations: 0.6293 MB / 295.7 MB, free: 3.582 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/0.1706, allocations: 224.8 kB / 295.9 MB, free: 3.359 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.1707, allocations: 20 kB / 295.9 MB, free: 3.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1709, allocations: 346.8 kB / 296.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009903/0.1719, allocations: 258.5 kB / 296.5 MB, free: 2.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.1734, allocations: 0.713 MB / 297.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1748, allocations: 406.4 kB / 297.6 MB, free: 1.41 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.1748, allocations: 4 kB / 297.6 MB, free: 1.406 MB / 250.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003414/0.1783, allocations: 1.06 MB / 298.7 MB, free: 328 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.1784, allocations: 63.41 kB / 298.8 MB, free: 252 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.78e-05/0.1785, allocations: 12.28 kB / 298.8 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009239/0.1794, allocations: 173.5 kB / 299 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2183/0.3977, allocations: 202.4 kB / 299.2 MB, free: 29.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006861/0.4046, allocations: 3.604 MB / 302.8 MB, free: 26.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4064, allocations: 82.72 kB / 302.8 MB, free: 26.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/0.4066, allocations: 46.91 kB / 302.9 MB, free: 26.57 MB / 250.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 {5 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007147/0.4074, allocations: 290.4 kB / 303.2 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.4077, allocations: 123.6 kB / 303.3 MB, free: 26.38 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.4102, allocations: 0.72 MB / 304 MB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.4103, allocations: 5.938 kB / 304 MB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4103, allocations: 1.672 kB / 304 MB, free: 26.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/0.4127, allocations: 0.9699 MB / 305 MB, free: 25.35 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004872/0.4176, allocations: 1.743 MB / 306.7 MB, free: 24.46 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4177, allocations: 0.875 kB / 306.7 MB, free: 24.46 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.4187, allocations: 117.3 kB / 306.8 MB, free: 24.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007239/0.4194, allocations: 125.5 kB / 307 MB, free: 24.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.4195, allocations: 17.94 kB / 307 MB, free: 24.41 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.424, allocations: 3.322 MB / 310.3 MB, free: 21.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.424, allocations: 5.594 kB / 310.3 MB, free: 21.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/0.4273, allocations: 1.16 MB / 311.5 MB, free: 20.8 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006569/0.428, allocations: 233.1 kB / 311.7 MB, free: 20.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002684/0.4283, allocations: 15.86 kB / 311.7 MB, free: 20.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.4294, allocations: 49.75 kB / 311.8 MB, free: 20.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.4296, allocations: 62.53 kB / 311.8 MB, free: 20.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.4297, allocations: 20.14 kB / 311.8 MB, free: 20.58 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001415/0.4311, allocations: 0.6623 MB / 312.5 MB, free: 20.29 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.4312, allocations: 0 / 312.5 MB, free: 20.29 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001796/0.433, allocations: 300.4 kB / 312.8 MB, free: 20.26 MB / 250.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.0003149/0.4333, allocations: 132.5 kB / 312.9 MB, free: 20.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.4366, allocations: 1.099 MB / 314 MB, free: 19.55 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.4367, allocations: 5.031 kB / 314 MB, free: 19.55 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.4382, allocations: 0.5522 MB / 314.6 MB, free: 19.21 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.4406, allocations: 292.6 kB / 314.9 MB, free: 19.11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006161/0.4468, allocations: 2.719 MB / 317.6 MB, free: 17.46 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007218/0.4476, allocations: 1.104 MB / 318.7 MB, free: 16.74 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003885/0.448, allocations: 75.12 kB / 318.8 MB, free: 16.73 MB / 250.7 MB Notification: Performance of SimCode: time 1.663e-06/0.448, allocations: 0 / 318.8 MB, free: 16.73 MB / 250.7 MB Notification: Performance of Templates: time 0.04283/0.4909, allocations: 24.02 MB / 342.8 MB, free: 11.36 MB / 266.7 MB