Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.935e-05, allocations: 0 / 292.7 MB, free: 11.46 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09148/0.09154, allocations: 50.42 MB / 343.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5399, allocations: 120 MB / 463.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/0.5402, allocations: 94.62 kB / 463.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3252/0.8655, allocations: 85.66 MB / 0.536 GB, free: 3.316 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.096e-06/0.8655, allocations: 0 / 0.536 GB, free: 3.316 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000463/0.866, allocations: 115.9 kB / 0.5361 GB, free: 3.203 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.01405/0.8801, allocations: 4.46 MB / 0.5405 GB, free: 14.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.8801, allocations: 16.02 kB / 0.5405 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.8826, allocations: 0.5639 MB / 0.541 GB, free: 14.08 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008846/0.8914, allocations: 3.092 MB / 0.5441 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008981/0.8924, allocations: 425.7 kB / 0.5445 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/0.8936, allocations: 407.9 kB / 0.5449 GB, free: 10.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/0.9082, allocations: 5.86 MB / 0.5506 GB, free: 3.996 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.9084, allocations: 15.83 kB / 0.5506 GB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006464/0.909, allocations: 180 kB / 0.5508 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/0.9093, allocations: 171.9 kB / 0.5509 GB, free: 3.637 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2661/1.175, allocations: 5.262 MB / 0.5561 GB, free: 86.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03893/1.214, allocations: 18.56 MB / 0.5742 GB, free: 82.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006727/1.221, allocations: 4.249 MB / 0.5783 GB, free: 82.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004911/1.226, allocations: 2.882 MB / 0.5812 GB, free: 82.57 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004271/1.226, allocations: 162.3 kB / 0.5813 GB, free: 82.47 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004003/1.231, allocations: 2.258 MB / 0.5835 GB, free: 82.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 7.85e-06/1.231, allocations: 0 / 0.5835 GB, free: 82.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=309): time 0.02496/1.256, allocations: 11.27 MB / 0.5945 GB, free: 79.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.256, allocations: 337.2 kB / 0.5948 GB, free: 79.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004761/1.26, allocations: 2.625 MB / 0.5974 GB, free: 78.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004693/1.261, allocations: 80.2 kB / 0.5975 GB, free: 78.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/1.263, allocations: 1.797 MB / 0.5992 GB, free: 77.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009527/1.264, allocations: 0.991 MB / 0.6002 GB, free: 76.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/1.264, allocations: 60.09 kB / 0.6003 GB, free: 76.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/1.264, allocations: 424.3 kB / 0.6007 GB, free: 76.22 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003448/1.267, allocations: 1.825 MB / 0.6024 GB, free: 75.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003727/1.271, allocations: 2.304 MB / 0.6047 GB, free: 74.37 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004469/1.276, allocations: 2.031 MB / 0.6067 GB, free: 73.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/1.276, allocations: 0 / 0.6067 GB, free: 73.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01046/1.286, allocations: 5.537 MB / 0.6121 GB, free: 71.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/1.286, allocations: 41.39 kB / 0.6121 GB, free: 71.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/1.286, allocations: 13.66 kB / 0.6121 GB, free: 71.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/1.291, allocations: 1.648 MB / 0.6137 GB, free: 70.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/1.294, allocations: 0.5065 MB / 0.6142 GB, free: 70.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07735/1.371, allocations: 15.69 MB / 0.6296 GB, free: 61.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009819/1.381, allocations: 427 kB / 0.63 GB, free: 61.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007488/1.382, allocations: 104.6 kB / 0.6301 GB, free: 61.91 MB / 442.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.002216/1.384, allocations: 347.6 kB / 0.6304 GB, free: 61.67 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.385, allocations: 343 kB / 0.6307 GB, free: 61.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01879/1.404, allocations: 5.612 MB / 0.6362 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/1.404, allocations: 32.03 kB / 0.6362 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/1.404, allocations: 3.656 kB / 0.6362 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-05/1.404, allocations: 21.45 kB / 0.6363 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03738/1.441, allocations: 10.77 MB / 0.6468 GB, free: 53.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.517e-05/1.442, allocations: 6.906 kB / 0.6468 GB, free: 53.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004592/1.446, allocations: 387.9 kB / 0.6472 GB, free: 53.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009833/1.456, allocations: 1.709 MB / 0.6488 GB, free: 51.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005034/1.457, allocations: 75 kB / 0.6489 GB, free: 51.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03773/1.494, allocations: 17.21 MB / 0.6657 GB, free: 36.04 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.577e-06/1.494, allocations: 7.812 kB / 0.6657 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01422/1.509, allocations: 8.686 MB / 0.6742 GB, free: 28.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002294/1.511, allocations: 0.8928 MB / 0.6751 GB, free: 27.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006935/1.512, allocations: 70.72 kB / 0.6751 GB, free: 27.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.515, allocations: 397.9 kB / 0.6755 GB, free: 26.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/1.516, allocations: 0.5219 MB / 0.676 GB, free: 26.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003052/1.517, allocations: 79.52 kB / 0.6761 GB, free: 26.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003395/1.52, allocations: 2.021 MB / 0.6781 GB, free: 24.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.051e-06/1.52, allocations: 0 / 0.6781 GB, free: 24.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003621/1.524, allocations: 1.133 MB / 0.6792 GB, free: 23.62 MB / 442.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.0007834/1.524, allocations: 436.6 kB / 0.6796 GB, free: 23.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009018/1.533, allocations: 5.595 MB / 0.6851 GB, free: 18.22 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.697e-06/1.533, allocations: 0 / 0.6851 GB, free: 18.22 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00808/1.542, allocations: 5.105 MB / 0.69 GB, free: 13.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004641/1.546, allocations: 0.939 MB / 0.691 GB, free: 12.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/1.564, allocations: 8.626 MB / 0.6994 GB, free: 5.312 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003523/1.567, allocations: 3.322 MB / 0.7026 GB, free: 2.801 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003087/1.57, allocations: 0.7643 MB / 0.7034 GB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008753/1.571, allocations: 197.9 kB / 0.7036 GB, free: 2.078 MB / 442.7 MB Notification: Performance of SimCode: time 1.568e-06/1.571, allocations: 0 / 0.7036 GB, free: 2.078 MB / 442.7 MB Notification: Performance of Templates: time 0.4936/2.065, allocations: 70.22 MB / 0.7721 GB, free: 92.77 MB / 458.7 MB