Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.099/2.099, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.178e-05/3.198e-05, allocations: 0 / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5229/0.6287, allocations: 131.3 MB / 448.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.6291, allocations: 85.64 kB / 448.5 MB, free: 5.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7269/1.356, allocations: 95.98 MB / 0.5317 GB, free: 88.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.356, allocations: 3.375 kB / 0.5317 GB, free: 88.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005015/1.357, allocations: 96.39 kB / 0.5318 GB, free: 88.32 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01639/1.373, allocations: 3.736 MB / 0.5354 GB, free: 86.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/1.373, allocations: 13 kB / 0.5354 GB, free: 86.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002338/1.375, allocations: 0.505 MB / 0.5359 GB, free: 86.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008381/1.384, allocations: 0.8999 MB / 0.5368 GB, free: 86.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01857/1.402, allocations: 3.624 MB / 0.5403 GB, free: 86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005512/1.403, allocations: 270.5 kB / 0.5406 GB, free: 85.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002109/1.405, allocations: 371.6 kB / 0.541 GB, free: 85.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/1.427, allocations: 4.527 MB / 0.5454 GB, free: 85.52 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003071/1.427, allocations: 9.719 kB / 0.5454 GB, free: 85.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001657/1.429, allocations: 157.9 kB / 0.5455 GB, free: 85.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/1.429, allocations: 149.6 kB / 0.5457 GB, free: 85.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01746/1.446, allocations: 3.663 MB / 0.5493 GB, free: 85.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04951/1.496, allocations: 16.03 MB / 0.5649 GB, free: 78.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/1.508, allocations: 7.744 MB / 0.5725 GB, free: 72.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004866/1.513, allocations: 1.729 MB / 0.5742 GB, free: 71.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01645/1.529, allocations: 5.059 MB / 0.5791 GB, free: 68.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.529, allocations: 54.44 kB / 0.5792 GB, free: 68.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=174): time 5.63e-06/1.529, allocations: 0 / 0.5792 GB, free: 68.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.01526/1.545, allocations: 5.078 MB / 0.5841 GB, free: 66.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.779e-05/1.545, allocations: 173.8 kB / 0.5843 GB, free: 65.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005292/1.55, allocations: 1.92 MB / 0.5862 GB, free: 65.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004401/1.55, allocations: 57.3 kB / 0.5862 GB, free: 65.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001683/1.552, allocations: 1.689 MB / 0.5879 GB, free: 63.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/1.553, allocations: 0.607 MB / 0.5884 GB, free: 63.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/1.553, allocations: 40.62 kB / 0.5885 GB, free: 63.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/1.554, allocations: 396.6 kB / 0.5889 GB, free: 63.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/1.556, allocations: 0.81 MB / 0.5897 GB, free: 62.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002962/1.559, allocations: 1.438 MB / 0.5911 GB, free: 61.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/1.562, allocations: 1.054 MB / 0.5921 GB, free: 61.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.83e-05/1.562, allocations: 7.75 kB / 0.5921 GB, free: 61.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.008702/1.571, allocations: 2.925 MB / 0.595 GB, free: 59.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001853/1.573, allocations: 7.836 MB / 0.6026 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.885e-05/1.573, allocations: 21.5 kB / 0.6026 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/1.575, allocations: 474.9 kB / 0.6031 GB, free: 51.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003708/1.579, allocations: 480 kB / 0.6035 GB, free: 51.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.589, allocations: 8.051 MB / 0.6114 GB, free: 44.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/1.592, allocations: 106.4 kB / 0.6115 GB, free: 44.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005868/1.593, allocations: 90.59 kB / 0.6116 GB, free: 44.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.593, allocations: 5.5 kB / 0.6116 GB, free: 44.53 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007663/1.601, allocations: 2.677 MB / 0.6142 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.054e-05/1.601, allocations: 25.41 kB / 0.6142 GB, free: 43.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/1.603, allocations: 468.8 kB / 0.6147 GB, free: 43.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003638/1.606, allocations: 475.3 kB / 0.6151 GB, free: 43.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/1.617, allocations: 8.04 MB / 0.623 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/1.62, allocations: 97.95 kB / 0.6231 GB, free: 35.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005907/1.62, allocations: 92 kB / 0.6232 GB, free: 35.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * 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 (252): * Single equations (assignments): 245 * 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 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007017/1.621, allocations: 250.1 kB / 0.6234 GB, free: 34.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008294/1.622, allocations: 264.7 kB / 0.6237 GB, free: 34.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007885/1.63, allocations: 2.718 MB / 0.6263 GB, free: 32.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/1.63, allocations: 16 kB / 0.6263 GB, free: 32.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/1.63, allocations: 11.95 kB / 0.6263 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-05/1.63, allocations: 7.594 kB / 0.6263 GB, free: 32.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/1.647, allocations: 5.875 MB / 0.6321 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.647, allocations: 4 kB / 0.6321 GB, free: 27.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/1.649, allocations: 247.9 kB / 0.6323 GB, free: 27.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00264/1.652, allocations: 0.6475 MB / 0.633 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003997/1.652, allocations: 39.66 kB / 0.633 GB, free: 26.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.669, allocations: 12.54 MB / 0.6452 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.669, allocations: 4 kB / 0.6452 GB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009576/1.679, allocations: 3.921 MB / 0.6491 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/1.681, allocations: 0.5061 MB / 0.6496 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.682, allocations: 43.94 kB / 0.6496 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.685, allocations: 86.7 kB / 0.6497 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006558/1.686, allocations: 134.9 kB / 0.6498 GB, free: 9.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002561/1.686, allocations: 47.7 kB / 0.6499 GB, free: 9.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003865/1.69, allocations: 1.456 MB / 0.6513 GB, free: 8.336 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.69, allocations: 0 / 0.6513 GB, free: 8.336 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008147/1.698, allocations: 1.339 MB / 0.6526 GB, free: 7.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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 (124): * Single equations (assignments): 118 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01104/1.709, allocations: 5.331 MB / 0.6578 GB, free: 2.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01204/1.721, allocations: 4.593 MB / 0.6623 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/1.722, allocations: 2.625 kB / 0.6623 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005085/1.727, allocations: 1.866 MB / 0.6641 GB, free: 11.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005701/1.732, allocations: 0.6421 MB / 0.6647 GB, free: 11.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/1.757, allocations: 6.504 MB / 0.6711 GB, free: 5.582 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005241/1.762, allocations: 2.576 MB / 0.6736 GB, free: 3.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006814/1.769, allocations: 0.8517 MB / 0.6744 GB, free: 3.047 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003543/1.773, allocations: 1.348 MB / 0.6758 GB, free: 1.801 MB / 442.7 MB Notification: Performance of SimCode: time 4.519e-06/1.773, allocations: 0 / 0.6758 GB, free: 1.801 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6398/2.412, allocations: 74.69 MB / 0.7487 GB, free: 79.84 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/2.413, allocations: 211.8 kB / 0.7489 GB, free: 79.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.903/8.316, allocations: 0 / 0.7489 GB, free: 79.61 MB / 442.7 MB