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 1.889/1.889, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.512e-05/4.526e-05, allocations: 3.406 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1262, allocations: 44.5 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4869, allocations: 97.78 MB / 397.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.4871, allocations: 84.86 kB / 397.7 MB, free: 18.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.157/0.6442, allocations: 40.22 MB / 437.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.359e-06/0.6442, allocations: 0 / 437.9 MB, free: 15.79 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.6444, allocations: 55.92 kB / 438 MB, free: 15.74 MB / 330.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.005654/0.65, allocations: 1.931 MB / 439.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6501, allocations: 12.03 kB / 439.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001335/0.6515, allocations: 249.2 kB / 440.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003884/0.6554, allocations: 1.33 MB / 441.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.6556, allocations: 136.8 kB / 441.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.6561, allocations: 182.7 kB / 441.8 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005847/0.662, allocations: 2.288 MB / 444.1 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.228e-05/0.6621, allocations: 7.891 kB / 444.1 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.6624, allocations: 84.98 kB / 444.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000127/0.6625, allocations: 79.27 kB / 444.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004934/0.6675, allocations: 1.794 MB / 446.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/0.6848, allocations: 7.162 MB / 453.2 MB, free: 3.125 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.6874, allocations: 1.265 MB / 454.5 MB, free: 1.793 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.689, allocations: 0.6936 MB / 455.2 MB, free: 1.098 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003413/0.6894, allocations: 137.8 kB / 455.3 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.6895, allocations: 47.34 kB / 455.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 4.251e-06/0.6895, allocations: 0 / 455.4 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.01894/0.7084, allocations: 5.953 MB / 461.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.7085, allocations: 68.36 kB / 461.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.7109, allocations: 1.026 MB / 462.4 MB, free: 9.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/0.7111, allocations: 45.7 kB / 462.4 MB, free: 9.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.7119, allocations: 0.8399 MB / 463.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005298/0.7125, allocations: 390.3 kB / 463.7 MB, free: 8.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.7126, allocations: 28 kB / 463.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.7129, allocations: 358.8 kB / 464 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.7143, allocations: 0.6429 MB / 464.7 MB, free: 7.434 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.716, allocations: 0.9346 MB / 465.6 MB, free: 6.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/0.7177, allocations: 0.7817 MB / 466.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.077e-06/0.7177, allocations: 0 / 466.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005533/0.7233, allocations: 2.25 MB / 468.7 MB, free: 3.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.607e-05/0.7233, allocations: 12 kB / 468.7 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.7234, allocations: 8 kB / 468.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002244/0.7256, allocations: 0.6374 MB / 469.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.7272, allocations: 283.6 kB / 469.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.7381, allocations: 6.3 MB / 475.9 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.7396, allocations: 95.88 kB / 476 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002292/0.7399, allocations: 55.98 kB / 476 MB, free: 11.65 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003889/0.7403, allocations: 176.6 kB / 476.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004651/0.7408, allocations: 138.3 kB / 476.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005617/0.7464, allocations: 2.185 MB / 478.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.7465, allocations: 15.94 kB / 478.5 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/0.7465, allocations: 8 kB / 478.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/0.7465, allocations: 3.984 kB / 478.6 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01167/0.7582, allocations: 4.354 MB / 482.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.7583, allocations: 352 / 482.9 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7594, allocations: 175.8 kB / 483.1 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/0.7622, allocations: 0.7291 MB / 483.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/0.7624, allocations: 35.94 kB / 483.8 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.7756, allocations: 8.038 MB / 491.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.195e-06/0.7757, allocations: 4.188 kB / 491.9 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007254/0.783, allocations: 3.256 MB / 495.1 MB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001142/0.7841, allocations: 359.3 kB / 495.5 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/0.7846, allocations: 35.98 kB / 495.5 MB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.7858, allocations: 87.91 kB / 495.6 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003253/0.7861, allocations: 92.77 kB / 495.7 MB, free: 7.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.7863, allocations: 35.98 kB / 495.7 MB, free: 7.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00176/0.788, allocations: 0.7964 MB / 496.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.7881, allocations: 0 / 496.5 MB, free: 6.461 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002502/0.7906, allocations: 471.9 kB / 497 MB, free: 6 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 80 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007143/0.7913, allocations: 294 kB / 497.3 MB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004998/0.7963, allocations: 2.215 MB / 499.5 MB, free: 3.426 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.7964, allocations: 6 kB / 499.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003573/0.8, allocations: 1.534 MB / 0.4893 GB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/0.8024, allocations: 344.9 kB / 0.4896 GB, free: 1.484 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008126/0.8106, allocations: 3.316 MB / 0.4929 GB, free: 14.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.8127, allocations: 1.669 MB / 0.4945 GB, free: 12.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.8132, allocations: 99.42 kB / 0.4946 GB, free: 12.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.809e-06/0.8133, allocations: 0 / 0.4946 GB, free: 12.3 MB / 394.7 MB Notification: Performance of Templates: time 0.3274/1.141, allocations: 57.27 MB / 0.5505 GB, free: 89.02 MB / 394.7 MB