Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.791/1.791, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.801e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08945/0.0895, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5235, allocations: 103.1 MB / 403.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5239, allocations: 86.94 kB / 403.1 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2989/0.8227, allocations: 79.38 MB / 482.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.8228, allocations: 0 / 482.5 MB, free: 1.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002937/0.8231, allocations: 75.94 kB / 482.6 MB, free: 1.422 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01313/0.8362, allocations: 3.171 MB / 485.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.8363, allocations: 8.031 kB / 485.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001399/0.8377, allocations: 443 kB / 486.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/0.8435, allocations: 0.7261 MB / 486.9 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.8561, allocations: 3.26 MB / 490.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003369/0.8565, allocations: 234.3 kB / 490.4 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.8577, allocations: 319.9 kB / 490.7 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.8699, allocations: 4.015 MB / 494.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.8701, allocations: 11.92 kB / 494.8 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.8706, allocations: 128 kB / 494.9 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.8708, allocations: 146.3 kB / 495 MB, free: 4.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.8817, allocations: 3.246 MB / 498.3 MB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0357/0.9175, allocations: 13.23 MB / 0.4995 GB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/0.9285, allocations: 6.804 MB / 0.5062 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003811/0.9323, allocations: 1.328 MB / 0.5075 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01069/0.9431, allocations: 3.699 MB / 0.5111 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/0.9432, allocations: 51.52 kB / 0.5111 GB, free: 7.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 3.747e-06/0.9432, allocations: 0 / 0.5111 GB, free: 7.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01139/0.9546, allocations: 3.798 MB / 0.5148 GB, free: 3.113 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.9547, allocations: 64.41 kB / 0.5149 GB, free: 3.035 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003697/0.9584, allocations: 1.47 MB / 0.5163 GB, free: 1.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002881/0.9587, allocations: 49.7 kB / 0.5164 GB, free: 1.508 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.9602, allocations: 1.41 MB / 0.5178 GB, free: 80 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2713/1.232, allocations: 424.3 kB / 0.5182 GB, free: 87.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/1.232, allocations: 31.5 kB / 0.5182 GB, free: 87.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/1.232, allocations: 366 kB / 0.5185 GB, free: 86.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/1.234, allocations: 0.5991 MB / 0.5191 GB, free: 86.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.236, allocations: 1.043 MB / 0.5201 GB, free: 86.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/1.239, allocations: 0.8016 MB / 0.5209 GB, free: 86.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.164e-05/1.239, allocations: 6.203 kB / 0.5209 GB, free: 86.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006515/1.245, allocations: 2.176 MB / 0.5231 GB, free: 86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/1.245, allocations: 13.44 kB / 0.5231 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.675e-05/1.245, allocations: 14.34 kB / 0.5231 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/1.246, allocations: 261.8 kB / 0.5233 GB, free: 85.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/1.249, allocations: 361 kB / 0.5237 GB, free: 85.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006937/1.256, allocations: 5.66 MB / 0.5292 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.259, allocations: 82.2 kB / 0.5293 GB, free: 82.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/1.259, allocations: 74.77 kB / 0.5294 GB, free: 82.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004071/1.26, allocations: 198.9 kB / 0.5295 GB, free: 81.97 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/1.26, allocations: 179.6 kB / 0.5297 GB, free: 81.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005425/1.265, allocations: 2.032 MB / 0.5317 GB, free: 81.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.302e-05/1.265, allocations: 12.09 kB / 0.5317 GB, free: 81.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.265, allocations: 5.719 kB / 0.5317 GB, free: 81.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/1.266, allocations: 4.766 kB / 0.5317 GB, free: 81.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/1.278, allocations: 4.695 MB / 0.5363 GB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.278, allocations: 0 / 0.5363 GB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/1.279, allocations: 170.7 kB / 0.5365 GB, free: 80.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/1.281, allocations: 450.2 kB / 0.5369 GB, free: 80.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/1.281, allocations: 38.72 kB / 0.5369 GB, free: 80.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/1.294, allocations: 10.03 MB / 0.5467 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.294, allocations: 3.969 kB / 0.5467 GB, free: 74.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006553/1.3, allocations: 2.962 MB / 0.5496 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/1.302, allocations: 406.7 kB / 0.55 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006264/1.302, allocations: 29.31 kB / 0.55 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/1.306, allocations: 79.78 kB / 0.5501 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000696/1.307, allocations: 93.97 kB / 0.5502 GB, free: 73.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002563/1.307, allocations: 30.84 kB / 0.5502 GB, free: 73.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00448/1.312, allocations: 1.129 MB / 0.5513 GB, free: 73.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.312, allocations: 2.719 kB / 0.5513 GB, free: 73.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006276/1.318, allocations: 0.5777 MB / 0.5519 GB, free: 73.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * 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: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00784/1.326, allocations: 4.255 MB / 0.5561 GB, free: 71.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007232/1.333, allocations: 1.917 MB / 0.5579 GB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.333, allocations: 0 / 0.5579 GB, free: 71.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005823/1.339, allocations: 1.427 MB / 0.5593 GB, free: 70.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.343, allocations: 481.7 kB / 0.5598 GB, free: 70.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.359, allocations: 5.231 MB / 0.5649 GB, free: 69.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/1.361, allocations: 2.338 MB / 0.5672 GB, free: 68.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002273/1.363, allocations: 377.2 kB / 0.5675 GB, free: 68.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.366, allocations: 1.099 MB / 0.5686 GB, free: 68.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/1.366, allocations: 0 / 0.5686 GB, free: 68.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1498/1.516, allocations: 49.67 MB / 0.6171 GB, free: 53.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/1.516, allocations: 200 kB / 0.6173 GB, free: 52.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/5.57, allocations: 0 / 0.6173 GB, free: 52.89 MB / 410.7 MB