Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Inverter",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.59/2.59, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.818e-05, allocations: 2.75 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1279, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6628/0.7907, allocations: 102.4 MB / 396.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/0.7912, allocations: 82.33 kB / 396.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4504/1.242, allocations: 78.78 MB / 475.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.242, allocations: 0 / 475.5 MB, free: 11.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004361/1.242, allocations: 79.92 kB / 475.6 MB, free: 11.64 MB / 378.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.01789/1.26, allocations: 3.156 MB / 478.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.408e-05/1.26, allocations: 12.03 kB / 478.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002119/1.262, allocations: 319 kB / 479.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008208/1.271, allocations: 0.7222 MB / 479.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01608/1.287, allocations: 3.264 MB / 483.1 MB, free: 4.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003606/1.287, allocations: 130.3 kB / 483.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001504/1.289, allocations: 191.9 kB / 483.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01352/1.302, allocations: 3.101 MB / 486.5 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/1.319, allocations: 3.605 MB / 490.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001865/1.319, allocations: 4 kB / 490.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/1.32, allocations: 0 / 490.1 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003039/1.321, allocations: 146.2 kB / 490.2 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4026/1.723, allocations: 12.63 MB / 0.4911 GB, free: 77.72 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/1.737, allocations: 6.745 MB / 0.4977 GB, free: 72.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004998/1.742, allocations: 1.268 MB / 0.4989 GB, free: 72.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01441/1.757, allocations: 3.594 MB / 0.5024 GB, free: 71.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/1.757, allocations: 52.11 kB / 0.5025 GB, free: 71.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 5.53e-06/1.757, allocations: 0 / 0.5025 GB, free: 71.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.01709/1.774, allocations: 4.003 MB / 0.5064 GB, free: 71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.774, allocations: 65.5 kB / 0.5064 GB, free: 70.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004139/1.778, allocations: 1.197 MB / 0.5076 GB, free: 70.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003349/1.779, allocations: 29.17 kB / 0.5076 GB, free: 70.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001596/1.78, allocations: 1.418 MB / 0.509 GB, free: 70.24 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/1.781, allocations: 406.5 kB / 0.5094 GB, free: 70.03 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.781, allocations: 0 / 0.5094 GB, free: 70.03 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/1.781, allocations: 365.6 kB / 0.5098 GB, free: 69.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/1.783, allocations: 0.5618 MB / 0.5103 GB, free: 69.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.785, allocations: 1.021 MB / 0.5113 GB, free: 69.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003507/1.789, allocations: 0.8945 MB / 0.5122 GB, free: 69.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-05/1.789, allocations: 3.875 kB / 0.5122 GB, free: 69.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.008042/1.797, allocations: 2.164 MB / 0.5143 GB, free: 68.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/1.797, allocations: 11.62 kB / 0.5143 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.029e-05/1.797, allocations: 15.62 kB / 0.5143 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/1.799, allocations: 262.7 kB / 0.5146 GB, free: 68.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/1.802, allocations: 359.7 kB / 0.5149 GB, free: 68.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008057/1.81, allocations: 5.46 MB / 0.5202 GB, free: 65.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/1.813, allocations: 45.69 kB / 0.5203 GB, free: 65.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004593/1.814, allocations: 69.67 kB / 0.5204 GB, free: 65.1 MB / 394.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.0005007/1.814, allocations: 155.2 kB / 0.5205 GB, free: 64.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/1.815, allocations: 163.6 kB / 0.5207 GB, free: 64.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007516/1.822, allocations: 2.031 MB / 0.5226 GB, free: 64.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-05/1.822, allocations: 11.31 kB / 0.5227 GB, free: 64.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/1.822, allocations: 7.125 kB / 0.5227 GB, free: 64.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.203e-05/1.823, allocations: 6.75 kB / 0.5227 GB, free: 64.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.837, allocations: 4.306 MB / 0.5269 GB, free: 63.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.837, allocations: 3.438 kB / 0.5269 GB, free: 63.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.839, allocations: 166.8 kB / 0.527 GB, free: 63.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.842, allocations: 439 kB / 0.5275 GB, free: 63.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003189/1.842, allocations: 24.16 kB / 0.5275 GB, free: 63.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/1.858, allocations: 9.668 MB / 0.5369 GB, free: 57.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.858, allocations: 5.797 kB / 0.5369 GB, free: 57.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009022/1.867, allocations: 2.975 MB / 0.5398 GB, free: 56.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001621/1.868, allocations: 378.1 kB / 0.5402 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007162/1.869, allocations: 13.53 kB / 0.5402 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002374/1.872, allocations: 56.56 kB / 0.5403 GB, free: 56.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/1.872, allocations: 93.83 kB / 0.5403 GB, free: 56.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/1.872, allocations: 40.36 kB / 0.5404 GB, free: 56.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002652/1.875, allocations: 0.9003 MB / 0.5413 GB, free: 56.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.875, allocations: 5.5 kB / 0.5413 GB, free: 56.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004297/1.879, allocations: 0.5046 MB / 0.5418 GB, free: 56.55 MB / 394.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.01049/1.89, allocations: 4.206 MB / 0.5459 GB, free: 54.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005503/1.895, allocations: 1.87 MB / 0.5477 GB, free: 53.79 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.896, allocations: 6 kB / 0.5477 GB, free: 53.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004232/1.9, allocations: 1.41 MB / 0.5491 GB, free: 52.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004294/1.904, allocations: 356 kB / 0.5494 GB, free: 52.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01975/1.924, allocations: 5.073 MB / 0.5544 GB, free: 50.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/1.929, allocations: 2.333 MB / 0.5566 GB, free: 49.64 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002957/1.932, allocations: 358.3 kB / 0.557 GB, free: 49.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003181/1.935, allocations: 1.086 MB / 0.5581 GB, free: 48.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.743e-06/1.935, allocations: 3.656 kB / 0.5581 GB, free: 48.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1617/2.097, allocations: 42.82 MB / 0.5999 GB, free: 32.43 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002554/2.097, allocations: 162.7 kB / 0.6 GB, free: 32.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.221/7.318, allocations: 0 / 0.6 GB, free: 32.24 MB / 394.7 MB