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.775/1.775, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.795e-05, allocations: 8 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07694/0.07699, allocations: 44.5 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.388/0.465, allocations: 125.2 MB / 425.1 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.4653, allocations: 83.8 kB / 425.2 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6724/1.138, allocations: 95.3 MB / 0.5083 GB, free: 57.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.153e-06/1.138, allocations: 1.531 kB / 0.5083 GB, free: 57.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003561/1.138, allocations: 93.05 kB / 0.5084 GB, free: 57.5 MB / 394.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.01229/1.15, allocations: 3.7 MB / 0.512 GB, free: 56.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.15, allocations: 12.72 kB / 0.512 GB, free: 56.76 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006449/1.157, allocations: 0.8974 MB / 0.5129 GB, free: 56.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.168, allocations: 3.592 MB / 0.5164 GB, free: 55.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/1.168, allocations: 274.3 kB / 0.5167 GB, free: 55.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008178/1.169, allocations: 367.1 kB / 0.517 GB, free: 55.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009896/1.179, allocations: 4.49 MB / 0.5214 GB, free: 55.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.179, allocations: 5.203 kB / 0.5214 GB, free: 55.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000501/1.18, allocations: 151.8 kB / 0.5215 GB, free: 55.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000177/1.18, allocations: 155.6 kB / 0.5217 GB, free: 55.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00812/1.188, allocations: 3.637 MB / 0.5252 GB, free: 55.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02686/1.215, allocations: 15.78 MB / 0.5406 GB, free: 52.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007699/1.223, allocations: 7.757 MB / 0.5482 GB, free: 46.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003291/1.226, allocations: 1.706 MB / 0.5499 GB, free: 46.7 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009998/1.236, allocations: 5.034 MB / 0.5548 GB, free: 45.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.236, allocations: 55.22 kB / 0.5549 GB, free: 44.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 5.062e-06/1.236, allocations: 0 / 0.5549 GB, free: 44.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=175): time 0.009711/1.246, allocations: 5.039 MB / 0.5598 GB, free: 42.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/1.246, allocations: 176 kB / 0.5599 GB, free: 42.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/1.249, allocations: 1.883 MB / 0.5618 GB, free: 41.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.249, allocations: 57.61 kB / 0.5618 GB, free: 41.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001019/1.25, allocations: 1.679 MB / 0.5635 GB, free: 40.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004297/1.251, allocations: 0.5958 MB / 0.5641 GB, free: 39.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/1.251, allocations: 43.53 kB / 0.5641 GB, free: 39.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/1.251, allocations: 388.3 kB / 0.5645 GB, free: 39.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/1.253, allocations: 0.8017 MB / 0.5653 GB, free: 38.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001956/1.255, allocations: 1.413 MB / 0.5666 GB, free: 37.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/1.257, allocations: 1.045 MB / 0.5677 GB, free: 37.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/1.257, allocations: 3.938 kB / 0.5677 GB, free: 37.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006048/1.263, allocations: 2.896 MB / 0.5705 GB, free: 36.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001371/1.264, allocations: 7.634 MB / 0.5779 GB, free: 28.03 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/1.264, allocations: 17.28 kB / 0.578 GB, free: 28.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/1.266, allocations: 472.3 kB / 0.5784 GB, free: 27.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002221/1.268, allocations: 475.4 kB / 0.5789 GB, free: 27.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008118/1.276, allocations: 8.049 MB / 0.5867 GB, free: 21.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.278, allocations: 101.2 kB / 0.5868 GB, free: 21.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/1.278, allocations: 92.38 kB / 0.5869 GB, free: 21.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/1.278, allocations: 7.391 kB / 0.5869 GB, free: 21.27 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005114/1.284, allocations: 2.652 MB / 0.5895 GB, free: 20.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/1.284, allocations: 17.84 kB / 0.5895 GB, free: 20.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/1.285, allocations: 464.4 kB / 0.59 GB, free: 20.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/1.287, allocations: 467.7 kB / 0.5904 GB, free: 20.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/1.295, allocations: 8.05 MB / 0.5983 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/1.297, allocations: 91.89 kB / 0.5984 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/1.298, allocations: 90.3 kB / 0.5984 GB, free: 13.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (248): * Single equations (assignments): 241 * 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.0005145/1.298, allocations: 245.7 kB / 0.5987 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004969/1.299, allocations: 255.8 kB / 0.5989 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/1.304, allocations: 2.701 MB / 0.6016 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.304, allocations: 18.62 kB / 0.6016 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.304, allocations: 3.688 kB / 0.6016 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/1.304, allocations: 14.5 kB / 0.6016 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.316, allocations: 5.834 MB / 0.6073 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.316, allocations: 3.875 kB / 0.6073 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00143/1.317, allocations: 240.7 kB / 0.6075 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/1.319, allocations: 0.6459 MB / 0.6082 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001562/1.32, allocations: 35.12 kB / 0.6082 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/1.335, allocations: 12.53 MB / 0.6204 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.335, allocations: 0 / 0.6204 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006712/1.341, allocations: 3.896 MB / 0.6242 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/1.343, allocations: 0.4969 MB / 0.6247 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004737/1.343, allocations: 45.56 kB / 0.6248 GB, free: 12.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/1.345, allocations: 85.66 kB / 0.6248 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/1.345, allocations: 131.9 kB / 0.625 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.345, allocations: 49.7 kB / 0.625 GB, free: 12.46 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002702/1.348, allocations: 1.434 MB / 0.6264 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.29e-07/1.348, allocations: 3.938 kB / 0.6264 GB, free: 11.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005057/1.353, allocations: 1.336 MB / 0.6277 GB, free: 11.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 {(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.0008226/1.354, allocations: 0.5051 MB / 0.6282 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008026/1.362, allocations: 4.557 MB / 0.6327 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/1.362, allocations: 1.562 kB / 0.6327 GB, free: 6.887 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003501/1.366, allocations: 1.864 MB / 0.6345 GB, free: 5.109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/1.369, allocations: 0.6252 MB / 0.6351 GB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.382, allocations: 5.553 MB / 0.6405 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003241/1.385, allocations: 2.573 MB / 0.643 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004216/1.389, allocations: 0.8407 MB / 0.6439 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/1.39, allocations: 115.4 kB / 0.644 GB, free: 13.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.766e-06/1.39, allocations: 0 / 0.644 GB, free: 13.03 MB / 426.7 MB Notification: Performance of Templates: time 0.3604/1.75, allocations: 48.05 MB / 0.6909 GB, free: 73.03 MB / 426.7 MB