Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.025e-05/3.038e-05, allocations: 0 / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1203, allocations: 50.42 MB / 342.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5126/0.633, allocations: 132.7 MB / 475.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/0.6334, allocations: 104.3 kB / 475.5 MB, free: 10.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6596/1.293, allocations: 96.13 MB / 0.5582 GB, free: 98.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.983e-06/1.293, allocations: 0 / 0.5582 GB, free: 98.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004029/1.293, allocations: 96.47 kB / 0.5583 GB, free: 98.45 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.015/1.308, allocations: 3.749 MB / 0.5619 GB, free: 96.95 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/1.308, allocations: 13.83 kB / 0.5619 GB, free: 96.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001841/1.31, allocations: 0.5009 MB / 0.5624 GB, free: 96.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007589/1.318, allocations: 0.9076 MB / 0.5633 GB, free: 96.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/1.332, allocations: 3.609 MB / 0.5668 GB, free: 95.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/1.332, allocations: 275.6 kB / 0.5671 GB, free: 95.95 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001536/1.333, allocations: 376.8 kB / 0.5675 GB, free: 95.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01436/1.348, allocations: 4.517 MB / 0.5719 GB, free: 94.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001945/1.348, allocations: 7.469 kB / 0.5719 GB, free: 94.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/1.349, allocations: 163 kB / 0.572 GB, free: 93.97 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001869/1.349, allocations: 149.8 kB / 0.5722 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/1.362, allocations: 3.675 MB / 0.5758 GB, free: 92.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0408/1.403, allocations: 16.01 MB / 0.5914 GB, free: 83.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.413, allocations: 7.758 MB / 0.599 GB, free: 76.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004555/1.418, allocations: 1.727 MB / 0.6007 GB, free: 76.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/1.431, allocations: 5.053 MB / 0.6056 GB, free: 73.28 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/1.432, allocations: 59.97 kB / 0.6057 GB, free: 73.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 4.909e-06/1.432, allocations: 0 / 0.6057 GB, free: 73.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.01331/1.445, allocations: 5.077 MB / 0.6106 GB, free: 70.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/1.445, allocations: 172.8 kB / 0.6108 GB, free: 70.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004508/1.45, allocations: 1.922 MB / 0.6127 GB, free: 69.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.45, allocations: 57.36 kB / 0.6127 GB, free: 69.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.451, allocations: 1.697 MB / 0.6144 GB, free: 68.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/1.452, allocations: 0.5972 MB / 0.615 GB, free: 67.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/1.452, allocations: 47.16 kB / 0.615 GB, free: 67.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/1.453, allocations: 393.2 kB / 0.6154 GB, free: 67.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/1.455, allocations: 0.8073 MB / 0.6162 GB, free: 66.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/1.457, allocations: 1.435 MB / 0.6176 GB, free: 65.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/1.46, allocations: 1.061 MB / 0.6186 GB, free: 64.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/1.46, allocations: 4 kB / 0.6186 GB, free: 64.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.007632/1.467, allocations: 2.923 MB / 0.6215 GB, free: 61.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001771/1.469, allocations: 7.83 MB / 0.6291 GB, free: 52.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.435e-05/1.469, allocations: 20 kB / 0.6291 GB, free: 52.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/1.471, allocations: 474.5 kB / 0.6296 GB, free: 52.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/1.475, allocations: 482.5 kB / 0.63 GB, free: 52.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009511/1.484, allocations: 8.041 MB / 0.6379 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00318/1.488, allocations: 98.06 kB / 0.638 GB, free: 44.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/1.488, allocations: 95.56 kB / 0.6381 GB, free: 43.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.488, allocations: 8.094 kB / 0.6381 GB, free: 43.93 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006521/1.495, allocations: 2.669 MB / 0.6407 GB, free: 41.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-05/1.495, allocations: 23.09 kB / 0.6407 GB, free: 41.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001607/1.496, allocations: 471.8 kB / 0.6412 GB, free: 41.1 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/1.5, allocations: 475.7 kB / 0.6416 GB, free: 40.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009586/1.51, allocations: 8.044 MB / 0.6495 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/1.513, allocations: 91.06 kB / 0.6496 GB, free: 32.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005517/1.514, allocations: 102.9 kB / 0.6497 GB, free: 32.53 MB / 442.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.0006489/1.514, allocations: 246.2 kB / 0.6499 GB, free: 32.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007785/1.515, allocations: 257 kB / 0.6501 GB, free: 32.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007417/1.523, allocations: 2.72 MB / 0.6528 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.347e-05/1.523, allocations: 20 kB / 0.6528 GB, free: 29.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.523, allocations: 7.953 kB / 0.6528 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-05/1.523, allocations: 10.36 kB / 0.6528 GB, free: 29.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01582/1.538, allocations: 5.87 MB / 0.6586 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.539, allocations: 7.234 kB / 0.6586 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002391/1.541, allocations: 250.1 kB / 0.6588 GB, free: 24.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/1.544, allocations: 0.6395 MB / 0.6594 GB, free: 23.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003763/1.544, allocations: 51.22 kB / 0.6595 GB, free: 23.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01592/1.56, allocations: 12.52 MB / 0.6717 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/1.56, allocations: 7.938 kB / 0.6717 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009449/1.57, allocations: 3.928 MB / 0.6756 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.572, allocations: 0.5057 MB / 0.6761 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009552/1.573, allocations: 39.98 kB / 0.6761 GB, free: 6.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.575, allocations: 91.69 kB / 0.6762 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006911/1.576, allocations: 133.7 kB / 0.6763 GB, free: 6.758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/1.576, allocations: 48 kB / 0.6764 GB, free: 6.711 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003801/1.58, allocations: 1.454 MB / 0.6778 GB, free: 5.238 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.51e-07/1.58, allocations: 0 / 0.6778 GB, free: 5.238 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008427/1.589, allocations: 1.336 MB / 0.6791 GB, free: 3.902 MB / 442.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.01202/1.601, allocations: 5.347 MB / 0.6843 GB, free: 14.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01271/1.614, allocations: 4.608 MB / 0.6888 GB, free: 9.734 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.614, allocations: 8.062 kB / 0.6888 GB, free: 9.727 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005027/1.619, allocations: 1.842 MB / 0.6906 GB, free: 7.832 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005698/1.624, allocations: 0.6311 MB / 0.6912 GB, free: 7.223 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02263/1.647, allocations: 6.498 MB / 0.6976 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3194/1.967, allocations: 2.579 MB / 0.7001 GB, free: 100 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007039/1.974, allocations: 0.8445 MB / 0.7009 GB, free: 99.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003433/1.977, allocations: 1.346 MB / 0.7022 GB, free: 99.97 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/1.977, allocations: 0 / 0.7022 GB, free: 99.97 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.176/2.153, allocations: 74.59 MB / 0.7751 GB, free: 81.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/2.154, allocations: 234.8 kB / 0.7753 GB, free: 80.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.981/8.135, allocations: 3.906 kB / 0.7753 GB, free: 80.82 MB / 458.7 MB