Running command: translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.24e-05, allocations: 4 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4494/0.5501, allocations: 116.4 MB / 458.9 MB, free: 10.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.5504, allocations: 83.95 kB / 459 MB, free: 10.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1441/0.6946, allocations: 39.61 MB / 498.6 MB, free: 6.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.769e-06/0.6946, allocations: 0 / 498.6 MB, free: 6.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001266/0.6947, allocations: 40.12 kB / 498.7 MB, free: 6.473 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.003464/0.6982, allocations: 1.522 MB / 0.4885 GB, free: 4.898 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.6983, allocations: 8.469 kB / 0.4885 GB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.6993, allocations: 249.6 kB / 0.4887 GB, free: 4.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.702, allocations: 1.059 MB / 0.4897 GB, free: 3.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.7021, allocations: 111 kB / 0.4898 GB, free: 3.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002979/0.7024, allocations: 159.9 kB / 0.49 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003286/0.7057, allocations: 1.335 MB / 0.4913 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.667e-05/0.7058, allocations: 12 kB / 0.4913 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.706, allocations: 56 kB / 0.4914 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.706, allocations: 36 kB / 0.4914 GB, free: 1.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002399/0.7085, allocations: 0.8646 MB / 0.4922 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.7203, allocations: 6.217 MB / 0.4983 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.7218, allocations: 0.6207 MB / 0.4989 GB, free: 9.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004743/0.7223, allocations: 210.1 kB / 0.4991 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.694e-05/0.7224, allocations: 8.438 kB / 0.4991 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.296e-05/0.7224, allocations: 38.94 kB / 0.4992 GB, free: 9.457 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 3.68e-06/0.7224, allocations: 11.94 kB / 0.4992 GB, free: 9.445 MB / 426.7 MB Notification: Performance of matching and sorting (n=54): time 0.00308/0.7255, allocations: 1.348 MB / 0.5005 GB, free: 8.043 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.7256, allocations: 85.5 kB / 0.5006 GB, free: 7.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.7275, allocations: 0.9391 MB / 0.5015 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.846e-05/0.7276, allocations: 41.64 kB / 0.5015 GB, free: 6.941 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007958/0.7284, allocations: 0.8053 MB / 0.5023 GB, free: 6.125 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.7287, allocations: 213.1 kB / 0.5025 GB, free: 5.914 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.767e-05/0.7287, allocations: 20 kB / 0.5025 GB, free: 5.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.7289, allocations: 341.9 kB / 0.5029 GB, free: 5.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005322/0.7295, allocations: 202 kB / 0.5031 GB, free: 5.355 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.7304, allocations: 0.5922 MB / 0.5036 GB, free: 4.586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007343/0.7311, allocations: 315 kB / 0.5039 GB, free: 4.281 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.546e-06/0.7312, allocations: 4 kB / 0.5039 GB, free: 4.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002094/0.7333, allocations: 0.8936 MB / 0.5048 GB, free: 3.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002809/0.7361, allocations: 5.144 MB / 0.5098 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.7361, allocations: 16 kB / 0.5099 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001964/0.7363, allocations: 40.84 kB / 0.5099 GB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.7374, allocations: 227.7 kB / 0.5101 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.7388, allocations: 1.292 MB / 0.5114 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001016/0.7399, allocations: 56.05 kB / 0.5114 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.564e-05/0.74, allocations: 48 kB / 0.5115 GB, free: 12.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.74, allocations: 7.594 kB / 0.5115 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/0.7418, allocations: 0.7482 MB / 0.5122 GB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.7418, allocations: 16 kB / 0.5122 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.742, allocations: 45.48 kB / 0.5123 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/0.7429, allocations: 223.6 kB / 0.5125 GB, free: 10.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.7442, allocations: 1.299 MB / 0.5138 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008596/0.7451, allocations: 40.16 kB / 0.5138 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.286e-05/0.7452, allocations: 40 kB / 0.5138 GB, free: 9.477 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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.0002418/0.7455, allocations: 168.6 kB / 0.514 GB, free: 9.305 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.7457, allocations: 118.5 kB / 0.5141 GB, free: 9.188 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.747, allocations: 0.5122 MB / 0.5146 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.434e-06/0.7471, allocations: 12 kB / 0.5146 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.763e-06/0.7471, allocations: 0 / 0.5146 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-06/0.7471, allocations: 0 / 0.5146 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.751, allocations: 1.765 MB / 0.5163 GB, free: 6.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.751, allocations: 4 kB / 0.5163 GB, free: 6.805 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007125/0.7517, allocations: 111.8 kB / 0.5164 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.7519, allocations: 25.08 kB / 0.5165 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-05/0.7519, allocations: 23.94 kB / 0.5165 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.7532, allocations: 1.268 MB / 0.5177 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.673e-06/0.7533, allocations: 3.938 kB / 0.5177 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.755, allocations: 0.9276 MB / 0.5186 GB, free: 4.234 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.7555, allocations: 239.6 kB / 0.5189 GB, free: 3.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/0.7557, allocations: 12.19 kB / 0.5189 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006924/0.7564, allocations: 43.97 kB / 0.5189 GB, free: 3.926 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.7566, allocations: 40.33 kB / 0.519 GB, free: 3.887 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.7566, allocations: 19.98 kB / 0.519 GB, free: 3.867 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001425/0.7581, allocations: 0.7138 MB / 0.5197 GB, free: 3.145 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.94e-07/0.7581, allocations: 0 / 0.5197 GB, free: 3.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002204/0.7603, allocations: 0.5038 MB / 0.5202 GB, free: 2.641 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (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,loadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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.0006887/0.761, allocations: 413.4 kB / 0.5206 GB, free: 2.234 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.7635, allocations: 1.158 MB / 0.5217 GB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.453e-06/0.7635, allocations: 0 / 0.5217 GB, free: 1.066 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.7642, allocations: 315.2 kB / 0.522 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.7656, allocations: 258.3 kB / 0.5222 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2669/1.032, allocations: 1.847 MB / 0.524 GB, free: 119.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.034, allocations: 1.206 MB / 0.5252 GB, free: 119 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001542/1.035, allocations: 197.8 kB / 0.5254 GB, free: 119 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/1.035, allocations: 62.22 kB / 0.5255 GB, free: 119 MB / 442.7 MB Notification: Performance of SimCode: time 1.772e-06/1.035, allocations: 2.125 kB / 0.5255 GB, free: 119 MB / 442.7 MB Notification: Performance of Templates: time 0.04534/1.081, allocations: 16.84 MB / 0.5419 GB, free: 118.2 MB / 442.7 MB