Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.474e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09434, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.5691, allocations: 125.2 MB / 425.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5695, allocations: 83.67 kB / 425.3 MB, free: 2.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3672/0.9367, allocations: 95.3 MB / 0.5084 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.139e-06/0.9367, allocations: 4 kB / 0.5084 GB, free: 11.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004025/0.9371, allocations: 95.81 kB / 0.5085 GB, free: 11.21 MB / 410.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.01593/0.9531, allocations: 3.713 MB / 0.5121 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.9532, allocations: 8.031 kB / 0.5121 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001945/0.9551, allocations: 0.4944 MB / 0.5126 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007878/0.963, allocations: 0.9044 MB / 0.5135 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.9775, allocations: 3.584 MB / 0.517 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.978, allocations: 271.3 kB / 0.5172 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001435/0.9794, allocations: 367.9 kB / 0.5176 GB, free: 1.746 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2914/1.271, allocations: 4.526 MB / 0.522 GB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/1.271, allocations: 8.375 kB / 0.522 GB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001074/1.272, allocations: 151.6 kB / 0.5221 GB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003061/1.273, allocations: 154.1 kB / 0.5223 GB, free: 68.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/1.286, allocations: 3.684 MB / 0.5259 GB, free: 68.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/1.328, allocations: 15.78 MB / 0.5413 GB, free: 65.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.338, allocations: 7.774 MB / 0.5489 GB, free: 59.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004221/1.342, allocations: 1.711 MB / 0.5506 GB, free: 59.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01916/1.361, allocations: 5.036 MB / 0.5555 GB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.24e-05/1.361, allocations: 53.62 kB / 0.5555 GB, free: 58.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=172): time 4.439e-06/1.362, allocations: 0 / 0.5555 GB, free: 58.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01238/1.374, allocations: 5.036 MB / 0.5605 GB, free: 57.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/1.374, allocations: 184.1 kB / 0.5606 GB, free: 57.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/1.378, allocations: 1.885 MB / 0.5625 GB, free: 57.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00039/1.378, allocations: 59.48 kB / 0.5625 GB, free: 57.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/1.38, allocations: 1.68 MB / 0.5642 GB, free: 56.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007813/1.381, allocations: 0.5907 MB / 0.5647 GB, free: 56.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/1.381, allocations: 44.03 kB / 0.5648 GB, free: 56.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/1.381, allocations: 393.5 kB / 0.5652 GB, free: 55.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/1.383, allocations: 0.8013 MB / 0.5659 GB, free: 55.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/1.385, allocations: 1.422 MB / 0.5673 GB, free: 54.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/1.387, allocations: 1.046 MB / 0.5684 GB, free: 54.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.387, allocations: 3.969 kB / 0.5684 GB, free: 54.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.006855/1.394, allocations: 2.948 MB / 0.5712 GB, free: 53.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001864/1.396, allocations: 7.635 MB / 0.5787 GB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.649e-05/1.396, allocations: 17.38 kB / 0.5787 GB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/1.398, allocations: 467.4 kB / 0.5792 GB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003483/1.402, allocations: 481 kB / 0.5796 GB, free: 44.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/1.411, allocations: 8.045 MB / 0.5875 GB, free: 38.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002968/1.414, allocations: 107.4 kB / 0.5876 GB, free: 38.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/1.414, allocations: 87.25 kB / 0.5877 GB, free: 38.05 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/1.414, allocations: 3.5 kB / 0.5877 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006149/1.421, allocations: 2.703 MB / 0.5903 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.461e-05/1.421, allocations: 18.62 kB / 0.5903 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/1.422, allocations: 466.5 kB / 0.5908 GB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003302/1.425, allocations: 472.2 kB / 0.5912 GB, free: 36.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/1.435, allocations: 8.057 MB / 0.5991 GB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/1.438, allocations: 87.94 kB / 0.5992 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002972/1.438, allocations: 93.23 kB / 0.5993 GB, free: 30.34 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.0006135/1.439, allocations: 249.2 kB / 0.5995 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/1.439, allocations: 251.2 kB / 0.5997 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006763/1.446, allocations: 2.704 MB / 0.6024 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.446, allocations: 15.09 kB / 0.6024 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.446, allocations: 3.688 kB / 0.6024 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.385e-05/1.446, allocations: 15.41 kB / 0.6024 GB, free: 28.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/1.461, allocations: 5.836 MB / 0.6081 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.441e-05/1.461, allocations: 7.641 kB / 0.6081 GB, free: 26.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.463, allocations: 243 kB / 0.6083 GB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/1.466, allocations: 0.6431 MB / 0.609 GB, free: 25.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/1.466, allocations: 44.92 kB / 0.609 GB, free: 25.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0151/1.481, allocations: 12.52 MB / 0.6212 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.481, allocations: 3.594 kB / 0.6212 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/1.489, allocations: 3.902 MB / 0.625 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.491, allocations: 0.4977 MB / 0.6255 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000469/1.492, allocations: 42.59 kB / 0.6256 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.494, allocations: 88.92 kB / 0.6257 GB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000422/1.494, allocations: 130.6 kB / 0.6258 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.494, allocations: 50.42 kB / 0.6258 GB, free: 13.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003032/1.497, allocations: 1.435 MB / 0.6272 GB, free: 12.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.497, allocations: 0 / 0.6272 GB, free: 12.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006239/1.503, allocations: 1.332 MB / 0.6285 GB, free: 12.62 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.009632/1.513, allocations: 5.277 MB / 0.6337 GB, free: 25.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009224/1.522, allocations: 4.686 MB / 0.6383 GB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.522, allocations: 3.469 kB / 0.6383 GB, free: 23.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003895/1.526, allocations: 1.925 MB / 0.6401 GB, free: 21.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004624/1.531, allocations: 0.623 MB / 0.6408 GB, free: 21.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.549, allocations: 6.469 MB / 0.6471 GB, free: 17.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/1.551, allocations: 2.568 MB / 0.6496 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005021/1.556, allocations: 0.8302 MB / 0.6504 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002346/1.559, allocations: 1.336 MB / 0.6517 GB, free: 13.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/1.559, allocations: 3.938 kB / 0.6517 GB, free: 13.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5852/2.144, allocations: 74.07 MB / 0.724 GB, free: 69.64 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/2.144, allocations: 220.7 kB / 0.7242 GB, free: 69.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/8.43, allocations: 0 / 0.7242 GB, free: 69.4 MB / 426.7 MB