Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|capacitor.v|inductor.inductor.2..i|inductor.inductor.3..i|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive") Notification: Performance of loadModel(Modelica): time 1.819/1.819, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.51e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08305/0.08311, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4734, allocations: 119.8 MB / 436.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4737, allocations: 89.88 kB / 436.9 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3329/0.8067, allocations: 84.95 MB / 0.5096 GB, free: 2.074 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.669e-06/0.8067, allocations: 0 / 0.5096 GB, free: 2.074 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004726/0.8072, allocations: 123.9 kB / 0.5097 GB, free: 1.953 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1064 * Number of variables: 1064 Notification: Performance of Generate backend data structure: time 0.2473/1.055, allocations: 4.421 MB / 0.514 GB, free: 87.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/1.055, allocations: 9.781 kB / 0.514 GB, free: 87.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/1.057, allocations: 0.5713 MB / 0.5146 GB, free: 87.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008781/1.066, allocations: 3.098 MB / 0.5176 GB, free: 86.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000843/1.067, allocations: 419.8 kB / 0.518 GB, free: 86.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.068, allocations: 410.6 kB / 0.5184 GB, free: 86.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/1.081, allocations: 5.877 MB / 0.5241 GB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/1.082, allocations: 7.594 kB / 0.5241 GB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005906/1.082, allocations: 173.2 kB / 0.5243 GB, free: 86.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002053/1.082, allocations: 184.5 kB / 0.5245 GB, free: 86.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01229/1.095, allocations: 5.286 MB / 0.5296 GB, free: 86.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/1.133, allocations: 18.56 MB / 0.5478 GB, free: 82.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006659/1.14, allocations: 4.267 MB / 0.5519 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/1.145, allocations: 2.888 MB / 0.5547 GB, free: 79.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004279/1.145, allocations: 154.6 kB / 0.5549 GB, free: 79.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003821/1.149, allocations: 2.265 MB / 0.5571 GB, free: 78.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 7.635e-06/1.149, allocations: 0 / 0.5571 GB, free: 78.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=309): time 0.02584/1.175, allocations: 11.28 MB / 0.5681 GB, free: 73.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/1.175, allocations: 331.5 kB / 0.5684 GB, free: 73.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004694/1.18, allocations: 2.621 MB / 0.571 GB, free: 72.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004913/1.181, allocations: 81.39 kB / 0.5711 GB, free: 72.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001641/1.182, allocations: 1.797 MB / 0.5728 GB, free: 71.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.183, allocations: 0.9895 MB / 0.5738 GB, free: 70.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/1.184, allocations: 61.75 kB / 0.5739 GB, free: 70.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/1.184, allocations: 427.1 kB / 0.5743 GB, free: 69.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00351/1.187, allocations: 1.821 MB / 0.576 GB, free: 69.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/1.191, allocations: 2.314 MB / 0.5783 GB, free: 68.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003698/1.195, allocations: 2.032 MB / 0.5803 GB, free: 67.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/1.195, allocations: 0 / 0.5803 GB, free: 67.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01089/1.206, allocations: 5.548 MB / 0.5857 GB, free: 65.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.923e-05/1.206, allocations: 37.42 kB / 0.5857 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/1.206, allocations: 7.781 kB / 0.5857 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005037/1.211, allocations: 1.655 MB / 0.5874 GB, free: 64.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/1.214, allocations: 0.5106 MB / 0.5879 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02365/1.237, allocations: 15.7 MB / 0.6032 GB, free: 52.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/1.242, allocations: 432.7 kB / 0.6036 GB, free: 52.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/1.242, allocations: 103.8 kB / 0.6037 GB, free: 52.25 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: inductor.inductor[3].i:VARIABLE(start = 0.0 unit = "A" ) "Current flowing from pin p to pin n" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.pwm.svPWM.firstTrigger,pwm.svPWM.firstTrigger,$PRE.pwm.svPWM.phiSec,pwm.svPWM.phiSec,$PRE.pwm.svPWM.phiPos,pwm.svPWM.phiPos,$PRE.pwm.svPWM.phiRef,pwm.svPWM.phiRef,$PRE.pwm.svPWM.uRef,pwm.svPWM.uRef,$whenCondition2,$whenCondition1,pwm.svPWM.sampleTrigger,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,$PRE.pwm.svPWM.ka,pwm.svPWM.ka,$PRE.pwm.svPWM.kb,pwm.svPWM.kb,$PRE.pwm.svPWM.ta,pwm.svPWM.ta,$PRE.pwm.svPWM.tb,pwm.svPWM.tb,$PRE.pwm.svPWM.t0,pwm.svPWM.t0,$PRE.pwm.svPWM.T0,pwm.svPWM.T0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 1 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 1 {19 72} Notification: Performance of prepare postOptimizeDAE: time 0.0008055/1.243, allocations: 347.2 kB / 0.604 GB, free: 51.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/1.244, allocations: 347.7 kB / 0.6044 GB, free: 51.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/1.254, allocations: 5.614 MB / 0.6098 GB, free: 46.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.254, allocations: 31.38 kB / 0.6099 GB, free: 46.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/1.254, allocations: 4 kB / 0.6099 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.492e-05/1.254, allocations: 18.61 kB / 0.6099 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.275, allocations: 10.8 MB / 0.6204 GB, free: 37.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.275, allocations: 4 kB / 0.6204 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/1.277, allocations: 388.1 kB / 0.6208 GB, free: 37.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004914/1.282, allocations: 1.695 MB / 0.6225 GB, free: 36.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004029/1.283, allocations: 74.73 kB / 0.6225 GB, free: 36.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02395/1.307, allocations: 17.23 MB / 0.6394 GB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.976e-06/1.307, allocations: 6.344 kB / 0.6394 GB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/1.322, allocations: 8.696 MB / 0.6479 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/1.325, allocations: 0.8843 MB / 0.6487 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009423/1.326, allocations: 71.59 kB / 0.6488 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004078/1.33, allocations: 403 kB / 0.6492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001366/1.332, allocations: 0.5126 MB / 0.6497 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003177/1.332, allocations: 87.27 kB / 0.6498 GB, free: 10.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003723/1.336, allocations: 2.021 MB / 0.6517 GB, free: 9.184 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.15e-07/1.336, allocations: 0 / 0.6517 GB, free: 9.184 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004384/1.34, allocations: 1.126 MB / 0.6528 GB, free: 8.062 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 (inductor.inductor[1].i,inductor.inductor[2].i,inductor.inductor[3].i,capacitor.v,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,loadTorque.phi,vfController.x) * Number of discrete variables: 41 (pwm.svPWM.sampleTrigger,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,inverter.andCondition_p[1].y,inverter.andCondition_p[2].y,inverter.andCondition_p[3].y,inverter.andCondition_n[1].y,inverter.andCondition_n[2].y,inverter.andCondition_n[3].y,inverter.fire_n[1],inverter.fire_n[2],inverter.fire_n[3],inverter.transistor_p.idealGTOThyristor[1].off,inverter.transistor_p.idealGTOThyristor[2].off,inverter.transistor_p.idealGTOThyristor[3].off,inverter.diode_p.idealDiode[1].off,inverter.diode_p.idealDiode[2].off,inverter.diode_p.idealDiode[3].off,inverter.transistor_n.idealGTOThyristor[1].off,inverter.transistor_n.idealGTOThyristor[2].off,inverter.transistor_n.idealGTOThyristor[3].off,inverter.diode_n.idealDiode[1].off,inverter.diode_n.idealDiode[2].off,inverter.diode_n.idealDiode[3].off,pwm.svPWM.firstTrigger,pwm.svPWM.uRef,pwm.svPWM.phiRef,pwm.svPWM.phiPos,pwm.svPWM.ka,pwm.svPWM.kb,pwm.svPWM.phiSec,pwm.svPWM.ta,pwm.svPWM.tb,pwm.svPWM.t0,pwm.svPWM.T0) * Number of discrete states: 11 (pwm.svPWM.T0,pwm.svPWM.t0,pwm.svPWM.ta,pwm.svPWM.tb,pwm.svPWM.phiSec,pwm.svPWM.kb,pwm.svPWM.ka,pwm.svPWM.phiPos,pwm.svPWM.phiRef,pwm.svPWM.uRef,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {19 72} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008658/1.341, allocations: 439.7 kB / 0.6533 GB, free: 7.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009739/1.351, allocations: 5.584 MB / 0.6587 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.567e-06/1.351, allocations: 2.188 kB / 0.6587 GB, free: 2.598 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01278/1.364, allocations: 5.28 MB / 0.6639 GB, free: 14.37 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/1.369, allocations: 0.9428 MB / 0.6648 GB, free: 13.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.392, allocations: 8.672 MB / 0.6733 GB, free: 5.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004837/1.397, allocations: 3.313 MB / 0.6765 GB, free: 3.266 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003698/1.4, allocations: 0.7694 MB / 0.6772 GB, free: 2.52 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009914/1.401, allocations: 199.4 kB / 0.6774 GB, free: 2.324 MB / 442.7 MB Notification: Performance of SimCode: time 1.82e-06/1.401, allocations: 0 / 0.6774 GB, free: 2.324 MB / 442.7 MB Notification: Performance of Templates: time 0.3895/1.791, allocations: 70.12 MB / 0.7459 GB, free: 83.49 MB / 442.7 MB