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 2.01/2.01, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.966e-05/3.984e-05, allocations: 4 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09689, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/0.6032, allocations: 125.2 MB / 425.2 MB, free: 2.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.6036, allocations: 93.41 kB / 425.3 MB, free: 2.582 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3776/0.9812, allocations: 95.3 MB / 0.5084 GB, free: 11.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.9812, allocations: 0 / 0.5084 GB, free: 11.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004651/0.9817, allocations: 95.86 kB / 0.5085 GB, free: 11.07 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.01719/0.9989, allocations: 3.717 MB / 0.5121 GB, free: 7.289 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.11e-05/0.999, allocations: 8.031 kB / 0.5121 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002288/1.001, allocations: 0.4944 MB / 0.5126 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008188/1.01, allocations: 0.8966 MB / 0.5135 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01555/1.025, allocations: 3.584 MB / 0.517 GB, free: 2.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004711/1.026, allocations: 271.3 kB / 0.5172 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/1.028, allocations: 375.8 kB / 0.5176 GB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3448/1.372, allocations: 4.485 MB / 0.522 GB, free: 67.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001852/1.373, allocations: 5.312 kB / 0.522 GB, free: 67.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001244/1.374, allocations: 152.4 kB / 0.5221 GB, free: 67.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003055/1.374, allocations: 154.8 kB / 0.5223 GB, free: 67.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/1.388, allocations: 3.638 MB / 0.5258 GB, free: 67.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04459/1.433, allocations: 15.78 MB / 0.5412 GB, free: 64.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01554/1.448, allocations: 7.753 MB / 0.5488 GB, free: 58.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006261/1.455, allocations: 1.702 MB / 0.5505 GB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02066/1.475, allocations: 5.034 MB / 0.5554 GB, free: 57.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/1.476, allocations: 52.44 kB / 0.5554 GB, free: 57.69 MB / 410.7 MB Notification: Performance of pre-optimization done (n=172): time 6.723e-06/1.476, allocations: 0 / 0.5554 GB, free: 57.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=175): time 0.01999/1.496, allocations: 5.045 MB / 0.5604 GB, free: 56.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.496, allocations: 178 kB / 0.5605 GB, free: 56.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006634/1.502, allocations: 1.886 MB / 0.5624 GB, free: 56.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005605/1.503, allocations: 60.45 kB / 0.5624 GB, free: 56.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002246/1.505, allocations: 1.673 MB / 0.5641 GB, free: 55.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001171/1.506, allocations: 0.5923 MB / 0.5646 GB, free: 55.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/1.507, allocations: 44.53 kB / 0.5647 GB, free: 55.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/1.507, allocations: 392.9 kB / 0.5651 GB, free: 54.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003091/1.51, allocations: 0.8099 MB / 0.5659 GB, free: 54.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003846/1.514, allocations: 1.408 MB / 0.5672 GB, free: 53.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/1.518, allocations: 1.047 MB / 0.5683 GB, free: 53.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.776e-05/1.518, allocations: 3.406 kB / 0.5683 GB, free: 53.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01086/1.529, allocations: 2.895 MB / 0.5711 GB, free: 52.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002426/1.532, allocations: 7.639 MB / 0.5785 GB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.532, allocations: 20.19 kB / 0.5786 GB, free: 43.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00234/1.534, allocations: 463.7 kB / 0.579 GB, free: 43.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005738/1.54, allocations: 478.6 kB / 0.5795 GB, free: 43.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.554, allocations: 8.048 MB / 0.5873 GB, free: 37.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/1.557, allocations: 102.2 kB / 0.5874 GB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004583/1.558, allocations: 87.5 kB / 0.5875 GB, free: 37.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.558, allocations: 7.062 kB / 0.5875 GB, free: 37.08 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006495/1.564, allocations: 2.652 MB / 0.5901 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.654e-05/1.565, allocations: 19.38 kB / 0.5901 GB, free: 36.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/1.566, allocations: 467.3 kB / 0.5906 GB, free: 35.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/1.569, allocations: 473.1 kB / 0.591 GB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009632/1.579, allocations: 8.04 MB / 0.5989 GB, free: 29.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/1.582, allocations: 92.3 kB / 0.599 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005179/1.583, allocations: 86.72 kB / 0.599 GB, free: 29.39 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.0007489/1.584, allocations: 252 kB / 0.5993 GB, free: 29.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000791/1.584, allocations: 251.7 kB / 0.5995 GB, free: 29.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006932/1.591, allocations: 2.702 MB / 0.6022 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/1.591, allocations: 15.06 kB / 0.6022 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.471e-05/1.591, allocations: 10.14 kB / 0.6022 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/1.591, allocations: 11.59 kB / 0.6022 GB, free: 27.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01661/1.608, allocations: 5.828 MB / 0.6079 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/1.608, allocations: 3.781 kB / 0.6079 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00221/1.61, allocations: 244.5 kB / 0.6081 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002559/1.613, allocations: 0.6417 MB / 0.6087 GB, free: 25.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003045/1.613, allocations: 46.06 kB / 0.6088 GB, free: 24.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/1.629, allocations: 12.52 MB / 0.621 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.629, allocations: 5.719 kB / 0.621 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00844/1.637, allocations: 3.888 MB / 0.6248 GB, free: 12.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.639, allocations: 0.5008 MB / 0.6253 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000544/1.64, allocations: 38.97 kB / 0.6253 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.642, allocations: 81.55 kB / 0.6254 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/1.643, allocations: 143.2 kB / 0.6256 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.643, allocations: 51.33 kB / 0.6256 GB, free: 12.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002987/1.646, allocations: 1.432 MB / 0.627 GB, free: 11.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.646, allocations: 0 / 0.627 GB, free: 11.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006545/1.652, allocations: 1.326 MB / 0.6283 GB, free: 11.67 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.009894/1.662, allocations: 5.296 MB / 0.6335 GB, free: 24.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009643/1.672, allocations: 4.562 MB / 0.6379 GB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.165e-05/1.672, allocations: 0 / 0.6379 GB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00413/1.676, allocations: 1.869 MB / 0.6398 GB, free: 21.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/1.681, allocations: 0.6168 MB / 0.6404 GB, free: 20.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/1.701, allocations: 6.466 MB / 0.6467 GB, free: 16.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.704, allocations: 2.566 MB / 0.6492 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005404/1.71, allocations: 0.8422 MB / 0.65 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002701/1.713, allocations: 1.329 MB / 0.6513 GB, free: 13.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/1.713, allocations: 0 / 0.6513 GB, free: 13.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4818/2.194, allocations: 73.65 MB / 0.7232 GB, free: 68.54 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/2.195, allocations: 208.2 kB / 0.7234 GB, free: 68.32 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.118/8.313, allocations: 0 / 0.7234 GB, free: 68.32 MB / 426.7 MB