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.931/1.931, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.802e-05/2.799e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3604, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/0.5781, allocations: 124.6 MB / 418.8 MB, free: 5.195 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5785, allocations: 87.89 kB / 418.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6066/1.185, allocations: 94.1 MB / 0.5009 GB, free: 38.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.185, allocations: 4 kB / 0.5009 GB, free: 38.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003959/1.186, allocations: 87.94 kB / 0.501 GB, free: 38.71 MB / 362.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.01498/1.201, allocations: 3.713 MB / 0.5047 GB, free: 34.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.201, allocations: 11.97 kB / 0.5047 GB, free: 34.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007485/1.208, allocations: 0.9005 MB / 0.5055 GB, free: 34.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01329/1.221, allocations: 3.582 MB / 0.509 GB, free: 30.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/1.222, allocations: 116 kB / 0.5092 GB, free: 30.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001336/1.223, allocations: 219.9 kB / 0.5094 GB, free: 30.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01058/1.234, allocations: 3.467 MB / 0.5128 GB, free: 26.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/1.247, allocations: 4.003 MB / 0.5167 GB, free: 22.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001489/1.247, allocations: 4 kB / 0.5167 GB, free: 22.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006095/1.248, allocations: 7.953 kB / 0.5167 GB, free: 22.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001754/1.248, allocations: 151.2 kB / 0.5168 GB, free: 22.31 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/1.286, allocations: 15.09 MB / 0.5316 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/1.296, allocations: 7.667 MB / 0.539 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004609/1.301, allocations: 1.633 MB / 0.5406 GB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/1.316, allocations: 4.884 MB / 0.5454 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/1.316, allocations: 52.56 kB / 0.5455 GB, free: 7.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=172): time 4.769e-06/1.316, allocations: 4 kB / 0.5455 GB, free: 7.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01663/1.332, allocations: 5.194 MB / 0.5505 GB, free: 2.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.333, allocations: 176.2 kB / 0.5507 GB, free: 2.027 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/1.336, allocations: 1.55 MB / 0.5522 GB, free: 456 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000387/1.337, allocations: 29.7 kB / 0.5522 GB, free: 420 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2713/1.608, allocations: 1.672 MB / 0.5539 GB, free: 61.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008897/1.609, allocations: 0.5722 MB / 0.5544 GB, free: 61.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/1.609, allocations: 0 / 0.5544 GB, free: 61.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/1.609, allocations: 392.5 kB / 0.5548 GB, free: 60.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/1.611, allocations: 0.7573 MB / 0.5555 GB, free: 60.9 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/1.614, allocations: 1.374 MB / 0.5569 GB, free: 60.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/1.617, allocations: 1.151 MB / 0.558 GB, free: 60.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.52e-05/1.617, allocations: 5.5 kB / 0.558 GB, free: 60.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008152/1.625, allocations: 2.839 MB / 0.5608 GB, free: 59.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001568/1.627, allocations: 7.537 MB / 0.5682 GB, free: 52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/1.627, allocations: 19.53 kB / 0.5682 GB, free: 52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/1.629, allocations: 462.9 kB / 0.5686 GB, free: 51.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003526/1.633, allocations: 479 kB / 0.5691 GB, free: 51.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/1.641, allocations: 7.773 MB / 0.5767 GB, free: 46.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/1.644, allocations: 55.3 kB / 0.5767 GB, free: 46.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/1.644, allocations: 88.06 kB / 0.5768 GB, free: 46.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.645, allocations: 3.75 kB / 0.5768 GB, free: 46.84 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006556/1.651, allocations: 2.583 MB / 0.5793 GB, free: 46.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.86e-05/1.651, allocations: 22.66 kB / 0.5793 GB, free: 46.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/1.653, allocations: 461.6 kB / 0.5798 GB, free: 46.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/1.656, allocations: 468 kB / 0.5802 GB, free: 46.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008711/1.665, allocations: 7.792 MB / 0.5878 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.668, allocations: 37.09 kB / 0.5879 GB, free: 41.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004148/1.668, allocations: 95.02 kB / 0.588 GB, free: 41.48 MB / 378.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.0006244/1.669, allocations: 163.6 kB / 0.5881 GB, free: 41.38 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006729/1.675, allocations: 2.547 MB / 0.5906 GB, free: 40.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009337/1.676, allocations: 232.8 kB / 0.5908 GB, free: 40.81 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007395/1.684, allocations: 2.65 MB / 0.5934 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/1.684, allocations: 14.25 kB / 0.5934 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.684, allocations: 10.8 kB / 0.5934 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-05/1.684, allocations: 13.45 kB / 0.5935 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/1.697, allocations: 5.328 MB / 0.5987 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.697, allocations: 5.469 kB / 0.5987 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.699, allocations: 242.1 kB / 0.5989 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/1.702, allocations: 0.6353 MB / 0.5995 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002218/1.702, allocations: 21.2 kB / 0.5995 GB, free: 39.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/1.716, allocations: 12.07 MB / 0.6113 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/1.716, allocations: 0 / 0.6113 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008188/1.724, allocations: 3.843 MB / 0.6151 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.726, allocations: 481.9 kB / 0.6155 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005864/1.726, allocations: 9.969 kB / 0.6156 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/1.728, allocations: 60.66 kB / 0.6156 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/1.729, allocations: 135.1 kB / 0.6157 GB, free: 30.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.729, allocations: 47.06 kB / 0.6158 GB, free: 30.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002515/1.732, allocations: 1.152 MB / 0.6169 GB, free: 30.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/1.732, allocations: 0 / 0.6169 GB, free: 30.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007322/1.739, allocations: 1.159 MB / 0.618 GB, free: 30.84 MB / 378.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.009933/1.749, allocations: 5.16 MB / 0.6231 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.009191/1.758, allocations: 4.432 MB / 0.6274 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.758, allocations: 0 / 0.6274 GB, free: 25.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003981/1.762, allocations: 1.831 MB / 0.6292 GB, free: 24.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004197/1.766, allocations: 494.6 kB / 0.6297 GB, free: 24.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01885/1.785, allocations: 6.247 MB / 0.6358 GB, free: 22.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/1.789, allocations: 2.569 MB / 0.6383 GB, free: 21.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005367/1.794, allocations: 0.7585 MB / 0.639 GB, free: 21.03 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/1.797, allocations: 1.325 MB / 0.6403 GB, free: 19.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.966e-06/1.797, allocations: 0 / 0.6403 GB, free: 19.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1809/1.978, allocations: 62.54 MB / 0.7014 GB, free: 4.219 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004088/1.978, allocations: 167.2 kB / 0.7015 GB, free: 4.023 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.673/7.651, allocations: 4 kB / 0.7016 GB, free: 4.02 MB / 410.7 MB