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.287/2.287, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.832e-05, allocations: 3.641 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5505/0.6587, allocations: 124.6 MB / 418.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005239/0.6593, allocations: 80.39 kB / 418.9 MB, free: 13.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7782/1.438, allocations: 94.1 MB / 0.501 GB, free: 67.81 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.438, allocations: 1.5 kB / 0.501 GB, free: 67.81 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005533/1.438, allocations: 94.94 kB / 0.5011 GB, free: 67.8 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.01827/1.456, allocations: 3.709 MB / 0.5047 GB, free: 66.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.457, allocations: 8.562 kB / 0.5047 GB, free: 66.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009053/1.466, allocations: 0.8974 MB / 0.5056 GB, free: 66.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/1.481, allocations: 3.588 MB / 0.5091 GB, free: 65.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/1.482, allocations: 117.3 kB / 0.5092 GB, free: 65.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/1.483, allocations: 223.5 kB / 0.5094 GB, free: 65.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01241/1.496, allocations: 3.466 MB / 0.5128 GB, free: 65.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01544/1.511, allocations: 4.002 MB / 0.5167 GB, free: 65.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001751/1.511, allocations: 11.22 kB / 0.5167 GB, free: 65.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008327/1.512, allocations: 3.812 kB / 0.5167 GB, free: 65.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002092/1.512, allocations: 152.5 kB / 0.5169 GB, free: 65.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04504/1.557, allocations: 15.08 MB / 0.5316 GB, free: 61.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01175/1.569, allocations: 7.662 MB / 0.5391 GB, free: 56.47 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/1.574, allocations: 1.639 MB / 0.5407 GB, free: 56.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01555/1.59, allocations: 4.883 MB / 0.5455 GB, free: 54.68 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.166e-05/1.59, allocations: 55 kB / 0.5455 GB, free: 54.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 6.442e-06/1.59, allocations: 0 / 0.5455 GB, free: 54.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=175): time 0.0178/1.608, allocations: 5.195 MB / 0.5506 GB, free: 52.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/1.608, allocations: 171.7 kB / 0.5508 GB, free: 51.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/1.612, allocations: 1.555 MB / 0.5523 GB, free: 51.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004499/1.612, allocations: 25.7 kB / 0.5523 GB, free: 51.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.614, allocations: 1.678 MB / 0.5539 GB, free: 49.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008473/1.615, allocations: 0.5738 MB / 0.5545 GB, free: 49.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/1.615, allocations: 4 kB / 0.5545 GB, free: 49.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/1.615, allocations: 392.8 kB / 0.5549 GB, free: 49.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/1.617, allocations: 0.7513 MB / 0.5556 GB, free: 48.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/1.62, allocations: 1.376 MB / 0.5569 GB, free: 47.72 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004062/1.624, allocations: 1.15 MB / 0.5581 GB, free: 47.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.734e-05/1.624, allocations: 6.594 kB / 0.5581 GB, free: 47.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009639/1.634, allocations: 2.844 MB / 0.5609 GB, free: 46.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001673/1.636, allocations: 7.536 MB / 0.5682 GB, free: 38.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/1.636, allocations: 19.25 kB / 0.5682 GB, free: 38.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00199/1.638, allocations: 466 kB / 0.5687 GB, free: 37.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004311/1.642, allocations: 477.3 kB / 0.5691 GB, free: 37.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/1.654, allocations: 7.782 MB / 0.5767 GB, free: 31.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.658, allocations: 54.88 kB / 0.5768 GB, free: 31.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007116/1.659, allocations: 90.98 kB / 0.5769 GB, free: 31.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.659, allocations: 3.812 kB / 0.5769 GB, free: 31.73 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009708/1.668, allocations: 2.583 MB / 0.5794 GB, free: 30.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/1.668, allocations: 18.28 kB / 0.5794 GB, free: 30.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001844/1.67, allocations: 460.6 kB / 0.5799 GB, free: 30.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/1.675, allocations: 478.8 kB / 0.5803 GB, free: 30.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/1.685, allocations: 7.764 MB / 0.5879 GB, free: 24.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003078/1.689, allocations: 49.69 kB / 0.5879 GB, free: 24.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/1.689, allocations: 89.97 kB / 0.588 GB, free: 24.4 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.0006795/1.69, allocations: 166.6 kB / 0.5882 GB, free: 24.28 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008064/1.698, allocations: 2.555 MB / 0.5907 GB, free: 23.17 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.699, allocations: 228.1 kB / 0.5909 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008818/1.708, allocations: 2.649 MB / 0.5935 GB, free: 21.87 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/1.708, allocations: 22 kB / 0.5935 GB, free: 21.87 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.708, allocations: 3.75 kB / 0.5935 GB, free: 21.87 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.976e-05/1.708, allocations: 7.078 kB / 0.5935 GB, free: 21.87 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.724, allocations: 5.335 MB / 0.5987 GB, free: 19.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/1.724, allocations: 0 / 0.5987 GB, free: 19.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/1.727, allocations: 244.8 kB / 0.599 GB, free: 19.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002922/1.73, allocations: 0.6382 MB / 0.5996 GB, free: 19.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003712/1.73, allocations: 14.92 kB / 0.5996 GB, free: 19.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/1.748, allocations: 12.08 MB / 0.6114 GB, free: 7.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/1.748, allocations: 8.094 kB / 0.6114 GB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/1.759, allocations: 3.829 MB / 0.6151 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.761, allocations: 475.3 kB / 0.6156 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001054/1.762, allocations: 15.09 kB / 0.6156 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/1.765, allocations: 60.95 kB / 0.6157 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008097/1.766, allocations: 131.9 kB / 0.6158 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/1.766, allocations: 44 kB / 0.6158 GB, free: 3.473 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003438/1.77, allocations: 1.158 MB / 0.617 GB, free: 2.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.77, allocations: 0 / 0.617 GB, free: 2.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009249/1.779, allocations: 1.159 MB / 0.6181 GB, free: 1.254 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.01674/1.796, allocations: 5.286 MB / 0.6233 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01386/1.81, allocations: 4.44 MB / 0.6276 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/1.81, allocations: 0 / 0.6276 GB, free: 8.465 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005594/1.816, allocations: 1.822 MB / 0.6294 GB, free: 6.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005384/1.821, allocations: 491.4 kB / 0.6298 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.847, allocations: 6.243 MB / 0.6359 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3412/2.189, allocations: 2.573 MB / 0.6385 GB, free: 71.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007503/2.196, allocations: 0.7632 MB / 0.6392 GB, free: 71.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/2.2, allocations: 1.324 MB / 0.6405 GB, free: 71.43 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/2.2, allocations: 0 / 0.6405 GB, free: 71.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2134/2.413, allocations: 62.55 MB / 0.7016 GB, free: 67.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003009/2.414, allocations: 175.2 kB / 0.7017 GB, free: 67.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.59/9.004, allocations: 0 / 0.7017 GB, free: 67.79 MB / 410.7 MB