Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.16/2.16, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.146e-05/3.135e-05, allocations: 4 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.31, allocations: 44.5 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.02194/0.332, allocations: 13.16 MB / 316.5 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.3502, allocations: 7.033 MB / 323.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003561/0.3538, allocations: 123.6 kB / 323.6 MB, free: 9.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004174/0.3581, allocations: 0.8118 MB / 324.4 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007253/0.3654, allocations: 1.343 MB / 325.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007432/0.3729, allocations: 1.602 MB / 327.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009654/0.3825, allocations: 2.649 MB / 330 MB, free: 2.926 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005502/0.3881, allocations: 1.639 MB / 331.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003233/0.3914, allocations: 1.247 MB / 332.9 MB, free: 16 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.3951, allocations: 1.499 MB / 334.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.3974, allocations: 419.5 kB / 334.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009304/0.3984, allocations: 156 kB / 335 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.3995, allocations: 0.7393 MB / 335.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.4009, allocations: 352 kB / 336 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009838/0.4107, allocations: 6.046 MB / 342.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4108, allocations: 0 / 342.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.4108, allocations: 0 / 342.1 MB, free: 6.801 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000218/0.411, allocations: 0 / 342.1 MB, free: 6.801 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01544/0.4265, allocations: 3.976 MB / 346.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4266, allocations: 12.03 kB / 346.1 MB, free: 2.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008746/0.4353, allocations: 0.9863 MB / 347.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/0.4438, allocations: 2.52 MB / 349.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000335/0.4442, allocations: 275.3 kB / 349.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.4454, allocations: 367.9 kB / 350.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01429/0.4597, allocations: 4.626 MB / 354.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.4599, allocations: 3.938 kB / 354.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005491/0.4604, allocations: 148 kB / 355 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002362/0.4607, allocations: 159.1 kB / 355.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01293/0.4736, allocations: 3.952 MB / 359.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04343/0.5171, allocations: 15.82 MB / 374.9 MB, free: 5.367 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.5304, allocations: 7.806 MB / 382.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01269/0.5432, allocations: 4.279 MB / 387 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.471e-05/0.5433, allocations: 56.5 kB / 387 MB, free: 8.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=182): time 4.799e-06/0.5433, allocations: 4 kB / 387 MB, free: 8.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=186): time 0.024/0.5673, allocations: 7.1 MB / 394.1 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.5675, allocations: 172.2 kB / 394.3 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.5727, allocations: 1.938 MB / 396.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.5731, allocations: 57.7 kB / 396.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/0.5748, allocations: 1.544 MB / 397.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.5759, allocations: 0.6199 MB / 398.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.5761, allocations: 44 kB / 398.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002996/0.5764, allocations: 403.2 kB / 398.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.5791, allocations: 0.8672 MB / 399.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/0.5825, allocations: 1.488 MB / 401.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003264/0.5858, allocations: 1.107 MB / 402.4 MB, free: 8.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.299e-05/0.5859, allocations: 4 kB / 402.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.008894/0.5948, allocations: 2.997 MB / 405.4 MB, free: 5.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003324/0.5982, allocations: 6.889 MB / 412.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.535e-05/0.5983, allocations: 20 kB / 412.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001984/0.6003, allocations: 467.8 kB / 412.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003902/0.6042, allocations: 495.2 kB / 413.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01289/0.6172, allocations: 8.182 MB / 421.4 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/0.6201, allocations: 99.81 kB / 421.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004818/0.6206, allocations: 91.98 kB / 421.6 MB, free: 3.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6207, allocations: 6.188 kB / 421.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008773/0.6294, allocations: 2.883 MB / 424.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-05/0.6296, allocations: 20 kB / 424.5 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.6313, allocations: 460.1 kB / 425 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003852/0.6351, allocations: 491.2 kB / 425.4 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.338/0.9731, allocations: 8.221 MB / 433.7 MB, free: 96.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.9749, allocations: 84.91 kB / 433.7 MB, free: 96.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002447/0.9751, allocations: 102.1 kB / 433.8 MB, free: 96.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (255): * Single equations (assignments): 248 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.002528/0.9777, allocations: 1.066 MB / 434.9 MB, free: 95.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006472/0.9783, allocations: 252.1 kB / 435.1 MB, free: 95.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00643/0.9848, allocations: 2.798 MB / 437.9 MB, free: 94.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.9849, allocations: 23.59 kB / 438 MB, free: 94.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.9849, allocations: 7.891 kB / 438 MB, free: 94.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.233e-05/0.9849, allocations: 7.828 kB / 438 MB, free: 94.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.9986, allocations: 6.215 MB / 444.2 MB, free: 91.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.9986, allocations: 1.453 kB / 444.2 MB, free: 91.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00218/1.001, allocations: 265.9 kB / 444.5 MB, free: 91.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/1.003, allocations: 0.6573 MB / 445.1 MB, free: 91.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001695/1.003, allocations: 42.64 kB / 445.2 MB, free: 91.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.019, allocations: 12.79 MB / 457.9 MB, free: 79.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.019, allocations: 0 / 457.9 MB, free: 79.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008843/1.028, allocations: 4.247 MB / 462.2 MB, free: 75.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.03, allocations: 0.5166 MB / 462.7 MB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005811/1.03, allocations: 40 kB / 462.8 MB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/1.032, allocations: 86.72 kB / 462.8 MB, free: 75.1 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004154/1.033, allocations: 147.8 kB / 463 MB, free: 74.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.033, allocations: 51.98 kB / 463 MB, free: 74.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003534/1.037, allocations: 1.474 MB / 464.5 MB, free: 73.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.037, allocations: 0 / 464.5 MB, free: 73.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.01082/1.047, allocations: 1.271 MB / 465.8 MB, free: 72.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,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 (133): * Single equations (assignments): 127 * 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 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009975/1.049, allocations: 217.4 kB / 466 MB, free: 71.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009601/1.058, allocations: 4.841 MB / 470.8 MB, free: 66.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.058, allocations: 4 kB / 470.8 MB, free: 66.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004032/1.062, allocations: 2.023 MB / 472.9 MB, free: 64.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/1.067, allocations: 0.6317 MB / 473.5 MB, free: 64.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/1.083, allocations: 8.227 MB / 481.7 MB, free: 56.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002513/1.086, allocations: 2.529 MB / 484.2 MB, free: 53.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000973/1.087, allocations: 163.4 kB / 484.4 MB, free: 53.33 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/1.087, allocations: 0 / 484.4 MB, free: 53.33 MB / 362.7 MB Notification: Performance of Templates: time 0.5647/1.652, allocations: 138.2 MB / 0.608 GB, free: 111.8 MB / 410.7 MB