Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.86e-05, allocations: 4 kB / 292.8 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 50.41 MB / 343.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5058/0.6113, allocations: 132.7 MB / 475.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.6117, allocations: 94.94 kB / 475.9 MB, free: 10.48 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6484/1.26, allocations: 96.13 MB / 0.5587 GB, free: 98.92 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.26, allocations: 2.516 kB / 0.5587 GB, free: 98.92 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004034/1.261, allocations: 95.48 kB / 0.5588 GB, free: 98.91 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.01593/1.277, allocations: 3.745 MB / 0.5624 GB, free: 97.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/1.277, allocations: 11.48 kB / 0.5624 GB, free: 97.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001708/1.278, allocations: 0.5013 MB / 0.5629 GB, free: 97.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007672/1.286, allocations: 0.9169 MB / 0.5638 GB, free: 97.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/1.299, allocations: 3.607 MB / 0.5673 GB, free: 96.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/1.3, allocations: 272.3 kB / 0.5676 GB, free: 96.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/1.301, allocations: 378.3 kB / 0.568 GB, free: 96.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/1.314, allocations: 4.513 MB / 0.5724 GB, free: 94.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001342/1.314, allocations: 3.969 kB / 0.5724 GB, free: 94.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006478/1.314, allocations: 163.1 kB / 0.5725 GB, free: 94.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/1.315, allocations: 154.5 kB / 0.5727 GB, free: 94.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/1.326, allocations: 3.667 MB / 0.5762 GB, free: 92.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.038/1.364, allocations: 16.01 MB / 0.5919 GB, free: 83.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01007/1.374, allocations: 7.773 MB / 0.5995 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/1.378, allocations: 1.714 MB / 0.6011 GB, free: 76.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/1.391, allocations: 5.058 MB / 0.6061 GB, free: 73.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/1.391, allocations: 64.12 kB / 0.6061 GB, free: 73.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 4.749e-06/1.391, allocations: 0 / 0.6061 GB, free: 73.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.01237/1.403, allocations: 5.078 MB / 0.6111 GB, free: 70.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/1.403, allocations: 174.3 kB / 0.6113 GB, free: 70.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004063/1.407, allocations: 1.923 MB / 0.6131 GB, free: 69.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/1.408, allocations: 56.55 kB / 0.6132 GB, free: 69.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001304/1.409, allocations: 1.689 MB / 0.6149 GB, free: 68.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000693/1.41, allocations: 0.6007 MB / 0.6154 GB, free: 67.92 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/1.41, allocations: 44.53 kB / 0.6155 GB, free: 67.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/1.41, allocations: 398.7 kB / 0.6159 GB, free: 67.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/1.412, allocations: 0.8053 MB / 0.6166 GB, free: 66.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002203/1.414, allocations: 1.439 MB / 0.6181 GB, free: 65.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/1.417, allocations: 1.057 MB / 0.6191 GB, free: 64.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/1.417, allocations: 4 kB / 0.6191 GB, free: 64.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006808/1.424, allocations: 2.923 MB / 0.6219 GB, free: 61.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001595/1.425, allocations: 7.836 MB / 0.6296 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-05/1.425, allocations: 20 kB / 0.6296 GB, free: 53.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001762/1.427, allocations: 463 kB / 0.6301 GB, free: 52.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003563/1.431, allocations: 480.6 kB / 0.6305 GB, free: 52.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009199/1.44, allocations: 8.041 MB / 0.6384 GB, free: 44.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/1.443, allocations: 103 kB / 0.6385 GB, free: 44.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003362/1.443, allocations: 88 kB / 0.6386 GB, free: 44.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.443, allocations: 4.094 kB / 0.6386 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006106/1.45, allocations: 2.684 MB / 0.6412 GB, free: 41.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-05/1.45, allocations: 20 kB / 0.6412 GB, free: 41.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/1.451, allocations: 466 kB / 0.6416 GB, free: 41.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003419/1.455, allocations: 472.4 kB / 0.6421 GB, free: 40.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/1.464, allocations: 8.055 MB / 0.65 GB, free: 32.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/1.467, allocations: 97.48 kB / 0.65 GB, free: 32.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/1.467, allocations: 95.66 kB / 0.6501 GB, free: 32.74 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.0005779/1.468, allocations: 249.7 kB / 0.6504 GB, free: 32.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/1.468, allocations: 253 kB / 0.6506 GB, free: 32.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006768/1.475, allocations: 2.722 MB / 0.6533 GB, free: 29.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/1.475, allocations: 16 kB / 0.6533 GB, free: 29.83 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/1.475, allocations: 7.953 kB / 0.6533 GB, free: 29.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.645e-05/1.475, allocations: 10.36 kB / 0.6533 GB, free: 29.82 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.489, allocations: 5.871 MB / 0.659 GB, free: 24.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/1.489, allocations: 0 / 0.659 GB, free: 24.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/1.491, allocations: 250.1 kB / 0.6593 GB, free: 24.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/1.494, allocations: 0.6483 MB / 0.6599 GB, free: 24.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.494, allocations: 47.61 kB / 0.66 GB, free: 24.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/1.509, allocations: 12.53 MB / 0.6722 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/1.509, allocations: 3.469 kB / 0.6722 GB, free: 11.62 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008283/1.518, allocations: 3.931 MB / 0.676 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.519, allocations: 0.5057 MB / 0.6765 GB, free: 7.191 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004998/1.52, allocations: 39.62 kB / 0.6766 GB, free: 7.156 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/1.522, allocations: 91.92 kB / 0.6767 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/1.522, allocations: 129.8 kB / 0.6768 GB, free: 6.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.523, allocations: 47.98 kB / 0.6768 GB, free: 6.895 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002961/1.526, allocations: 1.454 MB / 0.6782 GB, free: 5.422 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.526, allocations: 0 / 0.6782 GB, free: 5.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006057/1.532, allocations: 1.34 MB / 0.6796 GB, free: 4.086 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.3213/1.853, allocations: 5.336 MB / 0.6848 GB, free: 88.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01107/1.864, allocations: 4.606 MB / 0.6893 GB, free: 86.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/1.864, allocations: 4.344 kB / 0.6893 GB, free: 86.88 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004352/1.869, allocations: 1.836 MB / 0.6911 GB, free: 86.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005479/1.874, allocations: 0.6419 MB / 0.6917 GB, free: 86.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.897, allocations: 6.497 MB / 0.698 GB, free: 84.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00489/1.902, allocations: 2.585 MB / 0.7006 GB, free: 84.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006347/1.908, allocations: 0.8416 MB / 0.7014 GB, free: 83.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002909/1.911, allocations: 1.347 MB / 0.7027 GB, free: 83.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.824e-06/1.911, allocations: 0 / 0.7027 GB, free: 83.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.172/2.083, allocations: 74.58 MB / 0.7755 GB, free: 54.13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/2.083, allocations: 234.8 kB / 0.7758 GB, free: 53.86 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.18/8.263, allocations: 0 / 0.7758 GB, free: 53.86 MB / 442.7 MB