Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadModel(Modelica): time 1.729/1.729, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.238e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3191, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.4639, allocations: 95.18 MB / 359 MB, free: 10.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4642, allocations: 83.95 kB / 359.1 MB, free: 10.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4028/0.867, allocations: 49.07 MB / 408.1 MB, free: 66.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.965e-06/0.8671, allocations: 0 / 408.1 MB, free: 66.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000177/0.8673, allocations: 63.94 kB / 408.2 MB, free: 65.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.0057/0.873, allocations: 2.453 MB / 410.6 MB, free: 63.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8731, allocations: 11.97 kB / 410.6 MB, free: 63.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.8744, allocations: 332.7 kB / 411 MB, free: 63.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004091/0.8785, allocations: 1.681 MB / 412.7 MB, free: 61.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.8787, allocations: 176.5 kB / 412.8 MB, free: 61.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004678/0.8792, allocations: 223.9 kB / 413 MB, free: 61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006689/0.8859, allocations: 3.027 MB / 416.1 MB, free: 57.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-05/0.886, allocations: 8 kB / 416.1 MB, free: 57.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003103/0.8864, allocations: 96 kB / 416.2 MB, free: 57.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.8865, allocations: 96.41 kB / 416.3 MB, free: 57.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005441/0.8919, allocations: 2.465 MB / 418.7 MB, free: 55.15 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02531/0.9173, allocations: 9.883 MB / 428.6 MB, free: 44.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006427/0.9238, allocations: 2.062 MB / 430.7 MB, free: 42.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004261/0.9281, allocations: 1.098 MB / 431.8 MB, free: 41.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.9287, allocations: 138.4 kB / 431.9 MB, free: 41.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.9288, allocations: 47.88 kB / 432 MB, free: 41.51 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 1.045e-05/0.9289, allocations: 0 / 432 MB, free: 41.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=145): time 0.03403/0.9629, allocations: 6.285 MB / 438.2 MB, free: 35.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.963, allocations: 68.72 kB / 438.3 MB, free: 35.08 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005537/0.9686, allocations: 1.422 MB / 439.7 MB, free: 33.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004609/0.9691, allocations: 53.64 kB / 439.8 MB, free: 33.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001521/0.9707, allocations: 1.062 MB / 440.8 MB, free: 32.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000909/0.9716, allocations: 0.4891 MB / 441.3 MB, free: 32.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.9719, allocations: 28 kB / 441.4 MB, free: 32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002311/0.9722, allocations: 373.8 kB / 441.7 MB, free: 31.62 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003611/0.9758, allocations: 0.859 MB / 442.6 MB, free: 30.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004027/0.9799, allocations: 1.168 MB / 443.8 MB, free: 29.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004436/0.9844, allocations: 1.008 MB / 444.8 MB, free: 28.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.562e-05/0.9845, allocations: 8 kB / 444.8 MB, free: 28.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008264/0.9927, allocations: 2.893 MB / 447.7 MB, free: 25.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.9928, allocations: 8.25 kB / 447.7 MB, free: 25.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.868e-05/0.9928, allocations: 12 kB / 447.7 MB, free: 25.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002592/0.9955, allocations: 0.8375 MB / 448.5 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001818/0.9973, allocations: 307.5 kB / 448.8 MB, free: 24.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/1.009, allocations: 9.073 MB / 457.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/1.011, allocations: 99.97 kB / 458 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002006/1.011, allocations: 60 kB / 458.1 MB, free: 14.73 MB / 314.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.0003761/1.011, allocations: 193.7 kB / 458.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004287/1.012, allocations: 185.8 kB / 458.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00559/1.017, allocations: 2.784 MB / 461.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/1.017, allocations: 12 kB / 461.2 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.017, allocations: 8 kB / 461.2 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.018, allocations: 7.969 kB / 461.2 MB, free: 11.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/1.029, allocations: 5.566 MB / 466.8 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.029, allocations: 4 kB / 466.8 MB, free: 5.832 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.031, allocations: 208 kB / 467 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00302/1.034, allocations: 0.8899 MB / 467.9 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002481/1.034, allocations: 39.94 kB / 467.9 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01524/1.049, allocations: 10.57 MB / 478.5 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.102e-06/1.049, allocations: 4.062 kB / 478.5 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00925/1.058, allocations: 4.207 MB / 482.7 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.06, allocations: 470.7 kB / 483.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003637/1.06, allocations: 32 kB / 483.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.062, allocations: 88.28 kB / 483.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004446/1.062, allocations: 145.1 kB / 483.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/1.062, allocations: 39.98 kB / 483.5 MB, free: 4.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002334/1.065, allocations: 1.094 MB / 484.6 MB, free: 3.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.44e-07/1.065, allocations: 7.938 kB / 484.6 MB, free: 3.352 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002969/1.068, allocations: 0.5898 MB / 485.2 MB, free: 2.762 MB / 330.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.0007263/1.068, allocations: 327.5 kB / 485.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00622/1.075, allocations: 2.84 MB / 488.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.909e-06/1.075, allocations: 0 / 488.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004398/1.079, allocations: 1.951 MB / 490.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.082, allocations: 473.2 kB / 490.7 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/1.093, allocations: 4.235 MB / 495 MB, free: 8.746 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002784/1.096, allocations: 2.059 MB / 497 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00191/1.098, allocations: 403.2 kB / 497.4 MB, free: 6.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004893/1.098, allocations: 107.4 kB / 497.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of SimCode: time 1.828e-06/1.098, allocations: 0 / 497.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of Templates: time 0.2735/1.372, allocations: 32.2 MB / 0.5173 GB, free: 88.77 MB / 346.7 MB