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.936/1.936, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.593e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3137, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2245/0.5383, allocations: 102.4 MB / 396.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5386, allocations: 91.94 kB / 396.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5497/1.088, allocations: 78.38 MB / 475.1 MB, free: 73.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.088, allocations: 0 / 475.1 MB, free: 73.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002904/1.089, allocations: 79.88 kB / 475.2 MB, free: 73.33 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.01293/1.102, allocations: 3.158 MB / 478.3 MB, free: 70.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/1.102, allocations: 9.094 kB / 478.3 MB, free: 70.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00608/1.108, allocations: 0.718 MB / 479.1 MB, free: 69.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.119, allocations: 3.268 MB / 482.3 MB, free: 66.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/1.12, allocations: 104 kB / 482.4 MB, free: 66.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001004/1.121, allocations: 187.9 kB / 482.6 MB, free: 65.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008496/1.129, allocations: 3.098 MB / 485.7 MB, free: 62.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/1.14, allocations: 3.605 MB / 489.3 MB, free: 59.01 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/1.14, allocations: 3.938 kB / 489.3 MB, free: 59.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000401/1.14, allocations: 7.984 kB / 489.3 MB, free: 59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/1.14, allocations: 142.3 kB / 489.5 MB, free: 58.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03392/1.174, allocations: 12.62 MB / 0.4903 GB, free: 46.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/1.186, allocations: 6.749 MB / 0.4969 GB, free: 38.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/1.19, allocations: 1.274 MB / 0.4982 GB, free: 37.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/1.205, allocations: 3.595 MB / 0.5017 GB, free: 33.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/1.205, allocations: 47.88 kB / 0.5017 GB, free: 33.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=117): time 6.212e-06/1.205, allocations: 0 / 0.5017 GB, free: 33.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.01672/1.222, allocations: 4.003 MB / 0.5056 GB, free: 29.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/1.222, allocations: 64.72 kB / 0.5057 GB, free: 29.24 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003613/1.225, allocations: 1.201 MB / 0.5069 GB, free: 28.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003173/1.226, allocations: 25.7 kB / 0.5069 GB, free: 28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.227, allocations: 1.413 MB / 0.5083 GB, free: 26.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006633/1.228, allocations: 406 kB / 0.5086 GB, free: 26.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/1.228, allocations: 7.938 kB / 0.5087 GB, free: 26.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/1.228, allocations: 365.9 kB / 0.509 GB, free: 25.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.23, allocations: 0.5623 MB / 0.5096 GB, free: 25.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/1.232, allocations: 1.024 MB / 0.5106 GB, free: 24.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.236, allocations: 0.8923 MB / 0.5114 GB, free: 23.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/1.236, allocations: 8 kB / 0.5114 GB, free: 23.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007163/1.243, allocations: 2.163 MB / 0.5135 GB, free: 20.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/1.243, allocations: 12 kB / 0.5136 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/1.243, allocations: 16 kB / 0.5136 GB, free: 20.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009567/1.244, allocations: 255.3 kB / 0.5138 GB, free: 20.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/1.246, allocations: 355.5 kB / 0.5142 GB, free: 20.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005744/1.252, allocations: 5.478 MB / 0.5195 GB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.254, allocations: 47.95 kB / 0.5195 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.254, allocations: 68 kB / 0.5196 GB, free: 14.33 MB / 362.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.0003424/1.255, allocations: 152.5 kB / 0.5198 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004635/1.259, allocations: 1.907 MB / 0.5216 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003855/1.26, allocations: 162 kB / 0.5218 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/1.265, allocations: 2.035 MB / 0.5238 GB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/1.265, allocations: 12 kB / 0.5238 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.265, allocations: 4 kB / 0.5238 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.265, allocations: 7.969 kB / 0.5238 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009473/1.275, allocations: 4.307 MB / 0.528 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/1.275, allocations: 0 / 0.528 GB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/1.276, allocations: 167.8 kB / 0.5282 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/1.278, allocations: 432.3 kB / 0.5286 GB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/1.278, allocations: 23.94 kB / 0.5286 GB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01256/1.291, allocations: 9.67 MB / 0.538 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.291, allocations: 3.938 kB / 0.538 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007412/1.298, allocations: 2.983 MB / 0.5409 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.299, allocations: 379 kB / 0.5413 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/1.3, allocations: 15.95 kB / 0.5413 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.301, allocations: 55.94 kB / 0.5414 GB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/1.302, allocations: 89.17 kB / 0.5415 GB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/1.302, allocations: 32 kB / 0.5415 GB, free: 6.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001991/1.304, allocations: 0.9074 MB / 0.5424 GB, free: 6.039 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.304, allocations: 3.938 kB / 0.5424 GB, free: 6.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003083/1.307, allocations: 0.4961 MB / 0.5429 GB, free: 5.539 MB / 378.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.008519/1.315, allocations: 4.213 MB / 0.547 GB, free: 1.223 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004323/1.32, allocations: 1.873 MB / 0.5488 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.32, allocations: 0 / 0.5488 GB, free: 15.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003472/1.323, allocations: 1.406 MB / 0.5502 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/1.326, allocations: 366.2 kB / 0.5505 GB, free: 13.49 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.342, allocations: 5.061 MB / 0.5555 GB, free: 8.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003148/1.345, allocations: 2.343 MB / 0.5578 GB, free: 5.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002252/1.347, allocations: 350.2 kB / 0.5581 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002425/1.35, allocations: 1.089 MB / 0.5592 GB, free: 4.543 MB / 394.7 MB Notification: Performance of SimCode: time 1.143e-06/1.35, allocations: 0 / 0.5592 GB, free: 4.543 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3916/1.741, allocations: 41.37 MB / 0.5996 GB, free: 94.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.741, allocations: 158.1 kB / 0.5997 GB, free: 94.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/5.615, allocations: 0 / 0.5997 GB, free: 94.25 MB / 394.7 MB