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.749/1.749, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.347e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2646, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.7026, allocations: 115.8 MB / 379.7 MB, free: 48.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.7029, allocations: 83.02 kB / 379.8 MB, free: 48.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2182/0.9211, allocations: 55.6 MB / 435.4 MB, free: 29.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.9212, allocations: 0 / 435.4 MB, free: 29.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003577/0.9216, allocations: 71.92 kB / 435.5 MB, free: 29.92 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.00954/0.9311, allocations: 2.571 MB / 438 MB, free: 27.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.9312, allocations: 12.03 kB / 438.1 MB, free: 27.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001215/0.9324, allocations: 334.7 kB / 438.4 MB, free: 27.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002614/0.9351, allocations: 432.5 kB / 438.8 MB, free: 26.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/0.9409, allocations: 1.731 MB / 440.5 MB, free: 25.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/0.9411, allocations: 176 kB / 440.7 MB, free: 25.38 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008817/0.942, allocations: 236.1 kB / 440.9 MB, free: 25.22 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007723/0.9498, allocations: 2.92 MB / 443.9 MB, free: 22.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.9499, allocations: 11.84 kB / 443.9 MB, free: 22.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003765/0.9503, allocations: 103.9 kB / 444 MB, free: 22.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.9504, allocations: 92.55 kB / 444.1 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.9571, allocations: 2.317 MB / 446.4 MB, free: 19.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0267/0.9839, allocations: 10.09 MB / 456.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004942/0.9889, allocations: 2.678 MB / 459.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002372/0.9913, allocations: 1.116 MB / 460.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004411/0.9918, allocations: 138.4 kB / 460.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.9919, allocations: 55.83 kB / 460.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=151): time 4.608e-06/0.9919, allocations: 0 / 460.5 MB, free: 5.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=174): time 0.02806/1.02, allocations: 7.304 MB / 467.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/1.02, allocations: 205.9 kB / 468 MB, free: 13.61 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004167/1.024, allocations: 1.581 MB / 469.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004529/1.025, allocations: 57.7 kB / 469.6 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.026, allocations: 1.134 MB / 470.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.027, allocations: 0.5852 MB / 471.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001962/1.027, allocations: 40 kB / 471.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002318/1.028, allocations: 389.8 kB / 471.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002464/1.03, allocations: 0.8786 MB / 472.6 MB, free: 8.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002897/1.033, allocations: 1.309 MB / 473.9 MB, free: 7.383 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002825/1.036, allocations: 1.083 MB / 475 MB, free: 6.301 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/1.036, allocations: 7.953 kB / 475 MB, free: 6.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=248) (initialization): time 0.009521/1.045, allocations: 3.205 MB / 478.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/1.046, allocations: 11.95 kB / 478.2 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.034e-05/1.046, allocations: 16 kB / 478.2 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/1.05, allocations: 0.9644 MB / 479.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/1.053, allocations: 371.5 kB / 479.6 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02314/1.076, allocations: 11.96 MB / 491.5 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00355/1.08, allocations: 119.8 kB / 491.7 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/1.08, allocations: 72 kB / 491.7 MB, free: 4.992 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.0007058/1.081, allocations: 217.2 kB / 491.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008187/1.082, allocations: 213.5 kB / 492.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/1.094, allocations: 2.917 MB / 495.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/1.094, allocations: 16 kB / 495.1 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.119e-05/1.094, allocations: 4 kB / 495.1 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/1.094, allocations: 11.97 kB / 495.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02354/1.117, allocations: 5.837 MB / 0.4892 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.118, allocations: 0 / 0.4892 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.12, allocations: 219.7 kB / 0.4894 GB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006684/1.127, allocations: 1.019 MB / 0.4904 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/1.127, allocations: 43.98 kB / 0.4904 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2786/1.406, allocations: 13.66 MB / 0.5038 GB, free: 84.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/1.406, allocations: 5.188 kB / 0.5038 GB, free: 84.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01008/1.416, allocations: 4.351 MB / 0.508 GB, free: 83.81 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.418, allocations: 493 kB / 0.5085 GB, free: 83.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/1.418, allocations: 42.75 kB / 0.5085 GB, free: 83.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/1.421, allocations: 107 kB / 0.5086 GB, free: 83.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004806/1.421, allocations: 142.1 kB / 0.5088 GB, free: 83.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/1.421, allocations: 49.92 kB / 0.5088 GB, free: 83.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002656/1.424, allocations: 1.206 MB / 0.51 GB, free: 83.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.424, allocations: 0 / 0.51 GB, free: 83.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0038/1.428, allocations: 0.7447 MB / 0.5107 GB, free: 83.55 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.01108/1.439, allocations: 5.698 MB / 0.5163 GB, free: 82.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007147/1.446, allocations: 3.046 MB / 0.5193 GB, free: 81.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.446, allocations: 0 / 0.5193 GB, free: 81.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005443/1.452, allocations: 2.042 MB / 0.5213 GB, free: 80.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/1.456, allocations: 0.5218 MB / 0.5218 GB, free: 80.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.473, allocations: 5.265 MB / 0.5269 GB, free: 79.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/1.475, allocations: 2.007 MB / 0.5289 GB, free: 78.99 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00228/1.478, allocations: 365.5 kB / 0.5292 GB, free: 78.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/1.48, allocations: 0.9694 MB / 0.5302 GB, free: 78.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/1.48, allocations: 3.75 kB / 0.5302 GB, free: 78.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/1.617, allocations: 60.18 MB / 0.589 GB, free: 43.79 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/1.617, allocations: 222.2 kB / 0.5892 GB, free: 43.55 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.251/6.868, allocations: 4 kB / 0.5892 GB, free: 43.55 MB / 362.7 MB