Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.808e-05, allocations: 4 kB / 255.4 MB, free: 2.734 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07423/0.07428, allocations: 44.5 MB / 299.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/0.4207, allocations: 103.1 MB / 403 MB, free: 17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.421, allocations: 84.94 kB / 403 MB, free: 17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2701/0.6912, allocations: 79.39 MB / 482.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.452e-06/0.6912, allocations: 0 / 482.4 MB, free: 5.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002575/0.6915, allocations: 79.92 kB / 482.5 MB, free: 5.34 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.01094/0.7024, allocations: 3.16 MB / 485.7 MB, free: 2.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7025, allocations: 12.02 kB / 485.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.7081, allocations: 0.7183 MB / 486.4 MB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.719, allocations: 3.264 MB / 489.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003175/0.7193, allocations: 238.2 kB / 489.9 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009896/0.7203, allocations: 311.9 kB / 490.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/0.7311, allocations: 4.019 MB / 494.2 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001015/0.7312, allocations: 0 / 494.2 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004792/0.7317, allocations: 132 kB / 494.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001872/0.7319, allocations: 146.3 kB / 494.5 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008967/0.7409, allocations: 3.246 MB / 497.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.7715, allocations: 13.24 MB / 0.499 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009114/0.7806, allocations: 6.796 MB / 0.5056 GB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2251/1.006, allocations: 1.318 MB / 0.5069 GB, free: 73.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008022/1.014, allocations: 3.707 MB / 0.5105 GB, free: 72.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.014, allocations: 45.23 kB / 0.5106 GB, free: 72.83 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 4.827e-06/1.014, allocations: 0 / 0.5106 GB, free: 72.83 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.00859/1.023, allocations: 3.815 MB / 0.5143 GB, free: 71.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/1.023, allocations: 64.56 kB / 0.5144 GB, free: 71.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003071/1.026, allocations: 1.463 MB / 0.5158 GB, free: 71.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002069/1.026, allocations: 46.48 kB / 0.5158 GB, free: 71.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.027, allocations: 1.417 MB / 0.5172 GB, free: 71.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004422/1.027, allocations: 423.9 kB / 0.5176 GB, free: 71.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.028, allocations: 31.06 kB / 0.5177 GB, free: 71.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/1.028, allocations: 367.7 kB / 0.518 GB, free: 70.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/1.029, allocations: 0.5883 MB / 0.5186 GB, free: 70.71 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.031, allocations: 1.05 MB / 0.5196 GB, free: 70.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/1.032, allocations: 0.8071 MB / 0.5204 GB, free: 70.15 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/1.032, allocations: 4.969 kB / 0.5204 GB, free: 70.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004868/1.037, allocations: 2.177 MB / 0.5225 GB, free: 69.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/1.037, allocations: 11 kB / 0.5225 GB, free: 69.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/1.037, allocations: 15.12 kB / 0.5226 GB, free: 69.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008926/1.038, allocations: 267 kB / 0.5228 GB, free: 69.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/1.04, allocations: 358.7 kB / 0.5232 GB, free: 69.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/1.046, allocations: 5.66 MB / 0.5287 GB, free: 65.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.048, allocations: 85.98 kB / 0.5288 GB, free: 65.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/1.048, allocations: 66.67 kB / 0.5288 GB, free: 65.89 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.0003491/1.048, allocations: 200.9 kB / 0.529 GB, free: 65.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003412/1.048, allocations: 179.3 kB / 0.5292 GB, free: 65.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/1.053, allocations: 2.031 MB / 0.5312 GB, free: 65.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/1.053, allocations: 14.22 kB / 0.5312 GB, free: 65.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.053, allocations: 3.812 kB / 0.5312 GB, free: 65.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/1.053, allocations: 7.719 kB / 0.5312 GB, free: 65.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009748/1.063, allocations: 4.692 MB / 0.5358 GB, free: 64.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.75e-06/1.063, allocations: 0 / 0.5358 GB, free: 64.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/1.064, allocations: 172.3 kB / 0.5359 GB, free: 64.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001574/1.065, allocations: 450.5 kB / 0.5364 GB, free: 64.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/1.066, allocations: 37.98 kB / 0.5364 GB, free: 64.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/1.077, allocations: 10.03 MB / 0.5462 GB, free: 58.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.922e-06/1.077, allocations: 0 / 0.5462 GB, free: 58.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005644/1.082, allocations: 2.969 MB / 0.5491 GB, free: 57.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/1.083, allocations: 402.1 kB / 0.5495 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/1.084, allocations: 32.45 kB / 0.5495 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.085, allocations: 77.09 kB / 0.5496 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.085, allocations: 96.03 kB / 0.5497 GB, free: 57.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/1.086, allocations: 39.28 kB / 0.5497 GB, free: 57.13 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00213/1.088, allocations: 1.122 MB / 0.5508 GB, free: 56.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.63e-07/1.088, allocations: 0 / 0.5508 GB, free: 56.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003063/1.091, allocations: 0.575 MB / 0.5514 GB, free: 56.92 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.0006848/1.091, allocations: 389.4 kB / 0.5518 GB, free: 56.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003498/1.095, allocations: 1.923 MB / 0.5536 GB, free: 55.83 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.177e-06/1.095, allocations: 0 / 0.5536 GB, free: 55.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/1.097, allocations: 1.433 MB / 0.555 GB, free: 54.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.1, allocations: 475.9 kB / 0.5555 GB, free: 54.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/1.11, allocations: 4.423 MB / 0.5598 GB, free: 52.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/1.113, allocations: 2.34 MB / 0.5621 GB, free: 51.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001978/1.115, allocations: 378.7 kB / 0.5624 GB, free: 51.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004422/1.115, allocations: 122.5 kB / 0.5626 GB, free: 51.76 MB / 394.7 MB Notification: Performance of SimCode: time 2.268e-06/1.115, allocations: 0 / 0.5626 GB, free: 51.76 MB / 394.7 MB Notification: Performance of Templates: time 0.06989/1.185, allocations: 28.09 MB / 0.59 GB, free: 49.91 MB / 394.7 MB