Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.955e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09122/0.09127, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.5573, allocations: 120.7 MB / 420.7 MB, free: 4.613 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5576, allocations: 80.98 kB / 420.8 MB, free: 4.602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2584/0.8161, allocations: 55.02 MB / 475.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.8161, allocations: 0 / 475.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003928/0.8166, allocations: 71.88 kB / 475.9 MB, free: 8.473 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: 610 * Number of variables: 610 Notification: Performance of Generate backend data structure: time 0.01051/0.8271, allocations: 2.557 MB / 478.4 MB, free: 5.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.8272, allocations: 8.031 kB / 478.4 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001804/0.829, allocations: 337.5 kB / 478.7 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004113/0.8331, allocations: 432.3 kB / 479.2 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009055/0.8422, allocations: 1.711 MB / 480.9 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003796/0.8427, allocations: 168.7 kB / 481 MB, free: 3.16 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001326/0.844, allocations: 243.9 kB / 481.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01306/0.8571, allocations: 2.907 MB / 484.2 MB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.8573, allocations: 7.906 kB / 484.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000613/0.8579, allocations: 100 kB / 484.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.8582, allocations: 96.55 kB / 484.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.8692, allocations: 2.32 MB / 486.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03999/0.9093, allocations: 10.08 MB / 496.8 MB, free: 2.934 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00682/0.9162, allocations: 2.696 MB / 499.5 MB, free: 64 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.9194, allocations: 1.105 MB / 0.4889 GB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.92, allocations: 142.3 kB / 0.489 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.9201, allocations: 51.81 kB / 0.489 GB, free: 14.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 4.088e-06/0.9201, allocations: 0 / 0.489 GB, free: 14.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.03305/0.9532, allocations: 7.312 MB / 0.4962 GB, free: 7.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.9534, allocations: 180.2 kB / 0.4964 GB, free: 7.152 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004654/0.9581, allocations: 1.577 MB / 0.4979 GB, free: 5.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004535/0.9586, allocations: 57.7 kB / 0.498 GB, free: 5.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/0.9602, allocations: 1.142 MB / 0.4991 GB, free: 4.309 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00109/0.9613, allocations: 0.5814 MB / 0.4996 GB, free: 3.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.9616, allocations: 40 kB / 0.4997 GB, free: 3.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003021/0.9619, allocations: 385.8 kB / 0.5 GB, free: 3.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00275/0.9647, allocations: 0.8825 MB / 0.5009 GB, free: 2.414 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003356/0.9681, allocations: 1.301 MB / 0.5022 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.9714, allocations: 1.091 MB / 0.5032 GB, free: 15.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/0.9715, allocations: 4 kB / 0.5032 GB, free: 15.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01099/0.9825, allocations: 3.205 MB / 0.5064 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002208/0.9848, allocations: 4.701 MB / 0.511 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.464e-05/0.9849, allocations: 12 kB / 0.511 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004564/0.9894, allocations: 0.9565 MB / 0.5119 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/0.9925, allocations: 367.4 kB / 0.5123 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2901/1.283, allocations: 11.95 MB / 0.5239 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003039/1.286, allocations: 114.4 kB / 0.524 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005431/1.286, allocations: 73.73 kB / 0.5241 GB, free: 94.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.286, allocations: 6.344 kB / 0.5241 GB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009727/1.296, allocations: 2.993 MB / 0.527 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.279e-05/1.296, allocations: 16.73 kB / 0.5271 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004418/1.301, allocations: 0.9628 MB / 0.528 GB, free: 94.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.304, allocations: 357.3 kB / 0.5283 GB, free: 94.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02065/1.324, allocations: 11.97 MB / 0.54 GB, free: 89.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/1.327, allocations: 103.9 kB / 0.5401 GB, free: 89.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005264/1.328, allocations: 74.38 kB / 0.5402 GB, free: 89.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (189): * Single equations (assignments): 182 * 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 {(6,72.2%) 27} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005832/1.328, allocations: 212.2 kB / 0.5404 GB, free: 89.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007149/1.329, allocations: 218 kB / 0.5406 GB, free: 89.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008196/1.337, allocations: 2.914 MB / 0.5435 GB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/1.337, allocations: 15.78 kB / 0.5435 GB, free: 88.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-05/1.337, allocations: 14.12 kB / 0.5435 GB, free: 88.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/1.338, allocations: 7.688 kB / 0.5435 GB, free: 88.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/1.355, allocations: 5.816 MB / 0.5492 GB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.15e-05/1.355, allocations: 11.11 kB / 0.5492 GB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/1.357, allocations: 222.9 kB / 0.5494 GB, free: 88.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00448/1.361, allocations: 1.028 MB / 0.5504 GB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004077/1.362, allocations: 38.95 kB / 0.5504 GB, free: 88.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/1.383, allocations: 13.66 MB / 0.5638 GB, free: 79.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.383, allocations: 0 / 0.5638 GB, free: 79.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/1.394, allocations: 4.359 MB / 0.568 GB, free: 77.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.396, allocations: 492.3 kB / 0.5685 GB, free: 77.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008232/1.397, allocations: 43.14 kB / 0.5685 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.4, allocations: 99.38 kB / 0.5686 GB, free: 77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007239/1.4, allocations: 149.6 kB / 0.5688 GB, free: 76.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.401, allocations: 47.89 kB / 0.5688 GB, free: 76.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003105/1.404, allocations: 1.209 MB / 0.57 GB, free: 76.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.72e-07/1.404, allocations: 0 / 0.57 GB, free: 76.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006844/1.411, allocations: 1.188 MB / 0.5712 GB, free: 76.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 12 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],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 (114): * Single equations (assignments): 109 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,75.0%) 27,(2,100.0%) 4} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01252/1.423, allocations: 5.702 MB / 0.5767 GB, free: 73.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01349/1.437, allocations: 5.283 MB / 0.5819 GB, free: 70.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.437, allocations: 2.344 kB / 0.5819 GB, free: 70.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00534/1.442, allocations: 2.043 MB / 0.5839 GB, free: 69.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/1.447, allocations: 0.5252 MB / 0.5844 GB, free: 69.58 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/1.464, allocations: 5.319 MB / 0.5896 GB, free: 67.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002848/1.467, allocations: 2.032 MB / 0.5916 GB, free: 66.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00466/1.472, allocations: 0.6884 MB / 0.5923 GB, free: 66.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/1.474, allocations: 0.9492 MB / 0.5932 GB, free: 65.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/1.474, allocations: 0 / 0.5932 GB, free: 65.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/1.637, allocations: 68.72 MB / 0.6603 GB, free: 9.59 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.637, allocations: 222.4 kB / 0.6605 GB, free: 9.355 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.806/7.443, allocations: 0 / 0.6605 GB, free: 9.355 MB / 410.7 MB