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 1.824/1.824, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.063e-05, allocations: 8 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07817/0.07822, allocations: 44.49 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.4707, allocations: 125.2 MB / 425.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.471, allocations: 85.62 kB / 425.1 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5873/1.058, allocations: 95.3 MB / 0.5082 GB, free: 57.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.058, allocations: 1.531 kB / 0.5082 GB, free: 57.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004398/1.059, allocations: 98.92 kB / 0.5083 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.01426/1.073, allocations: 3.699 MB / 0.512 GB, free: 56.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.073, allocations: 9.125 kB / 0.512 GB, free: 56.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007347/1.081, allocations: 0.8969 MB / 0.5128 GB, free: 56.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01299/1.094, allocations: 3.591 MB / 0.5163 GB, free: 56.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003883/1.094, allocations: 272 kB / 0.5166 GB, free: 56.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/1.095, allocations: 368.2 kB / 0.517 GB, free: 56.14 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/1.109, allocations: 4.526 MB / 0.5214 GB, free: 55.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002096/1.109, allocations: 5.328 kB / 0.5214 GB, free: 55.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001353/1.11, allocations: 157.8 kB / 0.5215 GB, free: 55.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002981/1.111, allocations: 151.1 kB / 0.5217 GB, free: 55.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01098/1.122, allocations: 3.686 MB / 0.5253 GB, free: 55.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/1.158, allocations: 15.78 MB / 0.5407 GB, free: 52.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008664/1.166, allocations: 7.773 MB / 0.5483 GB, free: 46.85 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003885/1.17, allocations: 1.722 MB / 0.55 GB, free: 46.83 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01256/1.183, allocations: 5.032 MB / 0.5549 GB, free: 45.14 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/1.183, allocations: 55.41 kB / 0.5549 GB, free: 45.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 5.781e-06/1.183, allocations: 0 / 0.5549 GB, free: 45.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=175): time 0.0168/1.2, allocations: 5.034 MB / 0.5598 GB, free: 42.53 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/1.2, allocations: 178.3 kB / 0.56 GB, free: 42.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006381/1.206, allocations: 1.882 MB / 0.5619 GB, free: 41.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004073/1.207, allocations: 56.8 kB / 0.5619 GB, free: 41.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/1.208, allocations: 1.583 MB / 0.5635 GB, free: 40.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009197/1.209, allocations: 0.5889 MB / 0.564 GB, free: 39.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/1.21, allocations: 52.2 kB / 0.5641 GB, free: 39.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/1.21, allocations: 399.4 kB / 0.5645 GB, free: 39.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/1.213, allocations: 0.7944 MB / 0.5652 GB, free: 39.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003419/1.216, allocations: 1.424 MB / 0.5666 GB, free: 38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/1.22, allocations: 1.048 MB / 0.5676 GB, free: 37.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-05/1.22, allocations: 3.531 kB / 0.5677 GB, free: 37.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009785/1.23, allocations: 2.791 MB / 0.5704 GB, free: 36.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001725/1.231, allocations: 7.228 MB / 0.5774 GB, free: 28.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.734e-05/1.231, allocations: 24.75 kB / 0.5775 GB, free: 28.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/1.233, allocations: 471.9 kB / 0.5779 GB, free: 28.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/1.235, allocations: 479 kB / 0.5784 GB, free: 28.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009453/1.245, allocations: 8.046 MB / 0.5862 GB, free: 22.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.248, allocations: 100.8 kB / 0.5863 GB, free: 22.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004632/1.248, allocations: 90.47 kB / 0.5864 GB, free: 22.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.248, allocations: 7.891 kB / 0.5864 GB, free: 22.17 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006036/1.254, allocations: 2.699 MB / 0.589 GB, free: 21.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.425e-05/1.254, allocations: 21.38 kB / 0.5891 GB, free: 21.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/1.256, allocations: 467.7 kB / 0.5895 GB, free: 21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.258, allocations: 474.4 kB / 0.59 GB, free: 20.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008792/1.267, allocations: 8.09 MB / 0.5979 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/1.268, allocations: 88.92 kB / 0.598 GB, free: 30.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003299/1.269, allocations: 89.45 kB / 0.598 GB, free: 30.42 MB / 410.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.000611/1.269, allocations: 248.3 kB / 0.5983 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/1.27, allocations: 251.7 kB / 0.5985 GB, free: 30.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/1.276, allocations: 2.712 MB / 0.6012 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/1.276, allocations: 18.72 kB / 0.6012 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.276, allocations: 7.812 kB / 0.6012 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.943e-05/1.276, allocations: 7.125 kB / 0.6012 GB, free: 28.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.29, allocations: 5.831 MB / 0.6069 GB, free: 26.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-05/1.29, allocations: 6.938 kB / 0.6069 GB, free: 26.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/1.291, allocations: 242.9 kB / 0.6071 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/1.294, allocations: 0.6465 MB / 0.6078 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002905/1.294, allocations: 46.27 kB / 0.6078 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.31, allocations: 12.52 MB / 0.62 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.31, allocations: 3.812 kB / 0.62 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007531/1.318, allocations: 3.903 MB / 0.6238 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001726/1.32, allocations: 0.4943 MB / 0.6243 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008761/1.32, allocations: 44.17 kB / 0.6244 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.323, allocations: 82.22 kB / 0.6245 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/1.323, allocations: 137.5 kB / 0.6246 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.323, allocations: 55.72 kB / 0.6246 GB, free: 13.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003264/1.327, allocations: 1.434 MB / 0.626 GB, free: 12.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.18e-06/1.327, allocations: 4 kB / 0.626 GB, free: 12.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007493/1.334, allocations: 1.317 MB / 0.6273 GB, free: 12.52 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.001133/1.335, allocations: 0.4895 MB / 0.6278 GB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009133/1.345, allocations: 4.619 MB / 0.6323 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.345, allocations: 0 / 0.6323 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004288/1.349, allocations: 1.92 MB / 0.6342 GB, free: 5.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004107/1.353, allocations: 0.631 MB / 0.6348 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.369, allocations: 5.5 MB / 0.6402 GB, free: 416 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005328/1.374, allocations: 2.576 MB / 0.6427 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009017/1.375, allocations: 163 kB / 0.6428 GB, free: 14.44 MB / 426.7 MB Notification: Performance of SimCode: time 2.036e-06/1.375, allocations: 4 kB / 0.6429 GB, free: 14.44 MB / 426.7 MB Notification: Performance of Templates: time 0.4251/1.8, allocations: 139.6 MB / 0.7792 GB, free: 30.93 MB / 426.7 MB