Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.855e-05, allocations: 6.812 kB / 292.7 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09152, allocations: 50.41 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5161, allocations: 126.3 MB / 469.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.5164, allocations: 86.83 kB / 469.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2168/0.7332, allocations: 55.6 MB / 0.5128 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.163e-06/0.7332, allocations: 0 / 0.5128 GB, free: 12.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002618/0.7335, allocations: 64 kB / 0.5129 GB, free: 12.3 MB / 442.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.007416/0.741, allocations: 2.585 MB / 0.5154 GB, free: 9.652 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.741, allocations: 8.031 kB / 0.5154 GB, free: 9.645 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.7432, allocations: 432 kB / 0.5158 GB, free: 9.219 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/0.7482, allocations: 1.742 MB / 0.5175 GB, free: 7.422 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/0.7484, allocations: 176.8 kB / 0.5177 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006372/0.7491, allocations: 243.9 kB / 0.5179 GB, free: 7.008 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006909/0.756, allocations: 2.936 MB / 0.5208 GB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/0.7562, allocations: 11.84 kB / 0.5208 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004068/0.7566, allocations: 100 kB / 0.5209 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001397/0.7568, allocations: 96.59 kB / 0.521 GB, free: 3.707 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005846/0.7626, allocations: 2.328 MB / 0.5233 GB, free: 1.371 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3163/1.079, allocations: 10.29 MB / 0.5333 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00405/1.083, allocations: 2.689 MB / 0.5359 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/1.085, allocations: 1.107 MB / 0.537 GB, free: 101 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000357/1.085, allocations: 138.6 kB / 0.5371 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.086, allocations: 52.73 kB / 0.5372 GB, free: 100.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.36e-06/1.086, allocations: 2.062 kB / 0.5372 GB, free: 100.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.02085/1.106, allocations: 7.355 MB / 0.5444 GB, free: 99.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/1.107, allocations: 172.7 kB / 0.5445 GB, free: 99.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003263/1.11, allocations: 1.604 MB / 0.5461 GB, free: 99.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002776/1.11, allocations: 59.33 kB / 0.5462 GB, free: 99.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008511/1.111, allocations: 1.165 MB / 0.5473 GB, free: 99.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/1.112, allocations: 0.5877 MB / 0.5479 GB, free: 98.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.112, allocations: 39.78 kB / 0.5479 GB, free: 98.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/1.112, allocations: 390.1 kB / 0.5483 GB, free: 98.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/1.114, allocations: 0.8831 MB / 0.5492 GB, free: 98.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/1.116, allocations: 1.317 MB / 0.5504 GB, free: 98.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002024/1.118, allocations: 1.096 MB / 0.5515 GB, free: 98.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.118, allocations: 3.812 kB / 0.5515 GB, free: 98.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.006976/1.125, allocations: 3.222 MB / 0.5547 GB, free: 97.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009368/1.126, allocations: 4.899 MB / 0.5594 GB, free: 92.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/1.126, allocations: 18.89 kB / 0.5595 GB, free: 92.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003282/1.129, allocations: 0.9513 MB / 0.5604 GB, free: 92.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.131, allocations: 376.7 kB / 0.5607 GB, free: 92.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/1.147, allocations: 11.98 MB / 0.5724 GB, free: 84.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/1.149, allocations: 118.2 kB / 0.5726 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002567/1.15, allocations: 73.06 kB / 0.5726 GB, free: 84.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.15, allocations: 3.25 kB / 0.5726 GB, free: 84.12 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006363/1.156, allocations: 3.02 MB / 0.5756 GB, free: 83.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.331e-05/1.156, allocations: 12.03 kB / 0.5756 GB, free: 83.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003062/1.159, allocations: 0.9632 MB / 0.5765 GB, free: 82.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/1.161, allocations: 364.1 kB / 0.5769 GB, free: 82.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/1.177, allocations: 11.96 MB / 0.5886 GB, free: 74.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/1.179, allocations: 107.8 kB / 0.5887 GB, free: 74.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002611/1.179, allocations: 71.34 kB / 0.5887 GB, free: 74.71 MB / 442.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.0004976/1.18, allocations: 231.7 kB / 0.589 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000489/1.18, allocations: 216.5 kB / 0.5892 GB, free: 74.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005982/1.186, allocations: 2.92 MB / 0.592 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/1.186, allocations: 15.81 kB / 0.592 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.186, allocations: 7.812 kB / 0.592 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/1.186, allocations: 14.62 kB / 0.592 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.199, allocations: 5.856 MB / 0.5978 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/1.199, allocations: 3.562 kB / 0.5978 GB, free: 70.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/1.2, allocations: 225.9 kB / 0.598 GB, free: 70.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003638/1.204, allocations: 1.019 MB / 0.599 GB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/1.204, allocations: 44.23 kB / 0.599 GB, free: 70.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/1.222, allocations: 13.68 MB / 0.6124 GB, free: 60.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.505e-06/1.222, allocations: 3.625 kB / 0.6124 GB, free: 60.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008692/1.231, allocations: 4.397 MB / 0.6167 GB, free: 58.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.232, allocations: 496 kB / 0.6172 GB, free: 57.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006552/1.233, allocations: 43.52 kB / 0.6172 GB, free: 57.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/1.235, allocations: 97.41 kB / 0.6173 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004367/1.235, allocations: 151.3 kB / 0.6174 GB, free: 57.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/1.236, allocations: 51.52 kB / 0.6175 GB, free: 57.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002399/1.238, allocations: 1.222 MB / 0.6187 GB, free: 56.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.9e-07/1.238, allocations: 0 / 0.6187 GB, free: 56.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005271/1.243, allocations: 1.202 MB / 0.6198 GB, free: 55.39 MB / 442.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.000814/1.244, allocations: 378.6 kB / 0.6202 GB, free: 55.1 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009641/1.254, allocations: 5.309 MB / 0.6254 GB, free: 50.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.456e-06/1.254, allocations: 0 / 0.6254 GB, free: 50.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003779/1.258, allocations: 2.042 MB / 0.6274 GB, free: 48.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/1.261, allocations: 0.5361 MB / 0.6279 GB, free: 47.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/1.272, allocations: 4.719 MB / 0.6325 GB, free: 43.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/1.274, allocations: 2.046 MB / 0.6345 GB, free: 42.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003208/1.277, allocations: 0.6991 MB / 0.6352 GB, free: 41.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003503/1.277, allocations: 99.44 kB / 0.6353 GB, free: 41.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.68e-06/1.277, allocations: 4 kB / 0.6353 GB, free: 41.47 MB / 442.7 MB Notification: Performance of Templates: time 0.1419/1.419, allocations: 48.72 MB / 0.6829 GB, free: 492 kB / 442.7 MB