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.857/1.857, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.767e-05, allocations: 3 kB / 255.3 MB, free: 3.164 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.07967, allocations: 44.5 MB / 299.8 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4464, allocations: 103.1 MB / 402.9 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4467, allocations: 84.42 kB / 403 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2775/0.7243, allocations: 79.4 MB / 482.4 MB, free: 5.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.29e-06/0.7243, allocations: 0 / 482.4 MB, free: 5.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002869/0.7246, allocations: 75.94 kB / 482.5 MB, free: 5.75 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.01177/0.7364, allocations: 3.156 MB / 485.6 MB, free: 2.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7365, allocations: 16.03 kB / 485.6 MB, free: 2.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005862/0.7424, allocations: 0.7144 MB / 486.3 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.7538, allocations: 3.264 MB / 489.6 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.7542, allocations: 234.3 kB / 489.8 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.7555, allocations: 315.9 kB / 490.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.7682, allocations: 4.058 MB / 494.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.7683, allocations: 0 / 494.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007394/0.7691, allocations: 136 kB / 494.3 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/0.7693, allocations: 146.2 kB / 494.5 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.7796, allocations: 3.289 MB / 497.8 MB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03237/0.812, allocations: 13.23 MB / 0.499 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00956/0.8216, allocations: 6.818 MB / 0.5057 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2287/1.05, allocations: 1.315 MB / 0.507 GB, free: 73.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00803/1.058, allocations: 3.705 MB / 0.5106 GB, free: 72.84 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/1.058, allocations: 43.86 kB / 0.5106 GB, free: 72.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 5.051e-06/1.059, allocations: 2.375 kB / 0.5106 GB, free: 72.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.008585/1.067, allocations: 3.808 MB / 0.5143 GB, free: 71.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/1.067, allocations: 64.91 kB / 0.5144 GB, free: 71.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003175/1.07, allocations: 1.468 MB / 0.5158 GB, free: 71.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.071, allocations: 46.52 kB / 0.5159 GB, free: 71.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000906/1.072, allocations: 1.356 MB / 0.5172 GB, free: 71.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/1.072, allocations: 422.8 kB / 0.5176 GB, free: 70.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/1.072, allocations: 33.31 kB / 0.5176 GB, free: 70.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/1.072, allocations: 372.8 kB / 0.518 GB, free: 70.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.074, allocations: 0.5911 MB / 0.5186 GB, free: 70.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.075, allocations: 1.06 MB / 0.5196 GB, free: 70.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001643/1.077, allocations: 0.8013 MB / 0.5204 GB, free: 70.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.731e-05/1.077, allocations: 5.062 kB / 0.5204 GB, free: 70.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004694/1.082, allocations: 2.11 MB / 0.5225 GB, free: 69.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/1.082, allocations: 11 kB / 0.5225 GB, free: 69.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/1.082, allocations: 13.75 kB / 0.5225 GB, free: 69.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009001/1.083, allocations: 268.7 kB / 0.5227 GB, free: 69.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/1.084, allocations: 356 kB / 0.5231 GB, free: 69.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/1.09, allocations: 5.674 MB / 0.5286 GB, free: 65.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/1.092, allocations: 80.89 kB / 0.5287 GB, free: 65.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002527/1.092, allocations: 62.56 kB / 0.5288 GB, free: 65.87 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.0003846/1.093, allocations: 208.4 kB / 0.529 GB, free: 65.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/1.093, allocations: 182.8 kB / 0.5291 GB, free: 65.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004393/1.098, allocations: 2.018 MB / 0.5311 GB, free: 65.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.098, allocations: 12.53 kB / 0.5311 GB, free: 65.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.098, allocations: 7.875 kB / 0.5311 GB, free: 65.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/1.098, allocations: 11.53 kB / 0.5311 GB, free: 65.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.108, allocations: 4.713 MB / 0.5357 GB, free: 64.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/1.108, allocations: 1.969 kB / 0.5357 GB, free: 64.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/1.109, allocations: 168 kB / 0.5359 GB, free: 64.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001703/1.111, allocations: 449 kB / 0.5363 GB, free: 64.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.111, allocations: 39.34 kB / 0.5364 GB, free: 64.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/1.122, allocations: 10.03 MB / 0.5462 GB, free: 58.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.052e-06/1.122, allocations: 0 / 0.5462 GB, free: 58.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/1.127, allocations: 2.961 MB / 0.5491 GB, free: 57.3 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/1.128, allocations: 403.7 kB / 0.5494 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003472/1.129, allocations: 36.16 kB / 0.5495 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.13, allocations: 74.8 kB / 0.5495 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.13, allocations: 92.84 kB / 0.5496 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.13, allocations: 36.86 kB / 0.5497 GB, free: 57.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002129/1.132, allocations: 1.125 MB / 0.5508 GB, free: 56.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.73e-07/1.132, allocations: 0 / 0.5508 GB, free: 56.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003162/1.136, allocations: 0.5811 MB / 0.5513 GB, free: 56.98 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.0007024/1.136, allocations: 388.6 kB / 0.5517 GB, free: 56.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003552/1.14, allocations: 1.976 MB / 0.5536 GB, free: 56.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.078e-06/1.14, allocations: 0 / 0.5536 GB, free: 56.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/1.143, allocations: 1.474 MB / 0.5551 GB, free: 55.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.146, allocations: 471.8 kB / 0.5555 GB, free: 54.98 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.156, allocations: 4.42 MB / 0.5598 GB, free: 53.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002424/1.158, allocations: 2.287 MB / 0.5621 GB, free: 52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/1.159, allocations: 133.7 kB / 0.5622 GB, free: 51.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.851e-06/1.159, allocations: 2.844 kB / 0.5622 GB, free: 51.98 MB / 394.7 MB Notification: Performance of Templates: time 0.3506/1.51, allocations: 102.9 MB / 0.6627 GB, free: 87.83 MB / 410.7 MB