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.704/1.704, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.564e-05, allocations: 4 kB / 228.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01862/0.1286, allocations: 7.313 MB / 274.2 MB, free: 9.109 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.009493/0.1382, allocations: 2.702 MB / 276.9 MB, free: 6.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1396, allocations: 39.94 kB / 277 MB, free: 6.363 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.1418, allocations: 417.5 kB / 277.4 MB, free: 5.953 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003141/0.145, allocations: 0.5607 MB / 277.9 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1462, allocations: 219.6 kB / 278.2 MB, free: 5.176 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.004106/0.1504, allocations: 0.9567 MB / 279.1 MB, free: 4.219 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.1517, allocations: 363.7 kB / 279.5 MB, free: 3.855 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009743/0.1527, allocations: 462.8 kB / 279.9 MB, free: 3.402 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.1538, allocations: 0.5138 MB / 280.4 MB, free: 2.887 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.1543, allocations: 99.97 kB / 280.5 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.1546, allocations: 63.94 kB / 280.6 MB, free: 2.727 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.1548, allocations: 207.1 kB / 280.8 MB, free: 2.523 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.1553, allocations: 140 kB / 280.9 MB, free: 2.387 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.1576, allocations: 1.422 MB / 282.4 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1576, allocations: 0 / 282.4 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1577, allocations: 0 / 282.4 MB, free: 0.9609 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.705e-05/0.1577, allocations: 4 kB / 282.4 MB, free: 0.957 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.00378/0.1615, allocations: 1.366 MB / 283.7 MB, free: 15.52 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.1616, allocations: 8.031 kB / 283.7 MB, free: 15.52 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.1624, allocations: 186.1 kB / 283.9 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.1642, allocations: 0.7502 MB / 284.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.1644, allocations: 115.8 kB / 284.8 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.1647, allocations: 115.9 kB / 284.9 MB, free: 14.3 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/0.168, allocations: 1.127 MB / 286 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.1681, allocations: 4 kB / 286 MB, free: 13.08 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.1683, allocations: 44 kB / 286.1 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.1683, allocations: 31.94 kB / 286.1 MB, free: 13.01 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.171, allocations: 0.7729 MB / 286.9 MB, free: 12.23 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.009103/0.1802, allocations: 3.844 MB / 290.7 MB, free: 8.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.1828, allocations: 0.5927 MB / 291.3 MB, free: 7.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.392e-05/0.1829, allocations: 16.53 kB / 291.3 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00098/0.1839, allocations: 303.6 kB / 291.6 MB, free: 7.266 MB / 250.7 MB Notification: Performance of pre-optimization done (n=62): time 3.386e-06/0.184, allocations: 0 / 291.6 MB, free: 7.266 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.007509/0.1915, allocations: 2.098 MB / 293.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/0.1917, allocations: 479.2 kB / 294.2 MB, free: 4.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.1935, allocations: 0.8714 MB / 295.1 MB, free: 3.609 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.1936, allocations: 41.7 kB / 295.1 MB, free: 3.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/0.1943, allocations: 0.6387 MB / 295.7 MB, free: 2.914 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.1946, allocations: 228.7 kB / 296 MB, free: 2.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.744e-05/0.1947, allocations: 24 kB / 296 MB, free: 2.664 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1949, allocations: 349.9 kB / 296.3 MB, free: 2.316 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009093/0.1958, allocations: 250.5 kB / 296.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/0.1972, allocations: 0.7091 MB / 297.3 MB, free: 1.156 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1984, allocations: 410.4 kB / 297.7 MB, free: 0.7422 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.1984, allocations: 7.938 kB / 297.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.212/0.4104, allocations: 1.133 MB / 298.8 MB, free: 28.87 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/0.4105, allocations: 64.14 kB / 298.9 MB, free: 28.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.4106, allocations: 14.78 kB / 298.9 MB, free: 28.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008789/0.4115, allocations: 165.3 kB / 299.1 MB, free: 28.79 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.4129, allocations: 208.5 kB / 299.3 MB, free: 28.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00601/0.4189, allocations: 3.599 MB / 302.9 MB, free: 26.19 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4206, allocations: 83.41 kB / 302.9 MB, free: 26.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.4208, allocations: 46.88 kB / 303 MB, free: 26.16 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.0006471/0.4214, allocations: 290.2 kB / 303.3 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/0.4217, allocations: 121 kB / 303.4 MB, free: 25.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.4242, allocations: 0.7221 MB / 304.1 MB, free: 25.64 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.4242, allocations: 6.688 kB / 304.1 MB, free: 25.64 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4242, allocations: 1.203 kB / 304.1 MB, free: 25.64 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002121/0.4264, allocations: 0.9746 MB / 305.1 MB, free: 24.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004517/0.4309, allocations: 1.738 MB / 306.8 MB, free: 24.04 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.431, allocations: 1.812 kB / 306.8 MB, free: 24.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009458/0.4319, allocations: 109.2 kB / 306.9 MB, free: 24.03 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007054/0.4327, allocations: 139.3 kB / 307.1 MB, free: 23.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.4327, allocations: 14.88 kB / 307.1 MB, free: 23.97 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.437, allocations: 3.322 MB / 310.4 MB, free: 21 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4371, allocations: 1.219 kB / 310.4 MB, free: 21 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003074/0.4402, allocations: 1.161 MB / 311.6 MB, free: 20.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/0.4408, allocations: 237 kB / 311.8 MB, free: 20.16 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/0.4411, allocations: 21.12 kB / 311.8 MB, free: 20.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.4422, allocations: 47.14 kB / 311.9 MB, free: 20.14 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.4425, allocations: 55.36 kB / 311.9 MB, free: 20.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.4425, allocations: 18.92 kB / 311.9 MB, free: 20.13 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001341/0.4439, allocations: 0.6576 MB / 312.6 MB, free: 19.84 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.4439, allocations: 1.531 kB / 312.6 MB, free: 19.84 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001657/0.4456, allocations: 303.3 kB / 312.9 MB, free: 19.81 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.0003007/0.4459, allocations: 136.2 kB / 313 MB, free: 19.71 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.449, allocations: 1.098 MB / 314.1 MB, free: 19.1 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.4491, allocations: 6.156 kB / 314.1 MB, free: 19.09 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.4505, allocations: 0.5584 MB / 314.7 MB, free: 18.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.4527, allocations: 295.5 kB / 315 MB, free: 18.65 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.4582, allocations: 2.663 MB / 317.7 MB, free: 17.04 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.4589, allocations: 1.109 MB / 318.8 MB, free: 16.31 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0009773/0.4599, allocations: 136.4 kB / 318.9 MB, free: 16.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.4601, allocations: 74.41 kB / 319 MB, free: 16.26 MB / 250.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4602, allocations: 0 / 319 MB, free: 16.26 MB / 250.7 MB Notification: Performance of Templates: time 0.03928/0.4995, allocations: 15.06 MB / 334 MB, free: 3.418 MB / 250.7 MB