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.782/1.782, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.845e-05, allocations: 0 / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09163/0.09168, allocations: 44.52 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5322, allocations: 103 MB / 403 MB, free: 11.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5326, allocations: 88.33 kB / 403.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2927/0.8253, allocations: 79.39 MB / 482.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.8253, allocations: 0 / 482.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003466/0.8257, allocations: 71.94 kB / 482.6 MB, free: 1.488 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.01385/0.8395, allocations: 3.171 MB / 485.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.8396, allocations: 8.031 kB / 485.7 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001573/0.8412, allocations: 443 kB / 486.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006009/0.8472, allocations: 0.7261 MB / 486.9 MB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.8599, allocations: 3.264 MB / 490.2 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.8603, allocations: 238.2 kB / 490.4 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001325/0.8616, allocations: 307.9 kB / 490.7 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.8754, allocations: 4.058 MB / 494.8 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001651/0.8756, allocations: 4 kB / 494.8 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008636/0.8765, allocations: 132 kB / 494.9 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002293/0.8767, allocations: 150.2 kB / 495 MB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01144/0.8882, allocations: 3.285 MB / 498.3 MB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/0.9253, allocations: 13.23 MB / 0.4996 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.9364, allocations: 6.814 MB / 0.5062 GB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003949/0.9404, allocations: 1.336 MB / 0.5075 GB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01117/0.9516, allocations: 3.696 MB / 0.5111 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.9517, allocations: 55.5 kB / 0.5112 GB, free: 6.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 3.908e-06/0.9517, allocations: 0 / 0.5112 GB, free: 6.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01132/0.9631, allocations: 3.802 MB / 0.5149 GB, free: 3.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.9632, allocations: 64.41 kB / 0.515 GB, free: 2.996 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003744/0.9669, allocations: 1.466 MB / 0.5164 GB, free: 1.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002881/0.9672, allocations: 45.7 kB / 0.5164 GB, free: 1.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001534/0.9688, allocations: 1.411 MB / 0.5178 GB, free: 48 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.264/1.233, allocations: 423.6 kB / 0.5182 GB, free: 87.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/1.233, allocations: 31.47 kB / 0.5183 GB, free: 87.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001522/1.233, allocations: 367.8 kB / 0.5186 GB, free: 86.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.235, allocations: 0.5957 MB / 0.5192 GB, free: 86.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002304/1.237, allocations: 1.056 MB / 0.5202 GB, free: 86.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/1.239, allocations: 0.8033 MB / 0.521 GB, free: 86.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-05/1.239, allocations: 5.062 kB / 0.521 GB, free: 86.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007452/1.247, allocations: 2.212 MB / 0.5232 GB, free: 86.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/1.247, allocations: 11.41 kB / 0.5232 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/1.247, allocations: 17.72 kB / 0.5232 GB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/1.248, allocations: 266.6 kB / 0.5234 GB, free: 86.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/1.251, allocations: 360.8 kB / 0.5238 GB, free: 86.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/1.258, allocations: 5.674 MB / 0.5293 GB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.26, allocations: 79.17 kB / 0.5294 GB, free: 82.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000342/1.261, allocations: 71.34 kB / 0.5295 GB, free: 82.29 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.0004427/1.261, allocations: 202 kB / 0.5297 GB, free: 82.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005485/1.262, allocations: 177.3 kB / 0.5298 GB, free: 82.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/1.267, allocations: 2.031 MB / 0.5318 GB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.267, allocations: 11.25 kB / 0.5318 GB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/1.267, allocations: 10.66 kB / 0.5318 GB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.11e-05/1.267, allocations: 9.844 kB / 0.5319 GB, free: 81.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/1.28, allocations: 4.697 MB / 0.5364 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/1.28, allocations: 0.5625 kB / 0.5364 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.281, allocations: 171.5 kB / 0.5366 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001961/1.283, allocations: 440.1 kB / 0.537 GB, free: 81.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/1.283, allocations: 37.47 kB / 0.5371 GB, free: 81.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/1.295, allocations: 10.04 MB / 0.5469 GB, free: 74.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.295, allocations: 3.969 kB / 0.5469 GB, free: 74.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006317/1.302, allocations: 2.964 MB / 0.5498 GB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/1.303, allocations: 402.5 kB / 0.5502 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004061/1.303, allocations: 31.62 kB / 0.5502 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.305, allocations: 74.86 kB / 0.5503 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/1.305, allocations: 99.81 kB / 0.5503 GB, free: 73.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/1.305, allocations: 34.19 kB / 0.5504 GB, free: 73.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002375/1.308, allocations: 1.127 MB / 0.5515 GB, free: 73.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.308, allocations: 0 / 0.5515 GB, free: 73.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003056/1.311, allocations: 0.5736 MB / 0.552 GB, free: 73.49 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.007214/1.318, allocations: 4.256 MB / 0.5562 GB, free: 71.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004248/1.322, allocations: 1.966 MB / 0.5581 GB, free: 71.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/1.323, allocations: 3.312 kB / 0.5581 GB, free: 71.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003178/1.326, allocations: 1.479 MB / 0.5596 GB, free: 70.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003636/1.329, allocations: 473.9 kB / 0.56 GB, free: 70.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.344, allocations: 5.228 MB / 0.5651 GB, free: 69.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.346, allocations: 2.342 MB / 0.5674 GB, free: 68.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002292/1.349, allocations: 376.4 kB / 0.5678 GB, free: 68.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/1.351, allocations: 1.095 MB / 0.5688 GB, free: 68.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.734e-06/1.351, allocations: 1.688 kB / 0.5688 GB, free: 68.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/1.47, allocations: 49.9 MB / 0.6176 GB, free: 52.67 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/1.47, allocations: 201.4 kB / 0.6178 GB, free: 52.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.04/5.51, allocations: 0 / 0.6178 GB, free: 52.44 MB / 410.7 MB