Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.781e-05, allocations: 0 / 292.2 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 50.41 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.491/0.5921, allocations: 126.4 MB / 469 MB, free: 336 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.5925, allocations: 83.39 kB / 469.1 MB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2448/0.8373, allocations: 55.6 MB / 0.5124 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.8373, allocations: 0 / 0.5124 GB, free: 12.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002787/0.8376, allocations: 60 kB / 0.5125 GB, free: 12.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 617 * Number of variables: 617 Notification: Performance of Generate backend data structure: time 0.008997/0.8466, allocations: 2.593 MB / 0.515 GB, free: 9.469 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.8467, allocations: 8.031 kB / 0.515 GB, free: 9.461 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000983/0.8477, allocations: 345.7 kB / 0.5153 GB, free: 9.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.85, allocations: 436 kB / 0.5157 GB, free: 8.684 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005485/0.8555, allocations: 1.73 MB / 0.5174 GB, free: 6.898 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.8557, allocations: 184.8 kB / 0.5176 GB, free: 6.715 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006594/0.8564, allocations: 243.9 kB / 0.5178 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007819/0.8642, allocations: 2.932 MB / 0.5207 GB, free: 3.387 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.466e-05/0.8644, allocations: 15.83 kB / 0.5207 GB, free: 3.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003743/0.8648, allocations: 100 kB / 0.5208 GB, free: 3.273 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.8649, allocations: 100.6 kB / 0.5209 GB, free: 3.172 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006926/0.8719, allocations: 2.328 MB / 0.5232 GB, free: 0.8359 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3312/1.203, allocations: 10.29 MB / 0.5332 GB, free: 101.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005046/1.208, allocations: 2.689 MB / 0.5359 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/1.211, allocations: 1.107 MB / 0.5369 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004594/1.211, allocations: 139.4 kB / 0.5371 GB, free: 100.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/1.211, allocations: 53.56 kB / 0.5371 GB, free: 100.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=152): time 4.659e-06/1.211, allocations: 6.75 kB / 0.5371 GB, free: 100.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=175): time 0.02782/1.239, allocations: 7.346 MB / 0.5443 GB, free: 99.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/1.239, allocations: 176.9 kB / 0.5445 GB, free: 99.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003624/1.243, allocations: 1.603 MB / 0.546 GB, free: 99.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000398/1.243, allocations: 59.64 kB / 0.5461 GB, free: 99.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009553/1.244, allocations: 1.162 MB / 0.5472 GB, free: 98.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000712/1.245, allocations: 0.5868 MB / 0.5478 GB, free: 98.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/1.245, allocations: 42.97 kB / 0.5478 GB, free: 98.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/1.245, allocations: 385.3 kB / 0.5482 GB, free: 98.19 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/1.247, allocations: 0.8835 MB / 0.5491 GB, free: 98.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/1.25, allocations: 1.321 MB / 0.5504 GB, free: 97.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/1.252, allocations: 1.084 MB / 0.5514 GB, free: 97.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/1.252, allocations: 3.812 kB / 0.5514 GB, free: 97.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=251) (initialization): time 0.008021/1.26, allocations: 3.238 MB / 0.5546 GB, free: 97.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009813/1.261, allocations: 4.9 MB / 0.5594 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/1.261, allocations: 13.78 kB / 0.5594 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003927/1.265, allocations: 0.9525 MB / 0.5603 GB, free: 91.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/1.268, allocations: 373.4 kB / 0.5607 GB, free: 91.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01876/1.287, allocations: 11.98 MB / 0.5724 GB, free: 83.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003022/1.29, allocations: 110.4 kB / 0.5725 GB, free: 83.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/1.29, allocations: 77.03 kB / 0.5726 GB, free: 83.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.29, allocations: 3.906 kB / 0.5726 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007707/1.298, allocations: 3.026 MB / 0.5755 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.726e-05/1.298, allocations: 11.34 kB / 0.5755 GB, free: 82.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/1.302, allocations: 0.959 MB / 0.5765 GB, free: 82.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/1.304, allocations: 369.5 kB / 0.5768 GB, free: 82.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01879/1.323, allocations: 11.96 MB / 0.5885 GB, free: 74.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002818/1.326, allocations: 98.83 kB / 0.5886 GB, free: 74.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/1.326, allocations: 76.16 kB / 0.5887 GB, free: 74.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 185 * 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.0005582/1.327, allocations: 226.1 kB / 0.5889 GB, free: 74.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006486/1.328, allocations: 217.4 kB / 0.5891 GB, free: 73.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00731/1.335, allocations: 2.93 MB / 0.5919 GB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/1.335, allocations: 17.75 kB / 0.592 GB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.335, allocations: 6.312 kB / 0.592 GB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.984e-05/1.335, allocations: 7.641 kB / 0.592 GB, free: 72.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/1.351, allocations: 5.859 MB / 0.5977 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.301e-05/1.351, allocations: 0 / 0.5977 GB, free: 70.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.353, allocations: 224 kB / 0.5979 GB, free: 70.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004223/1.357, allocations: 1.021 MB / 0.5989 GB, free: 70.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/1.357, allocations: 46.27 kB / 0.5989 GB, free: 70.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02479/1.382, allocations: 13.67 MB / 0.6123 GB, free: 60.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.382, allocations: 6.188 kB / 0.6123 GB, free: 60.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01003/1.392, allocations: 4.4 MB / 0.6166 GB, free: 57.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/1.394, allocations: 494.9 kB / 0.6171 GB, free: 57.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005077/1.394, allocations: 43.42 kB / 0.6171 GB, free: 57.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002147/1.397, allocations: 103.7 kB / 0.6172 GB, free: 57.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004381/1.397, allocations: 145.5 kB / 0.6174 GB, free: 57.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.397, allocations: 51.83 kB / 0.6174 GB, free: 57.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002481/1.4, allocations: 1.233 MB / 0.6186 GB, free: 56 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.2e-07/1.4, allocations: 0 / 0.6186 GB, free: 56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005277/1.405, allocations: 1.202 MB / 0.6198 GB, free: 54.82 MB / 442.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 (115): * Single equations (assignments): 110 * 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,72.2%) 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.01066/1.416, allocations: 5.739 MB / 0.6254 GB, free: 49.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01157/1.427, allocations: 5.315 MB / 0.6306 GB, free: 44.64 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.427, allocations: 4 kB / 0.6306 GB, free: 44.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004671/1.432, allocations: 2.035 MB / 0.6326 GB, free: 42.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/1.436, allocations: 0.5387 MB / 0.6331 GB, free: 42.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.451, allocations: 5.391 MB / 0.6384 GB, free: 37.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001992/1.453, allocations: 2.048 MB / 0.6404 GB, free: 36.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003763/1.457, allocations: 0.6947 MB / 0.641 GB, free: 35.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/1.459, allocations: 0.9596 MB / 0.642 GB, free: 34.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.459, allocations: 0 / 0.642 GB, free: 34.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4556/1.914, allocations: 69.25 MB / 0.7096 GB, free: 107.8 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/1.914, allocations: 223.3 kB / 0.7098 GB, free: 107.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.388/7.303, allocations: 0 / 0.7098 GB, free: 107.6 MB / 458.7 MB