Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.438/2.438, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.684e-05, allocations: 3.875 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6201/0.7382, allocations: 124.6 MB / 418.8 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/0.7387, allocations: 81.02 kB / 418.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8738/1.612, allocations: 94.56 MB / 0.5014 GB, free: 68.35 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.207e-06/1.612, allocations: 0 / 0.5014 GB, free: 68.35 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008858/1.613, allocations: 88.52 kB / 0.5015 GB, free: 68.34 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.03419/1.648, allocations: 3.711 MB / 0.5051 GB, free: 67.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.268e-05/1.648, allocations: 11 kB / 0.5052 GB, free: 67.06 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003136/1.651, allocations: 368.2 kB / 0.5055 GB, free: 67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01912/1.67, allocations: 0.8957 MB / 0.5064 GB, free: 66.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03056/1.701, allocations: 3.59 MB / 0.5099 GB, free: 66.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005676/1.701, allocations: 154.9 kB / 0.51 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002479/1.704, allocations: 215.1 kB / 0.5102 GB, free: 66.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02446/1.728, allocations: 3.467 MB / 0.5136 GB, free: 66.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/1.758, allocations: 3.999 MB / 0.5175 GB, free: 65.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003585/1.758, allocations: 8.219 kB / 0.5175 GB, free: 65.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001825/1.76, allocations: 8.906 kB / 0.5175 GB, free: 65.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004409/1.761, allocations: 157.9 kB / 0.5177 GB, free: 65.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08939/1.85, allocations: 15.08 MB / 0.5324 GB, free: 62.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02196/1.872, allocations: 7.661 MB / 0.5399 GB, free: 56.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008662/1.881, allocations: 1.637 MB / 0.5415 GB, free: 56.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02851/1.909, allocations: 4.893 MB / 0.5463 GB, free: 54.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.637e-05/1.909, allocations: 54.09 kB / 0.5463 GB, free: 54.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 1.253e-05/1.909, allocations: 3.781 kB / 0.5463 GB, free: 54.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=175): time 0.03248/1.942, allocations: 5.185 MB / 0.5514 GB, free: 52.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.942, allocations: 177.7 kB / 0.5516 GB, free: 51.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007507/1.95, allocations: 1.556 MB / 0.5531 GB, free: 51.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005637/1.95, allocations: 29.41 kB / 0.5531 GB, free: 51.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002548/1.953, allocations: 1.674 MB / 0.5547 GB, free: 49.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001299/1.954, allocations: 0.5703 MB / 0.5553 GB, free: 49.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/1.955, allocations: 0 / 0.5553 GB, free: 49.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003042/1.955, allocations: 393.3 kB / 0.5557 GB, free: 49.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003638/1.959, allocations: 0.7623 MB / 0.5564 GB, free: 48.78 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00459/1.963, allocations: 1.37 MB / 0.5578 GB, free: 47.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006699/1.97, allocations: 1.141 MB / 0.5589 GB, free: 47.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.792e-05/1.97, allocations: 6.844 kB / 0.5589 GB, free: 47.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01571/1.986, allocations: 2.852 MB / 0.5617 GB, free: 46.17 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002239/1.988, allocations: 7.537 MB / 0.569 GB, free: 38.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/1.988, allocations: 20.81 kB / 0.569 GB, free: 38.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/1.992, allocations: 464.6 kB / 0.5695 GB, free: 37.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006347/1.998, allocations: 482 kB / 0.57 GB, free: 37.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01665/2.015, allocations: 7.759 MB / 0.5775 GB, free: 31.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/2.019, allocations: 59.61 kB / 0.5776 GB, free: 31.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005931/2.019, allocations: 93.38 kB / 0.5777 GB, free: 31.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/2.02, allocations: 3.812 kB / 0.5777 GB, free: 31.7 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00976/2.029, allocations: 2.586 MB / 0.5802 GB, free: 30.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/2.03, allocations: 17.41 kB / 0.5802 GB, free: 30.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/2.032, allocations: 459.7 kB / 0.5807 GB, free: 30.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00636/2.039, allocations: 469.5 kB / 0.5811 GB, free: 30.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/2.051, allocations: 7.771 MB / 0.5887 GB, free: 24.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004185/2.055, allocations: 53.16 kB / 0.5887 GB, free: 24.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007059/2.056, allocations: 90.55 kB / 0.5888 GB, free: 24.36 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.0009574/2.057, allocations: 167.1 kB / 0.589 GB, free: 24.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/2.058, allocations: 233.4 kB / 0.5892 GB, free: 24.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/2.071, allocations: 2.653 MB / 0.5918 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/2.071, allocations: 19.28 kB / 0.5918 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.434e-05/2.071, allocations: 3.312 kB / 0.5918 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-05/2.071, allocations: 10.59 kB / 0.5918 GB, free: 22.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02463/2.096, allocations: 5.327 MB / 0.597 GB, free: 20.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.709e-05/2.096, allocations: 3.312 kB / 0.597 GB, free: 20.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004139/2.1, allocations: 243.6 kB / 0.5973 GB, free: 20.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004795/2.105, allocations: 0.6385 MB / 0.5979 GB, free: 20.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004995/2.106, allocations: 18.73 kB / 0.5979 GB, free: 20.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/2.133, allocations: 12.08 MB / 0.6097 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-05/2.133, allocations: 4 kB / 0.6097 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01646/2.149, allocations: 3.842 MB / 0.6135 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/2.152, allocations: 479.3 kB / 0.6139 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/2.153, allocations: 12 kB / 0.6139 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004192/2.158, allocations: 57.53 kB / 0.614 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009593/2.159, allocations: 129.9 kB / 0.6141 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004297/2.159, allocations: 51.89 kB / 0.6142 GB, free: 5.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004672/2.164, allocations: 1.151 MB / 0.6153 GB, free: 4.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.716e-06/2.164, allocations: 0 / 0.6153 GB, free: 4.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009014/2.173, allocations: 1.175 MB / 0.6164 GB, free: 3.004 MB / 394.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.01857/2.192, allocations: 5.172 MB / 0.6215 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04096/2.233, allocations: 4.432 MB / 0.6258 GB, free: 9.969 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.809e-05/2.233, allocations: 4 kB / 0.6258 GB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03164/2.264, allocations: 1.823 MB / 0.6276 GB, free: 8.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008831/2.273, allocations: 484.6 kB / 0.6281 GB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04159/2.315, allocations: 6.253 MB / 0.6342 GB, free: 2.402 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007156/2.322, allocations: 2.567 MB / 0.6367 GB, free: 428 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008496/2.331, allocations: 0.7901 MB / 0.6375 GB, free: 0 / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3869/2.718, allocations: 1.629 MB / 0.639 GB, free: 71.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.134e-06/2.718, allocations: 1.969 kB / 0.639 GB, free: 71.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2676/2.985, allocations: 64.87 MB / 0.7024 GB, free: 67.42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003558/2.986, allocations: 183.4 kB / 0.7026 GB, free: 67.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.29/10.28, allocations: 3 kB / 0.7026 GB, free: 67.21 MB / 410.7 MB