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.889/1.889, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.519e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08606, allocations: 38.78 MB / 266.9 MB, free: 484 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01622/0.1023, allocations: 9.419 MB / 276.3 MB, free: 7.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0145/0.1169, allocations: 5.756 MB / 282.1 MB, free: 1.238 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.1193, allocations: 83.75 kB / 282.2 MB, free: 1.156 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.122, allocations: 0.6021 MB / 282.8 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00401/0.1261, allocations: 0.7904 MB / 283.6 MB, free: 15.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.1314, allocations: 1.279 MB / 284.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004782/0.1362, allocations: 1.694 MB / 286.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1384, allocations: 1.036 MB / 287.6 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.1402, allocations: 0.9077 MB / 288.5 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1424, allocations: 1.094 MB / 289.6 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.1437, allocations: 295.7 kB / 289.9 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005432/0.1443, allocations: 112 kB / 290 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1453, allocations: 0.6502 MB / 290.6 MB, free: 8.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00084/0.1461, allocations: 256 kB / 290.9 MB, free: 8.422 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005789/0.152, allocations: 3.689 MB / 294.6 MB, free: 4.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.152, allocations: 0 / 294.6 MB, free: 4.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.152, allocations: 0 / 294.6 MB, free: 4.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001375/0.1522, allocations: 0 / 294.6 MB, free: 4.723 MB / 250.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.008202/0.1604, allocations: 2.578 MB / 297.2 MB, free: 2.082 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1604, allocations: 8.031 kB / 297.2 MB, free: 2.074 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/0.1629, allocations: 420.1 kB / 297.6 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.1677, allocations: 1.59 MB / 299.2 MB, free: 16 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2305/0.3982, allocations: 182.1 kB / 299.3 MB, free: 28.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009744/0.3992, allocations: 237.5 kB / 299.6 MB, free: 28.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008967/0.4082, allocations: 2.975 MB / 302.5 MB, free: 27.14 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/0.4084, allocations: 7.828 kB / 302.6 MB, free: 27.14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/0.4087, allocations: 99.09 kB / 302.6 MB, free: 27.07 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.4089, allocations: 98.38 kB / 302.7 MB, free: 27.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008191/0.4171, allocations: 2.504 MB / 305.2 MB, free: 26.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/0.4417, allocations: 10.08 MB / 315.3 MB, free: 19.67 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.4466, allocations: 2.729 MB / 318.1 MB, free: 17.67 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.447, allocations: 125.9 kB / 318.2 MB, free: 17.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.447, allocations: 51.75 kB / 318.2 MB, free: 17.51 MB / 250.7 MB Notification: Performance of pre-optimization done (n=148): time 4.919e-06/0.447, allocations: 0 / 318.2 MB, free: 17.51 MB / 250.7 MB Notification: Performance of matching and sorting (n=165): time 0.02674/0.4738, allocations: 8.139 MB / 326.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.4739, allocations: 175.5 kB / 326.5 MB, free: 10.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003185/0.4771, allocations: 1.597 MB / 328.1 MB, free: 8.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003218/0.4775, allocations: 57.7 kB / 328.2 MB, free: 8.832 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008628/0.4783, allocations: 1.136 MB / 329.3 MB, free: 7.688 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.4789, allocations: 0.5603 MB / 329.9 MB, free: 7.133 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.4791, allocations: 40 kB / 329.9 MB, free: 7.094 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4792, allocations: 377.9 kB / 330.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.4813, allocations: 0.8589 MB / 331.2 MB, free: 5.859 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.4836, allocations: 1.291 MB / 332.4 MB, free: 4.395 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.486, allocations: 1.04 MB / 333.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.486, allocations: 4 kB / 333.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007739/0.4937, allocations: 3.104 MB / 336.6 MB, free: 212 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.4938, allocations: 8 kB / 336.6 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.4939, allocations: 12 kB / 336.6 MB, free: 192 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003134/0.497, allocations: 0.7684 MB / 337.4 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002752/0.4998, allocations: 369.8 kB / 337.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0205/0.5203, allocations: 11.88 MB / 349.6 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.523, allocations: 99.91 kB / 349.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002631/0.5233, allocations: 72.19 kB / 349.8 MB, free: 2.34 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (191): * Single equations (assignments): 183 * 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: 5 * 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: 2 {(3,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001995/0.5253, allocations: 0.7275 MB / 350.5 MB, free: 1.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/0.526, allocations: 213.5 kB / 350.7 MB, free: 1.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008155/0.5342, allocations: 2.802 MB / 353.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.788e-05/0.5342, allocations: 16 kB / 353.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.5343, allocations: 11.95 kB / 353.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.5343, allocations: 7.969 kB / 353.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0169/0.5512, allocations: 5.627 MB / 359.2 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/0.5513, allocations: 4 kB / 359.2 MB, free: 8.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002096/0.5534, allocations: 235.6 kB / 359.4 MB, free: 8.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003697/0.5571, allocations: 0.8127 MB / 360.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003351/0.5575, allocations: 44.27 kB / 360.3 MB, free: 7.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.023/0.5805, allocations: 13.35 MB / 373.6 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.5806, allocations: 4 kB / 373.6 MB, free: 9.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.5919, allocations: 4.231 MB / 377.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/0.5937, allocations: 478.4 kB / 378.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007377/0.5945, allocations: 48.03 kB / 378.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.5967, allocations: 103.8 kB / 378.5 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005133/0.5972, allocations: 137.1 kB / 378.6 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.5974, allocations: 43.98 kB / 378.7 MB, free: 4.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.003229/0.6006, allocations: 1.237 MB / 379.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.6007, allocations: 0 / 379.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003672/0.6044, allocations: 0.6402 MB / 380.5 MB, free: 2.348 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (122): * Single equations (assignments): 116 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 16,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000856/0.6053, allocations: 220 kB / 380.7 MB, free: 2.137 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.008154/0.6134, allocations: 3.025 MB / 383.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.6135, allocations: 4 kB / 383.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005512/0.619, allocations: 2.069 MB / 385.8 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004262/0.6233, allocations: 0.5225 MB / 386.4 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01627/0.6396, allocations: 6.478 MB / 392.8 MB, free: 5.801 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/0.6426, allocations: 1.99 MB / 394.8 MB, free: 3.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.002246/0.6449, allocations: 377.2 kB / 395.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006492/0.6456, allocations: 119.4 kB / 395.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.6456, allocations: 0 / 395.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of Templates: time 0.1347/0.7803, allocations: 34.08 MB / 429.4 MB, free: 1.23 MB / 346.7 MB