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 2.026/2.026, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.93e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09346/0.09352, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4945/0.5881, allocations: 120.7 MB / 420.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000387/0.5886, allocations: 92.48 kB / 420.7 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2786/0.8671, allocations: 55.01 MB / 475.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.8672, allocations: 4 kB / 475.8 MB, free: 8.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000576/0.8678, allocations: 71.92 kB / 475.8 MB, free: 8.547 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.01551/0.8834, allocations: 2.546 MB / 478.4 MB, free: 5.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/0.8835, allocations: 8.031 kB / 478.4 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0016/0.8851, allocations: 349.4 kB / 478.7 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/0.8889, allocations: 432.3 kB / 479.1 MB, free: 5.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009696/0.8987, allocations: 1.695 MB / 480.8 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003124/0.8991, allocations: 184.7 kB / 481 MB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.9002, allocations: 243.8 kB / 481.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.9156, allocations: 2.932 MB / 484.2 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002022/0.9159, allocations: 11.91 kB / 484.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009676/0.9169, allocations: 96 kB / 484.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002595/0.9172, allocations: 96.5 kB / 484.4 MB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01301/0.9302, allocations: 2.357 MB / 486.7 MB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04283/0.9731, allocations: 10.09 MB / 496.8 MB, free: 2.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00861/0.9818, allocations: 2.714 MB / 499.5 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004208/0.986, allocations: 1.108 MB / 0.4889 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.9867, allocations: 134.4 kB / 0.489 GB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.636e-05/0.9868, allocations: 51.88 kB / 0.4891 GB, free: 14.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=151): time 7.524e-06/0.9869, allocations: 0 / 0.4891 GB, free: 14.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.02991/1.017, allocations: 7.32 MB / 0.4962 GB, free: 7.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.017, allocations: 180.2 kB / 0.4964 GB, free: 7.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004007/1.021, allocations: 1.577 MB / 0.498 GB, free: 5.488 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004216/1.021, allocations: 53.7 kB / 0.498 GB, free: 5.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/1.023, allocations: 1.145 MB / 0.4991 GB, free: 4.27 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009244/1.024, allocations: 0.5853 MB / 0.4997 GB, free: 3.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/1.024, allocations: 36 kB / 0.4997 GB, free: 3.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/1.024, allocations: 385.8 kB / 0.5001 GB, free: 3.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/1.027, allocations: 0.8825 MB / 0.501 GB, free: 2.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/1.029, allocations: 1.312 MB / 0.5022 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/1.032, allocations: 1.079 MB / 0.5033 GB, free: 15.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/1.032, allocations: 4 kB / 0.5033 GB, free: 15.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009427/1.042, allocations: 3.244 MB / 0.5065 GB, free: 12.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002217/1.044, allocations: 4.697 MB / 0.5111 GB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.067e-05/1.044, allocations: 12 kB / 0.5111 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004428/1.049, allocations: 0.9681 MB / 0.512 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00284/1.051, allocations: 363.4 kB / 0.5124 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3091/1.361, allocations: 11.95 MB / 0.524 GB, free: 95.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002824/1.363, allocations: 114.6 kB / 0.5241 GB, free: 95.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004327/1.364, allocations: 72.78 kB / 0.5242 GB, free: 95.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/1.364, allocations: 6.125 kB / 0.5242 GB, free: 95.2 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008853/1.373, allocations: 3.024 MB / 0.5272 GB, free: 95.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-05/1.373, allocations: 15.17 kB / 0.5272 GB, free: 95.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004162/1.377, allocations: 0.9637 MB / 0.5281 GB, free: 95.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/1.38, allocations: 358.5 kB / 0.5285 GB, free: 95.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01989/1.4, allocations: 11.97 MB / 0.5402 GB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002656/1.403, allocations: 105.9 kB / 0.5403 GB, free: 89.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/1.403, allocations: 67.03 kB / 0.5403 GB, free: 89.75 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.0005561/1.403, allocations: 218 kB / 0.5405 GB, free: 89.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005587/1.404, allocations: 215.9 kB / 0.5407 GB, free: 89.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007251/1.411, allocations: 2.91 MB / 0.5436 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/1.411, allocations: 21.72 kB / 0.5436 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/1.411, allocations: 7.922 kB / 0.5436 GB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-05/1.411, allocations: 7.688 kB / 0.5436 GB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/1.427, allocations: 5.833 MB / 0.5493 GB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.427, allocations: 0 / 0.5493 GB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001879/1.429, allocations: 229 kB / 0.5495 GB, free: 88.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004211/1.433, allocations: 1.028 MB / 0.5505 GB, free: 88.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/1.433, allocations: 42.91 kB / 0.5506 GB, free: 88.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02067/1.454, allocations: 13.65 MB / 0.5639 GB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.454, allocations: 3.938 kB / 0.5639 GB, free: 79.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/1.464, allocations: 4.356 MB / 0.5682 GB, free: 77.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.466, allocations: 492.6 kB / 0.5686 GB, free: 77.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005677/1.466, allocations: 42.38 kB / 0.5687 GB, free: 77.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.469, allocations: 103.3 kB / 0.5688 GB, free: 77.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005169/1.469, allocations: 143.9 kB / 0.5689 GB, free: 77.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.469, allocations: 50.69 kB / 0.569 GB, free: 77.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002609/1.472, allocations: 1.212 MB / 0.5701 GB, free: 76.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.472, allocations: 3.312 kB / 0.5701 GB, free: 76.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005481/1.477, allocations: 1.195 MB / 0.5713 GB, free: 76.48 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.01113/1.489, allocations: 5.685 MB / 0.5769 GB, free: 73.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01799/1.507, allocations: 5.425 MB / 0.5822 GB, free: 70.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/1.507, allocations: 0 / 0.5822 GB, free: 70.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007317/1.514, allocations: 2.091 MB / 0.5842 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.006075/1.52, allocations: 0.5162 MB / 0.5847 GB, free: 69.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.544, allocations: 5.341 MB / 0.5899 GB, free: 67.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004024/1.548, allocations: 2.031 MB / 0.5919 GB, free: 66.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006647/1.554, allocations: 0.697 MB / 0.5926 GB, free: 66.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002751/1.557, allocations: 0.9491 MB / 0.5935 GB, free: 65.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/1.557, allocations: 0 / 0.5935 GB, free: 65.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1743/1.732, allocations: 69.16 MB / 0.661 GB, free: 8.922 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/1.732, allocations: 223.6 kB / 0.6613 GB, free: 8.691 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.801/7.533, allocations: 0 / 0.6613 GB, free: 8.691 MB / 410.7 MB