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.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.056/2.056, allocations: 194.9 MB / 211.2 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.103e-05, allocations: 4 kB / 258.8 MB, free: 8.691 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3793, allocations: 44.49 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier): time 0.01966/0.399, allocations: 9.421 MB / 312.7 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.4158, allocations: 5.792 MB / 318.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.4182, allocations: 75.75 kB / 318.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002813/0.4211, allocations: 0.6099 MB / 319.2 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.4251, allocations: 0.7787 MB / 320 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005278/0.4304, allocations: 1.222 MB / 321.2 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.4355, allocations: 1.67 MB / 322.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.4379, allocations: 1.033 MB / 323.9 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002172/0.4401, allocations: 0.8882 MB / 324.8 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002545/0.4427, allocations: 1.094 MB / 325.9 MB, free: 7.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.4444, allocations: 291.7 kB / 326.2 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007018/0.4451, allocations: 115.9 kB / 326.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001115/0.4462, allocations: 0.6463 MB / 326.9 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.4474, allocations: 260 kB / 327.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006565/0.454, allocations: 3.67 MB / 330.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.454, allocations: 4 kB / 330.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.454, allocations: 3.938 kB / 330.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001735/0.4542, allocations: 0 / 330.9 MB, free: 2.055 MB / 266.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.008268/0.4625, allocations: 2.578 MB / 333.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4625, allocations: 8.031 kB / 333.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002473/0.465, allocations: 424.1 kB / 333.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004758/0.4698, allocations: 1.594 MB / 335.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.4701, allocations: 172.7 kB / 335.6 MB, free: 13.17 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007204/0.4708, allocations: 243.8 kB / 335.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.4814, allocations: 2.976 MB / 338.8 MB, free: 9.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.4816, allocations: 11.94 kB / 338.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005107/0.4822, allocations: 92 kB / 338.9 MB, free: 9.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002323/0.4824, allocations: 108.5 kB / 339 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01113/0.4936, allocations: 2.508 MB / 341.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03632/0.5299, allocations: 10.07 MB / 351.6 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005871/0.5358, allocations: 2.724 MB / 354.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004652/0.5364, allocations: 130.3 kB / 354.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.5364, allocations: 51.88 kB / 354.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of pre-optimization done (n=148): time 4.238e-06/0.5365, allocations: 0 / 354.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of matching and sorting (n=165): time 0.04187/0.5783, allocations: 8.154 MB / 362.7 MB, free: 1.277 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001757/0.5786, allocations: 179.5 kB / 362.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006262/0.5848, allocations: 1.597 MB / 364.4 MB, free: 15.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000477/0.5854, allocations: 57.7 kB / 364.5 MB, free: 15.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00165/0.5871, allocations: 1.07 MB / 365.6 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.5883, allocations: 0.5506 MB / 366.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.5885, allocations: 39.98 kB / 366.2 MB, free: 13.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003222/0.5889, allocations: 390.7 kB / 366.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003522/0.5924, allocations: 0.855 MB / 367.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004426/0.5969, allocations: 1.294 MB / 368.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004753/0.6017, allocations: 1.04 MB / 369.7 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/0.6018, allocations: 4 kB / 369.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01313/0.6149, allocations: 2.966 MB / 372.7 MB, free: 6.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002867/0.6178, allocations: 4.63 MB / 377.3 MB, free: 1.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.737e-05/0.618, allocations: 12 kB / 377.3 MB, free: 1.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005173/0.6232, allocations: 0.7622 MB / 378.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/0.6275, allocations: 367.4 kB / 378.5 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/0.6577, allocations: 11.88 MB / 390.3 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003891/0.6617, allocations: 104 kB / 390.4 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004999/0.6622, allocations: 68.08 kB / 390.5 MB, free: 4.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.6623, allocations: 7.938 kB / 390.5 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01356/0.6758, allocations: 2.868 MB / 393.4 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.398e-05/0.676, allocations: 16.28 kB / 393.4 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/0.6801, allocations: 0.7449 MB / 394.1 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003759/0.6839, allocations: 359.4 kB / 394.5 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02914/0.7131, allocations: 11.96 MB / 406.5 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/0.7154, allocations: 99.98 kB / 406.6 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.7158, allocations: 64 kB / 406.6 MB, free: 3.238 MB / 346.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.002946/0.7187, allocations: 0.7237 MB / 407.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009705/0.7197, allocations: 221.4 kB / 407.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.7308, allocations: 2.814 MB / 410.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.7309, allocations: 16 kB / 410.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.7309, allocations: 4 kB / 410.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-05/0.731, allocations: 7.969 kB / 410.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/0.7482, allocations: 5.635 MB / 416 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/0.7482, allocations: 4 kB / 416 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/0.7503, allocations: 227.7 kB / 416.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00378/0.7542, allocations: 0.8161 MB / 417.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003358/0.7545, allocations: 44.2 kB / 417.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2848/1.039, allocations: 13.33 MB / 430.5 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-06/1.039, allocations: 7.531 kB / 430.5 MB, free: 100.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009767/1.049, allocations: 4.238 MB / 434.7 MB, free: 98.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/1.051, allocations: 482.8 kB / 435.2 MB, free: 98.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008067/1.052, allocations: 43.52 kB / 435.2 MB, free: 98.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.055, allocations: 93.06 kB / 435.3 MB, free: 98.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000554/1.055, allocations: 141.6 kB / 435.4 MB, free: 98.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/1.056, allocations: 51.12 kB / 435.5 MB, free: 98.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003496/1.059, allocations: 1.228 MB / 436.7 MB, free: 98.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.059, allocations: 0 / 436.7 MB, free: 98.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007681/1.067, allocations: 1.056 MB / 437.8 MB, free: 98 MB / 362.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.0009187/1.068, allocations: 214.8 kB / 438 MB, free: 97.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01495/1.083, allocations: 5.217 MB / 443.2 MB, free: 94.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.083, allocations: 0 / 443.2 MB, free: 94.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006135/1.089, allocations: 2.071 MB / 445.3 MB, free: 93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/1.094, allocations: 0.5282 MB / 445.8 MB, free: 92.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/1.113, allocations: 6.544 MB / 452.3 MB, free: 86.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002831/1.116, allocations: 1.988 MB / 454.3 MB, free: 84.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/1.117, allocations: 131.4 kB / 454.5 MB, free: 84.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.743e-06/1.117, allocations: 0 / 454.5 MB, free: 84.57 MB / 362.7 MB Notification: Performance of Templates: time 0.1362/1.253, allocations: 98.31 MB / 0.5398 GB, free: 2.094 MB / 378.7 MB