Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.818/1.818, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.969e-05, allocations: 0 / 258.8 MB, free: 7.859 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3075, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier): time 0.02175/0.3293, allocations: 13.15 MB / 316.5 MB, free: 424 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01766/0.3471, allocations: 7.033 MB / 323.5 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.3503, allocations: 119.7 kB / 323.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.354, allocations: 0.8195 MB / 324.4 MB, free: 8.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.3603, allocations: 1.351 MB / 325.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006807/0.3672, allocations: 1.592 MB / 327.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007545/0.3747, allocations: 2.656 MB / 330 MB, free: 2.812 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003589/0.3784, allocations: 1.643 MB / 331.7 MB, free: 1.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.3813, allocations: 1.243 MB / 332.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.3848, allocations: 1.506 MB / 334.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.3872, allocations: 423.5 kB / 334.8 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009862/0.3883, allocations: 156 kB / 335 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.3894, allocations: 0.7355 MB / 335.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.391, allocations: 356 kB / 336.1 MB, free: 12.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009702/0.4007, allocations: 6.034 MB / 342.1 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4008, allocations: 0 / 342.1 MB, free: 6.688 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4008, allocations: 0 / 342.1 MB, free: 6.688 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.401, allocations: 0 / 342.1 MB, free: 6.688 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.01532/0.4164, allocations: 3.984 MB / 346.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.4164, allocations: 12.03 kB / 346.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008403/0.4249, allocations: 0.9862 MB / 347.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008146/0.433, allocations: 2.512 MB / 349.6 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003585/0.4335, allocations: 271.3 kB / 349.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001323/0.4348, allocations: 375.7 kB / 350.2 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01454/0.4494, allocations: 4.62 MB / 354.9 MB, free: 9.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/0.4496, allocations: 11.92 kB / 354.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007378/0.4503, allocations: 148 kB / 355 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002278/0.4506, allocations: 151.2 kB / 355.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.4635, allocations: 3.956 MB / 359.1 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04068/0.5042, allocations: 15.82 MB / 374.9 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.5168, allocations: 7.814 MB / 382.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01172/0.5285, allocations: 4.275 MB / 387 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.5286, allocations: 60.56 kB / 387.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=182): time 5.039e-06/0.5287, allocations: 0 / 387.1 MB, free: 8.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=186): time 0.02225/0.5509, allocations: 7.096 MB / 394.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5511, allocations: 180.2 kB / 394.4 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004428/0.5555, allocations: 1.927 MB / 396.3 MB, free: 14.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003324/0.5559, allocations: 57.7 kB / 396.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001706/0.5576, allocations: 1.644 MB / 398 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009417/0.5586, allocations: 0.6316 MB / 398.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.5588, allocations: 44 kB / 398.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.559, allocations: 390.4 kB / 399 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002408/0.5614, allocations: 0.8711 MB / 399.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.5643, allocations: 1.48 MB / 401.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00292/0.5673, allocations: 1.111 MB / 402.5 MB, free: 8.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.5673, allocations: 4 kB / 402.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.008735/0.576, allocations: 3.159 MB / 405.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002952/0.579, allocations: 7.263 MB / 412.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-05/0.5792, allocations: 23.98 kB / 413 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.5811, allocations: 471.8 kB / 413.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003671/0.5848, allocations: 495.3 kB / 413.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.5969, allocations: 8.182 MB / 422.1 MB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002827/0.5997, allocations: 99.81 kB / 422.2 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003593/0.6001, allocations: 95.98 kB / 422.3 MB, free: 2.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6001, allocations: 10.38 kB / 422.3 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007699/0.6079, allocations: 2.875 MB / 425.2 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.925e-05/0.608, allocations: 19.98 kB / 425.2 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2794/0.8874, allocations: 460.4 kB / 425.6 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003976/0.8914, allocations: 493 kB / 426.1 MB, free: 102.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.9021, allocations: 8.18 MB / 434.3 MB, free: 96.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.9049, allocations: 92.8 kB / 434.4 MB, free: 96.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.9052, allocations: 86.91 kB / 434.5 MB, free: 96.37 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.002603/0.9078, allocations: 1.063 MB / 435.5 MB, free: 95.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006659/0.9085, allocations: 250.7 kB / 435.8 MB, free: 95.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006659/0.9151, allocations: 2.803 MB / 438.6 MB, free: 94.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.9152, allocations: 22.45 kB / 438.6 MB, free: 94.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.9152, allocations: 3.688 kB / 438.6 MB, free: 94.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/0.9153, allocations: 7.641 kB / 438.6 MB, free: 94.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.9301, allocations: 6.224 MB / 444.8 MB, free: 91.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.9301, allocations: 0 / 444.8 MB, free: 91.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002233/0.9324, allocations: 264.4 kB / 445.1 MB, free: 91.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.935, allocations: 0.6584 MB / 445.7 MB, free: 91.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002821/0.9353, allocations: 39.73 kB / 445.8 MB, free: 91.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01609/0.9514, allocations: 12.78 MB / 458.6 MB, free: 79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.9514, allocations: 7.938 kB / 458.6 MB, free: 79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009381/0.9608, allocations: 4.245 MB / 462.8 MB, free: 74.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/0.9626, allocations: 0.5163 MB / 463.3 MB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/0.9634, allocations: 40 kB / 463.4 MB, free: 74.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/0.9657, allocations: 87.5 kB / 463.5 MB, free: 74.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/0.9662, allocations: 145.6 kB / 463.6 MB, free: 74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.9664, allocations: 51.98 kB / 463.6 MB, free: 73.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003109/0.9695, allocations: 1.481 MB / 465.1 MB, free: 72.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.9695, allocations: 0 / 465.1 MB, free: 72.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005948/0.9755, allocations: 1.279 MB / 466.4 MB, free: 71.19 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.000761/0.9763, allocations: 219.8 kB / 466.6 MB, free: 70.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.9864, allocations: 4.916 MB / 471.5 MB, free: 65.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.9865, allocations: 4 kB / 471.5 MB, free: 65.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004241/0.9907, allocations: 2.023 MB / 473.6 MB, free: 63.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004568/0.9953, allocations: 0.6276 MB / 474.2 MB, free: 63.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/1.013, allocations: 8.276 MB / 482.5 MB, free: 54.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002584/1.015, allocations: 2.577 MB / 485 MB, free: 52.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005158/1.02, allocations: 0.8478 MB / 485.9 MB, free: 51.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/1.021, allocations: 119.4 kB / 486 MB, free: 51.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/1.021, allocations: 0 / 486 MB, free: 51.37 MB / 362.7 MB Notification: Performance of Templates: time 0.1071/1.128, allocations: 44.08 MB / 0.5177 GB, free: 7.254 MB / 362.7 MB