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.945/1.945, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.82e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 44.5 MB / 294.1 MB, free: 14.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.3988, allocations: 97.12 MB / 391.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.3991, allocations: 95.92 kB / 391.3 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3703/0.7695, allocations: 39.67 MB / 431 MB, free: 92.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.583e-06/0.7695, allocations: 0 / 431 MB, free: 92.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000147/0.7697, allocations: 55.75 kB / 431.1 MB, free: 92.29 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004388/0.7741, allocations: 1.927 MB / 433 MB, free: 91.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7741, allocations: 9.625 kB / 433 MB, free: 91.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.7753, allocations: 248 kB / 433.2 MB, free: 91.35 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003534/0.7789, allocations: 1.345 MB / 434.6 MB, free: 90.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.707e-05/0.779, allocations: 59.5 kB / 434.6 MB, free: 90.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003458/0.7794, allocations: 108 kB / 434.7 MB, free: 90.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004061/0.7834, allocations: 1.692 MB / 436.4 MB, free: 90.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004395/0.7879, allocations: 2.024 MB / 438.5 MB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-05/0.788, allocations: 8.562 kB / 438.5 MB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.7882, allocations: 8.281 kB / 438.5 MB, free: 90.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.55e-05/0.7883, allocations: 84.8 kB / 438.6 MB, free: 90.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.802, allocations: 6.806 MB / 445.4 MB, free: 88.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/0.8039, allocations: 1.235 MB / 446.6 MB, free: 87.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.8052, allocations: 0.6658 MB / 447.3 MB, free: 87.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/0.8056, allocations: 134.3 kB / 447.4 MB, free: 87.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.8056, allocations: 43.3 kB / 447.4 MB, free: 87.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=90): time 4.529e-06/0.8057, allocations: 4 kB / 447.4 MB, free: 87.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=113): time 0.01149/0.8172, allocations: 4.572 MB / 452 MB, free: 85.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.8172, allocations: 64.06 kB / 452.1 MB, free: 85.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001591/0.8188, allocations: 0.8385 MB / 452.9 MB, free: 85.19 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001999/0.8191, allocations: 29.52 kB / 452.9 MB, free: 85.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.8195, allocations: 0.8625 MB / 453.8 MB, free: 84.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003603/0.8199, allocations: 381 kB / 454.2 MB, free: 84.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.072e-05/0.82, allocations: 2.906 kB / 454.2 MB, free: 84.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.8201, allocations: 360.4 kB / 454.5 MB, free: 83.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.8212, allocations: 0.609 MB / 455.1 MB, free: 83.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.8225, allocations: 0.9097 MB / 456.1 MB, free: 82.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.824, allocations: 0.7585 MB / 456.8 MB, free: 82.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.824, allocations: 3.469 kB / 456.8 MB, free: 82.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00455/0.8286, allocations: 2.118 MB / 458.9 MB, free: 81.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.8287, allocations: 13.39 kB / 458.9 MB, free: 81.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.8287, allocations: 11.5 kB / 459 MB, free: 81.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.8308, allocations: 0.6273 MB / 459.6 MB, free: 81.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.8323, allocations: 286.1 kB / 459.9 MB, free: 81.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008555/0.8409, allocations: 6.039 MB / 465.9 MB, free: 77.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.8424, allocations: 75.19 kB / 466 MB, free: 77.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.8426, allocations: 49.81 kB / 466 MB, free: 77.79 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.0002965/0.8429, allocations: 142.6 kB / 466.2 MB, free: 77.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.8432, allocations: 122.9 kB / 466.3 MB, free: 77.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004572/0.8478, allocations: 2.07 MB / 468.4 MB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.8479, allocations: 12 kB / 468.4 MB, free: 76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.8479, allocations: 11.28 kB / 468.4 MB, free: 76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.8479, allocations: 3.938 kB / 468.4 MB, free: 76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00858/0.8565, allocations: 4.006 MB / 472.4 MB, free: 72.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.8566, allocations: 7.938 kB / 472.4 MB, free: 72.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009519/0.8576, allocations: 175.6 kB / 472.6 MB, free: 72.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.86, allocations: 0.7206 MB / 473.3 MB, free: 71.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.8602, allocations: 15.42 kB / 473.3 MB, free: 71.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.8704, allocations: 7.726 MB / 481 MB, free: 64.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.316e-06/0.8704, allocations: 10.38 kB / 481 MB, free: 64.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/0.876, allocations: 3.153 MB / 484.2 MB, free: 61.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008937/0.8769, allocations: 336.9 kB / 484.5 MB, free: 61.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002346/0.8772, allocations: 15.75 kB / 484.5 MB, free: 61.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.8782, allocations: 66.03 kB / 484.6 MB, free: 61.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.8785, allocations: 96.8 kB / 484.7 MB, free: 61.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.8786, allocations: 39.12 kB / 484.7 MB, free: 61.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00107/0.8797, allocations: 0.6379 MB / 485.4 MB, free: 60.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.53e-07/0.8797, allocations: 0 / 485.4 MB, free: 60.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001911/0.8817, allocations: 404 kB / 485.8 MB, free: 60.27 MB / 362.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.0005424/0.8822, allocations: 282 kB / 486 MB, free: 60.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003761/0.886, allocations: 2.123 MB / 488.2 MB, free: 58.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.886, allocations: 4.25 kB / 488.2 MB, free: 58.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003421/0.8895, allocations: 1.475 MB / 489.6 MB, free: 56.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/0.8913, allocations: 265.9 kB / 489.9 MB, free: 56.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006514/0.8979, allocations: 3.228 MB / 493.1 MB, free: 53.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/0.8994, allocations: 1.673 MB / 494.8 MB, free: 51.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/0.8999, allocations: 101.7 kB / 494.9 MB, free: 51.23 MB / 362.7 MB Notification: Performance of SimCode: time 1.704e-06/0.8999, allocations: 3.938 kB / 494.9 MB, free: 51.22 MB / 362.7 MB Notification: Performance of Templates: time 0.06209/0.962, allocations: 55.91 MB / 0.5379 GB, free: 11.37 MB / 378.7 MB