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.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.1_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.3 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.715e-05/2.727e-05, allocations: 4 kB / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.5794, allocations: 115.8 MB / 379.6 MB, free: 48.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.5797, allocations: 83.92 kB / 379.7 MB, free: 48.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.204/0.7838, allocations: 55.6 MB / 435.3 MB, free: 30.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.303e-06/0.7838, allocations: 0 / 435.3 MB, free: 30.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001984/0.784, allocations: 71.94 kB / 435.4 MB, free: 30.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.00599/0.79, allocations: 2.564 MB / 437.9 MB, free: 27.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.7901, allocations: 8.031 kB / 437.9 MB, free: 27.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.7923, allocations: 428.5 kB / 438.4 MB, free: 27.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004292/0.7966, allocations: 1.734 MB / 440.1 MB, free: 25.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.7968, allocations: 177 kB / 440.3 MB, free: 25.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005711/0.7974, allocations: 241 kB / 440.5 MB, free: 25.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.8036, allocations: 2.916 MB / 443.4 MB, free: 22.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.096e-05/0.8037, allocations: 4 kB / 443.4 MB, free: 22.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.804, allocations: 104 kB / 443.5 MB, free: 22.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001049/0.8042, allocations: 92.55 kB / 443.6 MB, free: 22.71 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/0.8097, allocations: 2.324 MB / 445.9 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01956/0.8293, allocations: 10.09 MB / 456 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.8331, allocations: 2.682 MB / 458.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/0.8349, allocations: 1.108 MB / 459.8 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003363/0.8353, allocations: 142.3 kB / 460 MB, free: 5.855 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.8353, allocations: 63.83 kB / 460 MB, free: 5.781 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 4.822e-06/0.8353, allocations: 0 / 460 MB, free: 5.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.02678/0.8621, allocations: 7.304 MB / 467.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.8623, allocations: 205.9 kB / 467.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003672/0.866, allocations: 1.577 MB / 469.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003275/0.8664, allocations: 57.7 kB / 469.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.8676, allocations: 1.149 MB / 470.3 MB, free: 11.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008219/0.8685, allocations: 0.5814 MB / 470.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/0.8686, allocations: 36 kB / 470.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.8689, allocations: 385.9 kB / 471.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.871, allocations: 0.8825 MB / 472.2 MB, free: 9.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.8735, allocations: 1.313 MB / 473.5 MB, free: 7.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.8759, allocations: 1.072 MB / 474.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.876, allocations: 8 kB / 474.6 MB, free: 6.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.007908/0.8839, allocations: 3.209 MB / 477.8 MB, free: 3.633 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.884, allocations: 8 kB / 477.8 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.932e-05/0.884, allocations: 19.95 kB / 477.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00346/0.8875, allocations: 0.9683 MB / 478.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.8896, allocations: 367.5 kB / 479.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/0.9098, allocations: 11.96 MB / 491.1 MB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00224/0.9121, allocations: 112 kB / 491.2 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/0.9124, allocations: 75.95 kB / 491.3 MB, free: 5.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * 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 initialization (189): * Single equations (assignments): 182 * 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.0005152/0.913, allocations: 213.7 kB / 491.5 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006153/0.9136, allocations: 221.4 kB / 491.7 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/0.9205, allocations: 2.917 MB / 494.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/0.9205, allocations: 16 kB / 494.6 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.9206, allocations: 4 kB / 494.7 MB, free: 2.172 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/0.9206, allocations: 7.969 kB / 494.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.935, allocations: 5.837 MB / 0.4888 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.9351, allocations: 4.031 kB / 0.4888 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/0.9366, allocations: 219.8 kB / 0.489 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003929/0.9405, allocations: 1.027 MB / 0.49 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/0.9408, allocations: 39.98 kB / 0.49 GB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.224/1.165, allocations: 13.66 MB / 0.5034 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.407e-06/1.165, allocations: 1.812 kB / 0.5034 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008818/1.174, allocations: 4.352 MB / 0.5076 GB, free: 84.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.175, allocations: 494.2 kB / 0.5081 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004425/1.176, allocations: 51.66 kB / 0.5081 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.177, allocations: 103.5 kB / 0.5082 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/1.178, allocations: 136.8 kB / 0.5084 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/1.178, allocations: 49.11 kB / 0.5084 GB, free: 84.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002378/1.18, allocations: 1.209 MB / 0.5096 GB, free: 84.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.2e-07/1.18, allocations: 0 / 0.5096 GB, free: 84.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003546/1.184, allocations: 0.746 MB / 0.5103 GB, free: 84.33 MB / 362.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 (114): * Single equations (assignments): 109 * 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,75.0%) 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.0008735/1.185, allocations: 375.9 kB / 0.5107 GB, free: 84.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005875/1.191, allocations: 3.037 MB / 0.5136 GB, free: 83.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.063e-06/1.191, allocations: 3.25 kB / 0.5136 GB, free: 83.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004116/1.195, allocations: 2.043 MB / 0.5156 GB, free: 83.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/1.198, allocations: 0.5137 MB / 0.5161 GB, free: 83.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.209, allocations: 4.598 MB / 0.5206 GB, free: 82.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002037/1.211, allocations: 2.008 MB / 0.5226 GB, free: 81.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0019/1.213, allocations: 362.8 kB / 0.5229 GB, free: 81.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/1.214, allocations: 121.1 kB / 0.5231 GB, free: 81.24 MB / 362.7 MB Notification: Performance of SimCode: time 1.698e-06/1.214, allocations: 0 / 0.5231 GB, free: 81.24 MB / 362.7 MB Notification: Performance of Templates: time 0.08536/1.299, allocations: 39.64 MB / 0.5618 GB, free: 70.11 MB / 362.7 MB