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_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.164/2.164, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.856e-05/3.865e-05, allocations: 6.812 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09113, allocations: 50.4 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5234, allocations: 126.4 MB / 468.9 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.5237, allocations: 87.52 kB / 469 MB, free: 0.5781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2175/0.7413, allocations: 55.59 MB / 0.5123 GB, free: 12.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.7413, allocations: 0 / 0.5123 GB, free: 12.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002225/0.7415, allocations: 64 kB / 0.5124 GB, free: 12.29 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.006609/0.7482, allocations: 2.581 MB / 0.5149 GB, free: 9.652 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.7482, allocations: 11.97 kB / 0.5149 GB, free: 9.641 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.7504, allocations: 436 kB / 0.5153 GB, free: 9.211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004967/0.7554, allocations: 1.738 MB / 0.517 GB, free: 7.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.7557, allocations: 176.8 kB / 0.5172 GB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006636/0.7563, allocations: 243.9 kB / 0.5174 GB, free: 7.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/0.7636, allocations: 2.94 MB / 0.5203 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.875e-05/0.7637, allocations: 11.83 kB / 0.5203 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003434/0.7641, allocations: 100 kB / 0.5204 GB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/0.7642, allocations: 100.6 kB / 0.5205 GB, free: 3.695 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006186/0.7704, allocations: 2.328 MB / 0.5228 GB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.319/1.089, allocations: 10.29 MB / 0.5328 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004009/1.094, allocations: 2.689 MB / 0.5354 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/1.096, allocations: 1.106 MB / 0.5365 GB, free: 100.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003692/1.096, allocations: 139 kB / 0.5366 GB, free: 100.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.096, allocations: 61.33 kB / 0.5367 GB, free: 100.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 5.346e-06/1.096, allocations: 0 / 0.5367 GB, free: 100.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.02092/1.117, allocations: 7.345 MB / 0.5439 GB, free: 99.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.117, allocations: 176.7 kB / 0.544 GB, free: 99.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/1.12, allocations: 1.615 MB / 0.5456 GB, free: 99.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002899/1.121, allocations: 55.02 kB / 0.5457 GB, free: 99.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/1.121, allocations: 1.155 MB / 0.5468 GB, free: 99.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/1.122, allocations: 0.5957 MB / 0.5474 GB, free: 98.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.122, allocations: 39.84 kB / 0.5474 GB, free: 98.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/1.122, allocations: 385.1 kB / 0.5478 GB, free: 98.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/1.124, allocations: 0.8847 MB / 0.5487 GB, free: 98.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/1.126, allocations: 1.319 MB / 0.5499 GB, free: 98.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/1.128, allocations: 1.086 MB / 0.551 GB, free: 98.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-06/1.128, allocations: 3.969 kB / 0.551 GB, free: 98.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.007152/1.135, allocations: 3.228 MB / 0.5542 GB, free: 97.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009595/1.136, allocations: 4.899 MB / 0.5589 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.101e-05/1.136, allocations: 15.28 kB / 0.559 GB, free: 92.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003217/1.14, allocations: 0.9598 MB / 0.5599 GB, free: 92.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.142, allocations: 370.6 kB / 0.5602 GB, free: 92.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01628/1.158, allocations: 11.98 MB / 0.5719 GB, free: 84.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.16, allocations: 114.9 kB / 0.5721 GB, free: 84.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/1.161, allocations: 72.34 kB / 0.5721 GB, free: 84.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/1.161, allocations: 3.656 kB / 0.5721 GB, free: 84.01 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006394/1.167, allocations: 3.018 MB / 0.5751 GB, free: 83.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.193e-05/1.167, allocations: 14.78 kB / 0.5751 GB, free: 83.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/1.17, allocations: 0.9623 MB / 0.576 GB, free: 82.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.172, allocations: 367.9 kB / 0.5764 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/1.188, allocations: 11.96 MB / 0.5881 GB, free: 74.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/1.191, allocations: 102.4 kB / 0.5882 GB, free: 74.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/1.191, allocations: 77.42 kB / 0.5882 GB, free: 74.59 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.0004732/1.191, allocations: 220.6 kB / 0.5884 GB, free: 74.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/1.192, allocations: 215.5 kB / 0.5886 GB, free: 74.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00956/1.201, allocations: 2.923 MB / 0.5915 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-05/1.201, allocations: 24.86 kB / 0.5915 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/1.201, allocations: 6.344 kB / 0.5915 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/1.201, allocations: 7.547 kB / 0.5915 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/1.214, allocations: 5.852 MB / 0.5973 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.214, allocations: 2.094 kB / 0.5973 GB, free: 70.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/1.215, allocations: 226.6 kB / 0.5975 GB, free: 70.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/1.219, allocations: 1.021 MB / 0.5985 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/1.219, allocations: 49.89 kB / 0.5985 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/1.236, allocations: 13.68 MB / 0.6119 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-06/1.237, allocations: 3.625 kB / 0.6119 GB, free: 60.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00804/1.245, allocations: 4.403 MB / 0.6162 GB, free: 58.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.246, allocations: 495.7 kB / 0.6166 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004241/1.246, allocations: 39.52 kB / 0.6167 GB, free: 57.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.248, allocations: 104.6 kB / 0.6168 GB, free: 57.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003827/1.248, allocations: 144.3 kB / 0.6169 GB, free: 57.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001672/1.248, allocations: 51.42 kB / 0.617 GB, free: 57.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002161/1.251, allocations: 1.23 MB / 0.6182 GB, free: 56.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.57e-07/1.251, allocations: 0 / 0.6182 GB, free: 56.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004544/1.255, allocations: 1.195 MB / 0.6193 GB, free: 55.24 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.0007566/1.256, allocations: 378 kB / 0.6197 GB, free: 54.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009084/1.265, allocations: 5.308 MB / 0.6249 GB, free: 49.99 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.265, allocations: 0 / 0.6249 GB, free: 49.99 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/1.269, allocations: 2.042 MB / 0.6269 GB, free: 48.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.272, allocations: 0.5403 MB / 0.6274 GB, free: 47.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009779/1.281, allocations: 4.704 MB / 0.632 GB, free: 43.49 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001919/1.283, allocations: 2.055 MB / 0.634 GB, free: 41.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003088/1.286, allocations: 0.7007 MB / 0.6347 GB, free: 41.42 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/1.287, allocations: 103 kB / 0.6348 GB, free: 41.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.625e-06/1.287, allocations: 0 / 0.6348 GB, free: 41.32 MB / 442.7 MB Notification: Performance of Templates: time 0.09674/1.384, allocations: 48.73 MB / 0.6824 GB, free: 488 kB / 442.7 MB