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_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.SpeedControlledDCPM") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.015e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08292/0.08297, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.464, allocations: 116.1 MB / 433 MB, free: 4.406 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.4643, allocations: 87.81 kB / 433.1 MB, free: 4.359 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1619/0.6263, allocations: 42.69 MB / 475.8 MB, free: 224 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.116e-06/0.6263, allocations: 0 / 475.8 MB, free: 224 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001442/0.6265, allocations: 44.12 kB / 475.8 MB, free: 180 kB / 378.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.003894/0.6304, allocations: 1.689 MB / 477.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6304, allocations: 12.03 kB / 477.5 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.6316, allocations: 273.3 kB / 477.8 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.6345, allocations: 1.169 MB / 479 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.6347, allocations: 123.3 kB / 479.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.635, allocations: 167.9 kB / 479.2 MB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.6387, allocations: 1.482 MB / 480.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-05/0.6388, allocations: 4 kB / 480.7 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.639, allocations: 71.94 kB / 480.8 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-05/0.6391, allocations: 47.92 kB / 480.8 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.6419, allocations: 0.9511 MB / 481.8 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.6555, allocations: 6.755 MB / 488.6 MB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002093/0.6577, allocations: 0.877 MB / 489.4 MB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005803/0.6583, allocations: 258.5 kB / 489.7 MB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.6583, allocations: 8.562 kB / 489.7 MB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.6584, allocations: 43.06 kB / 489.7 MB, free: 2.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=61): time 4.211e-06/0.6584, allocations: 0 / 489.7 MB, free: 2.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=64): time 0.003819/0.6622, allocations: 1.543 MB / 491.3 MB, free: 464 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.6624, allocations: 89.67 kB / 491.4 MB, free: 356 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.6647, allocations: 1.062 MB / 492.4 MB, free: 15.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/0.6648, allocations: 37.7 kB / 492.5 MB, free: 15.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009086/0.6657, allocations: 0.9036 MB / 493.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.666, allocations: 236.6 kB / 493.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.6661, allocations: 24 kB / 493.6 MB, free: 14.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.6663, allocations: 345.9 kB / 494 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.667, allocations: 242.6 kB / 494.2 MB, free: 13.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.668, allocations: 0.647 MB / 494.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008431/0.6689, allocations: 353.9 kB / 495.2 MB, free: 12.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.6689, allocations: 4 kB / 495.2 MB, free: 12.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002551/0.6715, allocations: 1.023 MB / 496.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002945/0.6744, allocations: 5.362 MB / 0.4898 GB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.575e-05/0.6745, allocations: 15.95 kB / 0.4898 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002254/0.6747, allocations: 44.8 kB / 0.4899 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/0.6761, allocations: 275.6 kB / 0.4901 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.6775, allocations: 1.295 MB / 0.4914 GB, free: 3.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.6789, allocations: 80.02 kB / 0.4915 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.679, allocations: 48 kB / 0.4915 GB, free: 3.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6791, allocations: 7.594 kB / 0.4915 GB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002044/0.6811, allocations: 0.8512 MB / 0.4924 GB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/0.6812, allocations: 16 kB / 0.4924 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.6813, allocations: 40.84 kB / 0.4924 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.6825, allocations: 256 kB / 0.4927 GB, free: 2.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.6838, allocations: 1.295 MB / 0.4939 GB, free: 1.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6849, allocations: 60.05 kB / 0.494 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/0.6851, allocations: 48 kB / 0.494 GB, free: 0.9492 MB / 410.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.0002995/0.6854, allocations: 172.5 kB / 0.4942 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002815/0.6857, allocations: 130.4 kB / 0.4943 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.6872, allocations: 0.6034 MB / 0.4949 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.926e-06/0.6873, allocations: 8 kB / 0.4949 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.524e-06/0.6873, allocations: 0 / 0.4949 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.6873, allocations: 7.984 kB / 0.4949 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004558/0.6919, allocations: 2.003 MB / 0.4969 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.6919, allocations: 48 / 0.4969 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009/0.6928, allocations: 148 kB / 0.497 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/0.693, allocations: 24.86 kB / 0.497 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.476e-05/0.6931, allocations: 19.94 kB / 0.4971 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.6944, allocations: 1.272 MB / 0.4983 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.65e-06/0.6944, allocations: 4.031 kB / 0.4983 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.6966, allocations: 1.062 MB / 0.4994 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000698/0.6973, allocations: 267.3 kB / 0.4996 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.6976, allocations: 15.94 kB / 0.4996 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000793/0.6984, allocations: 63.95 kB / 0.4997 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.6985, allocations: 48.45 kB / 0.4997 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.916e-05/0.6986, allocations: 20 kB / 0.4997 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001762/0.7004, allocations: 0.7977 MB / 0.5005 GB, free: 9.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.097e-06/0.7004, allocations: 8 kB / 0.5005 GB, free: 9.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00246/0.7029, allocations: 0.5469 MB / 0.5011 GB, free: 9.383 MB / 426.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.0007036/0.7036, allocations: 388.9 kB / 0.5014 GB, free: 9.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002937/0.7065, allocations: 1.307 MB / 0.5027 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.231e-06/0.7066, allocations: 0 / 0.5027 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007507/0.7073, allocations: 368.1 kB / 0.5031 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.7092, allocations: 305 kB / 0.5034 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.7146, allocations: 2.116 MB / 0.5054 GB, free: 4.844 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/0.7159, allocations: 1.274 MB / 0.5067 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001685/0.7176, allocations: 222.4 kB / 0.5069 GB, free: 3.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.7179, allocations: 67.44 kB / 0.5069 GB, free: 3.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.921e-06/0.7179, allocations: 4 kB / 0.5069 GB, free: 3.246 MB / 426.7 MB Notification: Performance of Templates: time 0.2745/0.9924, allocations: 18.84 MB / 0.5253 GB, free: 115.1 MB / 426.7 MB