Running command: translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.iMotFilter.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w|preFilter.y|slewRateLimiter.y|speedController.integrator.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.935e-05/2.941e-05, allocations: 4 kB / 292.7 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08992/0.08997, allocations: 50.42 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.4905, allocations: 117.1 MB / 460.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4908, allocations: 85.58 kB / 460.3 MB, free: 9.402 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1556/0.6464, allocations: 42.82 MB / 0.4913 GB, free: 2.492 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.026e-06/0.6464, allocations: 3.938 kB / 0.4913 GB, free: 2.488 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001353/0.6466, allocations: 40 kB / 0.4914 GB, free: 2.449 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 417 * Number of variables: 417 Notification: Performance of Generate backend data structure: time 0.003546/0.6501, allocations: 1.703 MB / 0.493 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.6502, allocations: 8.031 kB / 0.4931 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.6512, allocations: 273.3 kB / 0.4933 GB, free: 428 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.654, allocations: 1.15 MB / 0.4944 GB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.6542, allocations: 127.3 kB / 0.4946 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.6545, allocations: 171.9 kB / 0.4947 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003521/0.6581, allocations: 1.482 MB / 0.4962 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.612e-05/0.6581, allocations: 7.844 kB / 0.4962 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002024/0.6583, allocations: 68 kB / 0.4962 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.6584, allocations: 40 kB / 0.4963 GB, free: 13.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.661, allocations: 0.9472 MB / 0.4972 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.6733, allocations: 6.762 MB / 0.5038 GB, free: 5.238 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/0.6754, allocations: 0.8919 MB / 0.5047 GB, free: 4.281 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.676, allocations: 254.5 kB / 0.5049 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.6761, allocations: 13.2 kB / 0.5049 GB, free: 4.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.6761, allocations: 39.12 kB / 0.505 GB, free: 3.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 4.088e-06/0.6761, allocations: 0 / 0.505 GB, free: 3.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.003846/0.68, allocations: 1.542 MB / 0.5065 GB, free: 2.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.6801, allocations: 85.67 kB / 0.5066 GB, free: 2.277 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.6824, allocations: 1.058 MB / 0.5076 GB, free: 1.207 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.427e-05/0.6825, allocations: 37.7 kB / 0.5076 GB, free: 1.164 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009175/0.6834, allocations: 0.8958 MB / 0.5085 GB, free: 264 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.6837, allocations: 232.6 kB / 0.5087 GB, free: 28 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.6838, allocations: 28 kB / 0.5087 GB, free: 0 / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.6841, allocations: 346 kB / 0.5091 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.6847, allocations: 242.6 kB / 0.5093 GB, free: 15.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.6858, allocations: 0.6432 MB / 0.5099 GB, free: 14.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008582/0.6867, allocations: 350.1 kB / 0.5103 GB, free: 14.24 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.6867, allocations: 4 kB / 0.5103 GB, free: 14.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002606/0.6893, allocations: 1.027 MB / 0.5113 GB, free: 13.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003004/0.6923, allocations: 5.368 MB / 0.5165 GB, free: 7.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.6924, allocations: 12 kB / 0.5165 GB, free: 7.465 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.6926, allocations: 40.84 kB / 0.5166 GB, free: 7.422 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.694, allocations: 279.6 kB / 0.5168 GB, free: 7.148 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.6954, allocations: 1.288 MB / 0.5181 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.6967, allocations: 80.02 kB / 0.5182 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.6968, allocations: 48 kB / 0.5182 GB, free: 5.598 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.6968, allocations: 4 kB / 0.5182 GB, free: 5.594 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002015/0.6989, allocations: 0.843 MB / 0.519 GB, free: 4.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/0.6989, allocations: 16.86 kB / 0.5191 GB, free: 4.727 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.6991, allocations: 48.8 kB / 0.5191 GB, free: 4.676 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.7002, allocations: 247.6 kB / 0.5193 GB, free: 4.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.7015, allocations: 1.295 MB / 0.5206 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.7026, allocations: 51.98 kB / 0.5207 GB, free: 2.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7027, allocations: 48 kB / 0.5207 GB, free: 2.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 3 (speedController.integrator.local_reset,currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.703, allocations: 188.6 kB / 0.5209 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.7033, allocations: 138.3 kB / 0.521 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.7048, allocations: 0.5956 MB / 0.5216 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.7049, allocations: 8 kB / 0.5216 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-06/0.7049, allocations: 0 / 0.5216 GB, free: 1.961 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.7049, allocations: 11.77 kB / 0.5216 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2972/1.002, allocations: 1.989 MB / 0.5236 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/1.002, allocations: 2.312 kB / 0.5236 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/1.003, allocations: 147.9 kB / 0.5237 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001392/1.003, allocations: 23.7 kB / 0.5237 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.059e-05/1.003, allocations: 17.45 kB / 0.5237 GB, free: 116.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008819/1.004, allocations: 1.27 MB / 0.525 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/1.004, allocations: 2.781 kB / 0.525 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/1.007, allocations: 1.067 MB / 0.526 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/1.007, allocations: 262.3 kB / 0.5263 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/1.007, allocations: 18.83 kB / 0.5263 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007841/1.008, allocations: 56.94 kB / 0.5264 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/1.008, allocations: 52.89 kB / 0.5264 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/1.008, allocations: 18.86 kB / 0.5264 GB, free: 114.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001683/1.01, allocations: 0.7929 MB / 0.5272 GB, free: 114.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.001e-06/1.01, allocations: 0 / 0.5272 GB, free: 114.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002282/1.012, allocations: 0.5493 MB / 0.5277 GB, free: 114.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 13 (loadInertia.phi,loadInertia.w,dcpm.la.i,armatureInverter.vDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.vMotFilter.y,armatureInverter.iDCFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,currentController.integrator.y,speedController.integrator.y,preFilter.y,slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006437/1.013, allocations: 417.5 kB / 0.5281 GB, free: 114.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002689/1.016, allocations: 1.309 MB / 0.5294 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.016, allocations: 1.469 kB / 0.5294 GB, free: 114.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006828/1.017, allocations: 350.6 kB / 0.5297 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/1.018, allocations: 293.4 kB / 0.53 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/1.024, allocations: 2.107 MB / 0.5321 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.025, allocations: 1.271 MB / 0.5333 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001779/1.027, allocations: 230.2 kB / 0.5335 GB, free: 112.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/1.027, allocations: 70.52 kB / 0.5336 GB, free: 112.8 MB / 442.7 MB Notification: Performance of SimCode: time 2.37e-06/1.027, allocations: 0 / 0.5336 GB, free: 112.8 MB / 442.7 MB Notification: Performance of Templates: time 0.04881/1.076, allocations: 18.79 MB / 0.552 GB, free: 111.7 MB / 442.7 MB