Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.867e-05/3.884e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2627, allocations: 38.77 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.7108, allocations: 115.8 MB / 379.7 MB, free: 48.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/0.7112, allocations: 83.5 kB / 379.8 MB, free: 48.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2288/0.94, allocations: 55.6 MB / 435.4 MB, free: 30.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.94, allocations: 4 kB / 435.4 MB, free: 30.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003519/0.9404, allocations: 63.94 kB / 435.4 MB, free: 30.22 MB / 314.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.009479/0.9499, allocations: 2.575 MB / 438 MB, free: 27.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.95, allocations: 8.031 kB / 438 MB, free: 27.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001432/0.9514, allocations: 342.8 kB / 438.4 MB, free: 27.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.9544, allocations: 424.5 kB / 438.8 MB, free: 27.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.9602, allocations: 1.727 MB / 440.5 MB, free: 25.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.9605, allocations: 178 kB / 440.7 MB, free: 25.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.9616, allocations: 246.2 kB / 440.9 MB, free: 25.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009858/0.9715, allocations: 2.938 MB / 443.9 MB, free: 22.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.9717, allocations: 11.91 kB / 443.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008433/0.9726, allocations: 104 kB / 444 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/0.9727, allocations: 104.5 kB / 444.1 MB, free: 22.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00774/0.9805, allocations: 2.345 MB / 446.4 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02725/1.008, allocations: 10.08 MB / 456.5 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005341/1.013, allocations: 2.718 MB / 459.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002817/1.016, allocations: 1.116 MB / 460.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005934/1.017, allocations: 134.4 kB / 460.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.889e-05/1.017, allocations: 59.83 kB / 460.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 4.489e-06/1.017, allocations: 0 / 460.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.0307/1.048, allocations: 7.314 MB / 467.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/1.048, allocations: 201.9 kB / 468 MB, free: 13.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004888/1.053, allocations: 1.581 MB / 469.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004841/1.053, allocations: 53.7 kB / 469.7 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.055, allocations: 1.141 MB / 470.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001104/1.056, allocations: 0.5892 MB / 471.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002637/1.056, allocations: 40 kB / 471.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002877/1.057, allocations: 381.9 kB / 471.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/1.06, allocations: 0.8786 MB / 472.7 MB, free: 8.984 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/1.063, allocations: 1.321 MB / 474 MB, free: 7.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003462/1.067, allocations: 1.087 MB / 475.1 MB, free: 6.402 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-05/1.067, allocations: 7.953 kB / 475.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.01168/1.078, allocations: 3.228 MB / 478.3 MB, free: 3.141 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/1.078, allocations: 23.88 kB / 478.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/1.079, allocations: 12 kB / 478.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004589/1.083, allocations: 0.9606 MB / 479.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.086, allocations: 367.4 kB / 479.7 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02551/1.112, allocations: 11.96 MB / 491.6 MB, free: 5.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/1.115, allocations: 119.8 kB / 491.8 MB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005679/1.115, allocations: 75.98 kB / 491.8 MB, free: 5.078 MB / 346.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.0006934/1.116, allocations: 216.5 kB / 492 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000846/1.117, allocations: 209.5 kB / 492.2 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.127, allocations: 2.917 MB / 495.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.127, allocations: 16 kB / 495.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/1.127, allocations: 11.98 kB / 495.2 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-05/1.127, allocations: 11.97 kB / 495.2 MB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02006/1.147, allocations: 5.841 MB / 0.4893 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/1.148, allocations: 4 kB / 0.4893 GB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002133/1.15, allocations: 220.1 kB / 0.4895 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005118/1.155, allocations: 1.019 MB / 0.4905 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004146/1.155, allocations: 47.98 kB / 0.4906 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3197/1.475, allocations: 13.66 MB / 0.5039 GB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.475, allocations: 2.5 kB / 0.5039 GB, free: 84.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.486, allocations: 4.353 MB / 0.5081 GB, free: 84.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001954/1.488, allocations: 493.6 kB / 0.5086 GB, free: 84.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008587/1.489, allocations: 43.72 kB / 0.5087 GB, free: 84.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.492, allocations: 107.2 kB / 0.5088 GB, free: 84.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000758/1.493, allocations: 139.4 kB / 0.5089 GB, free: 84.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/1.493, allocations: 45.95 kB / 0.5089 GB, free: 84.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00312/1.496, allocations: 1.215 MB / 0.5101 GB, free: 84.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.496, allocations: 0 / 0.5101 GB, free: 84.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004172/1.5, allocations: 0.7395 MB / 0.5108 GB, free: 84.07 MB / 362.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.01253/1.513, allocations: 5.699 MB / 0.5164 GB, free: 82.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008087/1.521, allocations: 3.102 MB / 0.5194 GB, free: 81.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/1.521, allocations: 9.469 kB / 0.5194 GB, free: 81.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005505/1.527, allocations: 2.094 MB / 0.5215 GB, free: 81.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00448/1.531, allocations: 0.5175 MB / 0.522 GB, free: 81.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/1.549, allocations: 5.277 MB / 0.5271 GB, free: 80.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/1.553, allocations: 2.01 MB / 0.5291 GB, free: 79.42 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002469/1.555, allocations: 366.2 kB / 0.5295 GB, free: 79.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002359/1.558, allocations: 0.9683 MB / 0.5304 GB, free: 79.37 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/1.558, allocations: 0 / 0.5304 GB, free: 79.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1474/1.705, allocations: 60.5 MB / 0.5895 GB, free: 43.98 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001749/1.705, allocations: 227.6 kB / 0.5897 GB, free: 43.75 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.872/6.578, allocations: 0 / 0.5897 GB, free: 43.75 MB / 362.7 MB