Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.|smee.lesigma.i|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.935/1.935, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.203e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08363, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5132, allocations: 125.9 MB / 442.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.5135, allocations: 81.2 kB / 442.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2145/0.728, allocations: 55.49 MB / 498.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.209e-06/0.7281, allocations: 0 / 498.4 MB, free: 9.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002352/0.7283, allocations: 71.81 kB / 498.5 MB, free: 9.695 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: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.006585/0.7349, allocations: 2.569 MB / 0.4893 GB, free: 7.066 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.735, allocations: 12.03 kB / 0.4893 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002088/0.7371, allocations: 428 kB / 0.4897 GB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004696/0.7418, allocations: 1.743 MB / 0.4914 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.742, allocations: 180.8 kB / 0.4916 GB, free: 4.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000572/0.7426, allocations: 247.9 kB / 0.4918 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007255/0.7499, allocations: 2.928 MB / 0.4947 GB, free: 1.328 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.852e-05/0.75, allocations: 23.83 kB / 0.4947 GB, free: 1.305 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003462/0.7504, allocations: 100 kB / 0.4948 GB, free: 1.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.7505, allocations: 92.59 kB / 0.4949 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005999/0.7565, allocations: 2.332 MB / 0.4972 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0225/0.7791, allocations: 10.31 MB / 0.5072 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004613/0.7837, allocations: 2.694 MB / 0.5099 GB, free: 1.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.786, allocations: 1.105 MB / 0.511 GB, free: 168 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000384/0.7864, allocations: 146.3 kB / 0.5111 GB, free: 0 / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2253/1.012, allocations: 48.62 kB / 0.5111 GB, free: 104.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=152): time 7.201e-06/1.012, allocations: 0 / 0.5111 GB, free: 104.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=175): time 0.02259/1.034, allocations: 7.317 MB / 0.5183 GB, free: 103.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/1.034, allocations: 176.1 kB / 0.5185 GB, free: 103.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/1.038, allocations: 1.611 MB / 0.52 GB, free: 103.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000254/1.038, allocations: 56.89 kB / 0.5201 GB, free: 103.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009225/1.039, allocations: 1.167 MB / 0.5212 GB, free: 102.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005989/1.04, allocations: 0.5843 MB / 0.5218 GB, free: 102.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.04, allocations: 39.62 kB / 0.5218 GB, free: 102.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/1.04, allocations: 387.7 kB / 0.5222 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/1.042, allocations: 0.8832 MB / 0.5231 GB, free: 102.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/1.044, allocations: 1.32 MB / 0.5244 GB, free: 101.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002216/1.047, allocations: 1.087 MB / 0.5254 GB, free: 101.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.047, allocations: 4.125 kB / 0.5254 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007178/1.054, allocations: 3.231 MB / 0.5286 GB, free: 101.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009331/1.055, allocations: 4.899 MB / 0.5334 GB, free: 96.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.091e-05/1.055, allocations: 18.48 kB / 0.5334 GB, free: 96.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003019/1.058, allocations: 0.9565 MB / 0.5343 GB, free: 96.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.06, allocations: 376 kB / 0.5347 GB, free: 96.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0165/1.076, allocations: 11.97 MB / 0.5464 GB, free: 90.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.079, allocations: 113.1 kB / 0.5465 GB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.079, allocations: 77.81 kB / 0.5465 GB, free: 90.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/1.079, allocations: 3.656 kB / 0.5465 GB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006544/1.086, allocations: 3.02 MB / 0.5495 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/1.086, allocations: 15.19 kB / 0.5495 GB, free: 90.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003249/1.089, allocations: 0.9583 MB / 0.5504 GB, free: 89.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001939/1.091, allocations: 362 kB / 0.5508 GB, free: 89.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01626/1.107, allocations: 11.94 MB / 0.5624 GB, free: 81.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/1.109, allocations: 110.2 kB / 0.5626 GB, free: 81.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/1.11, allocations: 78.81 kB / 0.5626 GB, free: 81.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005105/1.11, allocations: 224.3 kB / 0.5628 GB, free: 81.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/1.111, allocations: 219.7 kB / 0.5631 GB, free: 81.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00616/1.117, allocations: 2.927 MB / 0.5659 GB, free: 80.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.117, allocations: 18 kB / 0.5659 GB, free: 80.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.117, allocations: 3.688 kB / 0.5659 GB, free: 80.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/1.117, allocations: 9.203 kB / 0.5659 GB, free: 80.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/1.13, allocations: 5.866 MB / 0.5717 GB, free: 78.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.13, allocations: 3.969 kB / 0.5717 GB, free: 78.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001407/1.131, allocations: 221 kB / 0.5719 GB, free: 78.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003703/1.135, allocations: 1.026 MB / 0.5729 GB, free: 77.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/1.135, allocations: 41.11 kB / 0.5729 GB, free: 77.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/1.153, allocations: 13.67 MB / 0.5863 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.367e-06/1.153, allocations: 3.875 kB / 0.5863 GB, free: 68.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008695/1.162, allocations: 4.38 MB / 0.5906 GB, free: 66.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.164, allocations: 494.6 kB / 0.591 GB, free: 66.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/1.164, allocations: 40.91 kB / 0.5911 GB, free: 66.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/1.166, allocations: 104.6 kB / 0.5912 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/1.166, allocations: 150.5 kB / 0.5913 GB, free: 65.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.166, allocations: 46.53 kB / 0.5914 GB, free: 65.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002318/1.169, allocations: 1.234 MB / 0.5926 GB, free: 65.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.66e-07/1.169, allocations: 0 / 0.5926 GB, free: 65.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005238/1.174, allocations: 1.201 MB / 0.5937 GB, free: 65.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008122/1.175, allocations: 389.5 kB / 0.5941 GB, free: 64.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009472/1.184, allocations: 5.299 MB / 0.5993 GB, free: 59.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.184, allocations: 2.562 kB / 0.5993 GB, free: 59.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003749/1.188, allocations: 2.042 MB / 0.6013 GB, free: 57.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/1.191, allocations: 0.5294 MB / 0.6018 GB, free: 57.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.202, allocations: 4.744 MB / 0.6064 GB, free: 53.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001946/1.204, allocations: 2.054 MB / 0.6084 GB, free: 51.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003253/1.207, allocations: 0.7001 MB / 0.6091 GB, free: 51.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/1.207, allocations: 95.44 kB / 0.6092 GB, free: 51.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.629e-06/1.207, allocations: 0 / 0.6092 GB, free: 51.16 MB / 426.7 MB Notification: Performance of Templates: time 0.09732/1.305, allocations: 48.76 MB / 0.6568 GB, free: 11.63 MB / 426.7 MB