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.866/1.866, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.293e-05, allocations: 7.938 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 44.49 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2222/0.4695, allocations: 102.4 MB / 396.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.4699, allocations: 91.83 kB / 396.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4735/0.9434, allocations: 78.37 MB / 475 MB, free: 73.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.078e-06/0.9435, allocations: 4 kB / 475 MB, free: 73.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002283/0.9437, allocations: 71.94 kB / 475 MB, free: 73.52 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.009948/0.9537, allocations: 3.153 MB / 478.2 MB, free: 70.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9538, allocations: 8.031 kB / 478.2 MB, free: 70.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/0.9593, allocations: 0.7296 MB / 478.9 MB, free: 69.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009358/0.9687, allocations: 3.263 MB / 482.2 MB, free: 66.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.9689, allocations: 104 kB / 482.3 MB, free: 66.2 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009046/0.9698, allocations: 187.9 kB / 482.5 MB, free: 66.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007597/0.9775, allocations: 3.098 MB / 485.6 MB, free: 62.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009281/0.9868, allocations: 3.605 MB / 489.2 MB, free: 59.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.732e-05/0.9869, allocations: 4 kB / 489.2 MB, free: 59.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003963/0.9873, allocations: 0 / 489.2 MB, free: 59.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001462/0.9875, allocations: 146.3 kB / 489.3 MB, free: 59.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02418/1.012, allocations: 12.63 MB / 0.4902 GB, free: 46.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006179/1.018, allocations: 6.749 MB / 0.4968 GB, free: 38.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00247/1.02, allocations: 1.27 MB / 0.498 GB, free: 37.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0073/1.028, allocations: 3.598 MB / 0.5015 GB, free: 33.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/1.028, allocations: 47.88 kB / 0.5016 GB, free: 33.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=117): time 4.674e-06/1.028, allocations: 4 kB / 0.5016 GB, free: 33.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=120): time 0.009687/1.038, allocations: 3.991 MB / 0.5055 GB, free: 29.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/1.038, allocations: 64.72 kB / 0.5056 GB, free: 29.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/1.04, allocations: 1.204 MB / 0.5067 GB, free: 28.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.04, allocations: 25.7 kB / 0.5068 GB, free: 28.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007301/1.041, allocations: 1.387 MB / 0.5081 GB, free: 26.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000357/1.041, allocations: 406 kB / 0.5085 GB, free: 26.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-05/1.041, allocations: 0 / 0.5085 GB, free: 26.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.041, allocations: 370.8 kB / 0.5089 GB, free: 26.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/1.042, allocations: 0.5662 MB / 0.5094 GB, free: 25.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/1.044, allocations: 1.017 MB / 0.5104 GB, free: 24.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/1.046, allocations: 0.9039 MB / 0.5113 GB, free: 23.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.29e-05/1.046, allocations: 4 kB / 0.5113 GB, free: 23.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004666/1.05, allocations: 2.059 MB / 0.5133 GB, free: 21.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.051, allocations: 22.28 kB / 0.5133 GB, free: 21.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/1.051, allocations: 19.94 kB / 0.5133 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008466/1.051, allocations: 255.3 kB / 0.5136 GB, free: 20.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/1.053, allocations: 359.4 kB / 0.5139 GB, free: 20.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00517/1.058, allocations: 5.451 MB / 0.5192 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/1.06, allocations: 52.05 kB / 0.5193 GB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/1.06, allocations: 75.98 kB / 0.5194 GB, free: 14.65 MB / 362.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.000319/1.061, allocations: 148.7 kB / 0.5195 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003376/1.061, allocations: 158 kB / 0.5197 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/1.065, allocations: 2.035 MB / 0.5216 GB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.065, allocations: 12 kB / 0.5217 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.065, allocations: 11.94 kB / 0.5217 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.872e-05/1.065, allocations: 7.969 kB / 0.5217 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00915/1.075, allocations: 4.303 MB / 0.5259 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.075, allocations: 4 kB / 0.5259 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009254/1.076, allocations: 175.7 kB / 0.526 GB, free: 7.633 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/1.077, allocations: 436.3 kB / 0.5265 GB, free: 7.191 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/1.077, allocations: 19.98 kB / 0.5265 GB, free: 7.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01088/1.088, allocations: 9.673 MB / 0.5359 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.829e-06/1.088, allocations: 4.031 kB / 0.5359 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006745/1.095, allocations: 2.986 MB / 0.5389 GB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/1.096, allocations: 375 kB / 0.5392 GB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003402/1.097, allocations: 12 kB / 0.5392 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.098, allocations: 55.94 kB / 0.5393 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/1.098, allocations: 93.17 kB / 0.5394 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.098, allocations: 32 kB / 0.5394 GB, free: 9.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001944/1.1, allocations: 0.9035 MB / 0.5403 GB, free: 8.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.12e-06/1.1, allocations: 4 kB / 0.5403 GB, free: 8.312 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00301/1.103, allocations: 0.504 MB / 0.5408 GB, free: 7.809 MB / 378.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.0007198/1.104, allocations: 330.1 kB / 0.5411 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003957/1.108, allocations: 1.87 MB / 0.5429 GB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.449e-06/1.108, allocations: 4 kB / 0.5429 GB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.111, allocations: 1.397 MB / 0.5443 GB, free: 4.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/1.113, allocations: 367.3 kB / 0.5446 GB, free: 3.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.125, allocations: 4.301 MB / 0.5488 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.128, allocations: 2.285 MB / 0.5511 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/1.129, allocations: 123.4 kB / 0.5512 GB, free: 12.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.991e-06/1.129, allocations: 0 / 0.5512 GB, free: 12.98 MB / 394.7 MB Notification: Performance of Templates: time 0.3482/1.477, allocations: 100.8 MB / 0.6496 GB, free: 43.58 MB / 394.7 MB