Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.127/2.127, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.949e-05, allocations: 4 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3182, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.01278/0.331, allocations: 6.973 MB / 310.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007428/0.3385, allocations: 2.544 MB / 312.8 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001553/0.3402, allocations: 47.81 kB / 312.9 MB, free: 4.105 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.3422, allocations: 449.4 kB / 313.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003099/0.3453, allocations: 0.5373 MB / 313.8 MB, free: 3.125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3465, allocations: 211.6 kB / 314 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003481/0.3501, allocations: 1.08 MB / 315.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.3522, allocations: 0.9295 MB / 316.1 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.3537, allocations: 0.561 MB / 316.6 MB, free: 336 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.3558, allocations: 0.8138 MB / 317.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.3567, allocations: 147.9 kB / 317.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004092/0.3571, allocations: 76 kB / 317.7 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008827/0.358, allocations: 0.5062 MB / 318.2 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000806/0.3589, allocations: 180 kB / 318.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004866/0.3638, allocations: 2.789 MB / 321.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3638, allocations: 0 / 321.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3638, allocations: 0 / 321.1 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001314/0.364, allocations: 0 / 321.1 MB, free: 11.81 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.00671/0.3707, allocations: 1.949 MB / 323.1 MB, free: 9.805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.3708, allocations: 8.031 kB / 323.1 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.3722, allocations: 253.2 kB / 323.3 MB, free: 9.547 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/0.3759, allocations: 1.176 MB / 324.5 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.3761, allocations: 135.5 kB / 324.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006559/0.3768, allocations: 187.9 kB / 324.8 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007858/0.3847, allocations: 2.347 MB / 327.2 MB, free: 5.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.817e-05/0.3848, allocations: 11.83 kB / 327.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.3852, allocations: 79.98 kB / 327.3 MB, free: 5.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/0.3854, allocations: 99.44 kB / 327.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00709/0.3925, allocations: 1.962 MB / 329.3 MB, free: 3.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/0.4136, allocations: 7.133 MB / 336.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/0.4171, allocations: 1.277 MB / 337.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003746/0.4175, allocations: 118.1 kB / 337.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.4176, allocations: 47.55 kB / 337.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of pre-optimization done (n=87): time 3.557e-06/0.4176, allocations: 0 / 337.9 MB, free: 10.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=107): time 0.02858/0.4462, allocations: 6.967 MB / 344.9 MB, free: 3.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.4463, allocations: 60.41 kB / 344.9 MB, free: 3.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.4489, allocations: 1.032 MB / 345.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.4492, allocations: 45.7 kB / 346 MB, free: 2.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009528/0.4502, allocations: 0.8399 MB / 346.8 MB, free: 1.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006732/0.4509, allocations: 378.5 kB / 347.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001316/0.4511, allocations: 24 kB / 347.2 MB, free: 1.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.4513, allocations: 358.8 kB / 347.6 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.4534, allocations: 0.6584 MB / 348.2 MB, free: 64 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.4559, allocations: 0.9696 MB / 349.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.4584, allocations: 0.7955 MB / 350 MB, free: 14.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.4585, allocations: 4 kB / 350 MB, free: 14.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.007546/0.466, allocations: 2.269 MB / 352.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.4661, allocations: 12 kB / 352.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.4661, allocations: 8 kB / 352.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002672/0.4688, allocations: 0.5927 MB / 352.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.4709, allocations: 275.5 kB / 353.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.4843, allocations: 6.416 MB / 359.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.4862, allocations: 91.88 kB / 359.7 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/0.4864, allocations: 48 kB / 359.7 MB, free: 4.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001719/0.4882, allocations: 0.6066 MB / 360.3 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004939/0.4887, allocations: 130.4 kB / 360.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006973/0.4957, allocations: 2.169 MB / 362.6 MB, free: 1.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/0.4957, allocations: 12 kB / 362.6 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.4958, allocations: 4 kB / 362.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.4958, allocations: 3.984 kB / 362.6 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.5092, allocations: 4.285 MB / 366.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/0.5093, allocations: 4 kB / 366.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/0.5108, allocations: 176 kB / 367.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/0.514, allocations: 0.6434 MB / 367.7 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/0.5143, allocations: 35.97 kB / 367.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/0.5293, allocations: 7.939 MB / 375.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5293, allocations: 3.938 kB / 375.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009134/0.5385, allocations: 3.219 MB / 378.9 MB, free: 300 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.5398, allocations: 343.3 kB / 379.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/0.5404, allocations: 31.98 kB / 379.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/0.542, allocations: 83.91 kB / 379.4 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003867/0.5424, allocations: 88.83 kB / 379.5 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.5426, allocations: 31.98 kB / 379.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001958/0.5445, allocations: 0.7911 MB / 380.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5446, allocations: 0 / 380.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002369/0.547, allocations: 424 kB / 380.7 MB, free: 14.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * 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): 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 {(5,84.0%) 20,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005552/0.5476, allocations: 155 kB / 380.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006511/0.5541, allocations: 2.221 MB / 383.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.5542, allocations: 0 / 383.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004491/0.5587, allocations: 1.507 MB / 384.6 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.5616, allocations: 340.5 kB / 384.9 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.5732, allocations: 4.702 MB / 389.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.5758, allocations: 1.657 MB / 391.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006721/0.5765, allocations: 99.42 kB / 391.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5765, allocations: 0 / 391.4 MB, free: 3.598 MB / 330.7 MB Notification: Performance of Templates: time 0.3571/0.9337, allocations: 55.98 MB / 447.3 MB, free: 95.8 MB / 362.7 MB