Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.783/1.783, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.459e-05, allocations: 0 / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09584, allocations: 44.49 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3653/0.4612, allocations: 100.4 MB / 400.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.4615, allocations: 82.78 kB / 400.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1939/0.6554, allocations: 49.11 MB / 449.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.01e-06/0.6555, allocations: 0 / 449.4 MB, free: 5.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002605/0.6557, allocations: 59.94 kB / 449.5 MB, free: 5.102 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.007556/0.6633, allocations: 2.462 MB / 452 MB, free: 2.742 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.6634, allocations: 12.03 kB / 452 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/0.665, allocations: 332.8 kB / 452.3 MB, free: 2.402 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004986/0.6701, allocations: 1.727 MB / 454 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/0.6703, allocations: 168.9 kB / 454.2 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007949/0.6711, allocations: 238.7 kB / 454.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.6795, allocations: 3.053 MB / 457.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.36e-05/0.6796, allocations: 7.984 kB / 457.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004647/0.6801, allocations: 99.94 kB / 457.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001429/0.6802, allocations: 100.4 kB / 457.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007153/0.6874, allocations: 2.484 MB / 460.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03621/0.7236, allocations: 9.934 MB / 470.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00644/0.7301, allocations: 2.059 MB / 472.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/0.7337, allocations: 1.091 MB / 473.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003899/0.7341, allocations: 142.4 kB / 473.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.7342, allocations: 43.88 kB / 473.4 MB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.553e-06/0.7342, allocations: 0 / 473.4 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.01871/0.7529, allocations: 6.29 MB / 479.7 MB, free: 7.652 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.753, allocations: 72.66 kB / 479.8 MB, free: 7.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003415/0.7565, allocations: 1.449 MB / 481.2 MB, free: 6.113 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003295/0.7568, allocations: 49.7 kB / 481.3 MB, free: 6.059 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.7581, allocations: 1.078 MB / 482.4 MB, free: 4.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007604/0.7588, allocations: 488.8 kB / 482.8 MB, free: 4.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.759, allocations: 36 kB / 482.9 MB, free: 4.445 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.7593, allocations: 365.9 kB / 483.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00194/0.7612, allocations: 0.8551 MB / 484.1 MB, free: 3.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.7636, allocations: 1.172 MB / 485.3 MB, free: 1.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/0.766, allocations: 1.012 MB / 486.3 MB, free: 0.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.766, allocations: 4 kB / 486.3 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007376/0.7734, allocations: 2.897 MB / 489.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/0.7735, allocations: 8 kB / 489.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.7735, allocations: 8 kB / 489.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002905/0.7764, allocations: 0.8378 MB / 490 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.7783, allocations: 315.5 kB / 490.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01638/0.7947, allocations: 9.057 MB / 499.4 MB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/0.7966, allocations: 95.91 kB / 499.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000326/0.797, allocations: 59.95 kB / 499.6 MB, free: 3.203 MB / 378.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004719/0.7975, allocations: 204.3 kB / 499.8 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005921/0.7981, allocations: 185.8 kB / 499.9 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006853/0.8049, allocations: 2.776 MB / 0.4909 GB, free: 12 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.577e-05/0.805, allocations: 16.05 kB / 0.4909 GB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.805, allocations: 8 kB / 0.491 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/0.8051, allocations: 8.109 kB / 0.491 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.8197, allocations: 5.59 MB / 0.4964 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.8198, allocations: 15.95 kB / 0.4964 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.8212, allocations: 203.7 kB / 0.4966 GB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003347/0.8246, allocations: 0.8977 MB / 0.4975 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002925/0.8249, allocations: 31.98 kB / 0.4975 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2377/1.063, allocations: 10.57 MB / 0.5079 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.285e-06/1.063, allocations: 5.562 kB / 0.5079 GB, free: 91.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008245/1.071, allocations: 4.196 MB / 0.512 GB, free: 91.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.072, allocations: 466.8 kB / 0.5124 GB, free: 91.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/1.073, allocations: 34.7 kB / 0.5124 GB, free: 91.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.074, allocations: 93.48 kB / 0.5125 GB, free: 91.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004666/1.074, allocations: 156.5 kB / 0.5127 GB, free: 91.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.075, allocations: 38.8 kB / 0.5127 GB, free: 91.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002424/1.077, allocations: 1.112 MB / 0.5138 GB, free: 91.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.018e-06/1.077, allocations: 5.469 kB / 0.5138 GB, free: 91.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002968/1.08, allocations: 0.5864 MB / 0.5144 GB, free: 91.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000689/1.081, allocations: 307.5 kB / 0.5147 GB, free: 91.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005566/1.086, allocations: 2.836 MB / 0.5174 GB, free: 90.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.685e-06/1.086, allocations: 1.031 kB / 0.5174 GB, free: 90.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00395/1.09, allocations: 1.949 MB / 0.5193 GB, free: 90.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/1.093, allocations: 479 kB / 0.5198 GB, free: 90 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.105, allocations: 4.264 MB / 0.524 GB, free: 89.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003649/1.109, allocations: 2.067 MB / 0.526 GB, free: 88.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003058/1.112, allocations: 402.3 kB / 0.5264 GB, free: 88.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008934/1.113, allocations: 116.8 kB / 0.5265 GB, free: 88.33 MB / 394.7 MB Notification: Performance of SimCode: time 2.665e-06/1.113, allocations: 0 / 0.5265 GB, free: 88.33 MB / 394.7 MB Notification: Performance of Templates: time 0.08956/1.203, allocations: 32.56 MB / 0.5583 GB, free: 86.37 MB / 394.7 MB