Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.94e-05, allocations: 3.188 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08689, allocations: 44.51 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4021/0.4891, allocations: 103.1 MB / 402.9 MB, free: 17.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4894, allocations: 94.27 kB / 403 MB, free: 17.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2791/0.7685, allocations: 79.38 MB / 482.4 MB, free: 5.852 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.877e-06/0.7685, allocations: 0 / 482.4 MB, free: 5.852 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002432/0.7688, allocations: 75.94 kB / 482.5 MB, free: 5.777 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.01071/0.7795, allocations: 3.16 MB / 485.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.7795, allocations: 12.02 kB / 485.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005728/0.7853, allocations: 0.7144 MB / 486.4 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01116/0.7965, allocations: 3.272 MB / 489.6 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.7968, allocations: 226.3 kB / 489.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001147/0.798, allocations: 315.8 kB / 490.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.81, allocations: 4.019 MB / 494.2 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.8102, allocations: 8 kB / 494.2 MB, free: 9.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005936/0.8108, allocations: 136 kB / 494.3 MB, free: 9.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001956/0.811, allocations: 142.3 kB / 494.5 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009727/0.8207, allocations: 3.25 MB / 497.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03127/0.8521, allocations: 13.25 MB / 0.499 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009197/0.8613, allocations: 6.788 MB / 0.5056 GB, free: 1.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2274/1.089, allocations: 1.318 MB / 0.5069 GB, free: 72.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008827/1.098, allocations: 3.706 MB / 0.5105 GB, free: 72.37 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/1.098, allocations: 47.03 kB / 0.5106 GB, free: 72.33 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 4.935e-06/1.098, allocations: 0 / 0.5106 GB, free: 72.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.009749/1.107, allocations: 3.808 MB / 0.5143 GB, free: 71.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/1.108, allocations: 64.09 kB / 0.5143 GB, free: 71.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/1.111, allocations: 1.467 MB / 0.5158 GB, free: 71.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002297/1.111, allocations: 48.45 kB / 0.5158 GB, free: 71.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009168/1.112, allocations: 1.357 MB / 0.5171 GB, free: 70.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004141/1.112, allocations: 424.1 kB / 0.5175 GB, free: 70.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/1.112, allocations: 28.59 kB / 0.5176 GB, free: 70.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/1.113, allocations: 370.4 kB / 0.5179 GB, free: 70.14 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.114, allocations: 0.5939 MB / 0.5185 GB, free: 70.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/1.116, allocations: 1.046 MB / 0.5195 GB, free: 69.6 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/1.117, allocations: 0.8072 MB / 0.5203 GB, free: 69.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/1.117, allocations: 7.062 kB / 0.5203 GB, free: 69.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004818/1.122, allocations: 2.063 MB / 0.5223 GB, free: 69.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/1.122, allocations: 11.97 kB / 0.5223 GB, free: 69.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/1.122, allocations: 14.09 kB / 0.5224 GB, free: 69.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009267/1.123, allocations: 269.9 kB / 0.5226 GB, free: 69.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/1.125, allocations: 357.4 kB / 0.523 GB, free: 69.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/1.131, allocations: 5.669 MB / 0.5285 GB, free: 65.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.133, allocations: 78.3 kB / 0.5286 GB, free: 65.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/1.133, allocations: 68.05 kB / 0.5286 GB, free: 65.39 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.000369/1.134, allocations: 198.3 kB / 0.5288 GB, free: 65.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/1.134, allocations: 186.4 kB / 0.529 GB, free: 65.19 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/1.138, allocations: 2.014 MB / 0.531 GB, free: 64.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/1.138, allocations: 12.56 kB / 0.531 GB, free: 64.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/1.138, allocations: 8.75 kB / 0.531 GB, free: 64.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/1.138, allocations: 6.75 kB / 0.531 GB, free: 64.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.149, allocations: 4.702 MB / 0.5356 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.149, allocations: 3.875 kB / 0.5356 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.15, allocations: 166.4 kB / 0.5357 GB, free: 64.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/1.152, allocations: 464.4 kB / 0.5362 GB, free: 64.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/1.152, allocations: 37.92 kB / 0.5362 GB, free: 64.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/1.163, allocations: 10.03 MB / 0.546 GB, free: 57.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.152e-06/1.163, allocations: 0 / 0.546 GB, free: 57.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/1.169, allocations: 2.958 MB / 0.5489 GB, free: 56.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/1.17, allocations: 407.5 kB / 0.5493 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003836/1.17, allocations: 29.38 kB / 0.5493 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.172, allocations: 72 kB / 0.5494 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002906/1.172, allocations: 105 kB / 0.5495 GB, free: 56.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/1.172, allocations: 34.16 kB / 0.5495 GB, free: 56.63 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0022/1.175, allocations: 1.125 MB / 0.5506 GB, free: 56.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.4e-07/1.175, allocations: 0 / 0.5506 GB, free: 56.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003241/1.178, allocations: 0.575 MB / 0.5512 GB, free: 56.51 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.0007047/1.179, allocations: 394.3 kB / 0.5516 GB, free: 56.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003559/1.182, allocations: 1.926 MB / 0.5534 GB, free: 55.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.185e-06/1.182, allocations: 0 / 0.5534 GB, free: 55.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/1.185, allocations: 1.429 MB / 0.5548 GB, free: 54.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/1.188, allocations: 486.3 kB / 0.5553 GB, free: 54.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/1.198, allocations: 4.408 MB / 0.5596 GB, free: 52.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002444/1.201, allocations: 2.284 MB / 0.5618 GB, free: 51.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007062/1.202, allocations: 132.9 kB / 0.562 GB, free: 51.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.932e-06/1.202, allocations: 0 / 0.562 GB, free: 51.66 MB / 394.7 MB Notification: Performance of Templates: time 0.3576/1.559, allocations: 102.7 MB / 0.6622 GB, free: 86.95 MB / 410.7 MB