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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.193e-05, allocations: 4 kB / 292.2 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09139, allocations: 50.42 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5407, allocations: 120.3 MB / 462.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002605/0.541, allocations: 83.14 kB / 462.9 MB, free: 6.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.565/1.106, allocations: 85.65 MB / 0.5357 GB, free: 96.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.071e-06/1.106, allocations: 0 / 0.5357 GB, free: 96.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005067/1.107, allocations: 114.3 kB / 0.5358 GB, free: 96.39 MB / 442.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.0134/1.12, allocations: 4.46 MB / 0.5402 GB, free: 94.88 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/1.12, allocations: 12.69 kB / 0.5402 GB, free: 94.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/1.123, allocations: 0.5691 MB / 0.5408 GB, free: 94.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008255/1.131, allocations: 3.094 MB / 0.5438 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008437/1.132, allocations: 425.1 kB / 0.5442 GB, free: 93.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/1.133, allocations: 405.6 kB / 0.5446 GB, free: 93.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/1.146, allocations: 5.862 MB / 0.5503 GB, free: 93.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/1.146, allocations: 17.62 kB / 0.5503 GB, free: 93.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005925/1.147, allocations: 177.7 kB / 0.5505 GB, free: 93.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/1.147, allocations: 174 kB / 0.5507 GB, free: 93.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/1.16, allocations: 5.27 MB / 0.5558 GB, free: 93.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03636/1.196, allocations: 18.55 MB / 0.5739 GB, free: 86.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006904/1.203, allocations: 4.26 MB / 0.5781 GB, free: 84.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004872/1.208, allocations: 2.883 MB / 0.5809 GB, free: 83.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/1.208, allocations: 168.2 kB / 0.5811 GB, free: 83.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004022/1.213, allocations: 2.249 MB / 0.5833 GB, free: 82.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 7.327e-06/1.213, allocations: 0 / 0.5833 GB, free: 82.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=309): time 0.02509/1.238, allocations: 11.27 MB / 0.5943 GB, free: 77.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.238, allocations: 337.3 kB / 0.5946 GB, free: 77.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004827/1.243, allocations: 2.622 MB / 0.5971 GB, free: 76.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004812/1.243, allocations: 83.77 kB / 0.5972 GB, free: 76.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/1.245, allocations: 1.788 MB / 0.599 GB, free: 75.22 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.246, allocations: 0.9962 MB / 0.5999 GB, free: 74.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/1.246, allocations: 57.91 kB / 0.6 GB, free: 74.41 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/1.246, allocations: 434.4 kB / 0.6004 GB, free: 74.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003439/1.25, allocations: 1.817 MB / 0.6022 GB, free: 73.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003918/1.254, allocations: 2.312 MB / 0.6044 GB, free: 72.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003829/1.258, allocations: 2.022 MB / 0.6064 GB, free: 71.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.258, allocations: 4 kB / 0.6064 GB, free: 71.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01067/1.268, allocations: 5.534 MB / 0.6118 GB, free: 66.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/1.268, allocations: 33.7 kB / 0.6119 GB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.268, allocations: 12 kB / 0.6119 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004547/1.273, allocations: 1.654 MB / 0.6135 GB, free: 65.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/1.276, allocations: 0.5073 MB / 0.614 GB, free: 64.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.299, allocations: 15.68 MB / 0.6293 GB, free: 50.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004503/1.303, allocations: 423.2 kB / 0.6297 GB, free: 50.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004415/1.304, allocations: 106.5 kB / 0.6298 GB, free: 50.1 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.0008314/1.305, allocations: 351.6 kB / 0.6301 GB, free: 49.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007849/1.306, allocations: 347.8 kB / 0.6305 GB, free: 49.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/1.316, allocations: 5.61 MB / 0.6359 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/1.316, allocations: 35.94 kB / 0.636 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.316, allocations: 0 / 0.636 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/1.316, allocations: 17.64 kB / 0.636 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/1.337, allocations: 10.79 MB / 0.6465 GB, free: 35.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/1.337, allocations: 4 kB / 0.6465 GB, free: 35.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00224/1.34, allocations: 393.1 kB / 0.6469 GB, free: 35.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004883/1.345, allocations: 1.697 MB / 0.6486 GB, free: 33.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003853/1.345, allocations: 83.48 kB / 0.6486 GB, free: 33.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/1.369, allocations: 17.21 MB / 0.6654 GB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.671e-06/1.369, allocations: 7.938 kB / 0.6655 GB, free: 18.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01523/1.384, allocations: 8.688 MB / 0.6739 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/1.387, allocations: 0.8794 MB / 0.6748 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.388, allocations: 71.98 kB / 0.6749 GB, free: 8.566 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004159/1.392, allocations: 403.6 kB / 0.6752 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001435/1.394, allocations: 0.5101 MB / 0.6757 GB, free: 7.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003348/1.394, allocations: 87.97 kB / 0.6758 GB, free: 7.574 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003964/1.398, allocations: 2.021 MB / 0.6778 GB, free: 5.551 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.81e-07/1.398, allocations: 0 / 0.6778 GB, free: 5.551 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004807/1.403, allocations: 1.133 MB / 0.6789 GB, free: 4.418 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.0009239/1.404, allocations: 444.3 kB / 0.6793 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.257/1.661, allocations: 5.579 MB / 0.6848 GB, free: 87.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.27e-06/1.661, allocations: 1.125 kB / 0.6848 GB, free: 87.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01054/1.672, allocations: 5.101 MB / 0.6898 GB, free: 86.85 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/1.677, allocations: 0.9327 MB / 0.6907 GB, free: 86.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.7, allocations: 8.643 MB / 0.6991 GB, free: 85.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.704, allocations: 3.315 MB / 0.7024 GB, free: 84.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00364/1.708, allocations: 0.7664 MB / 0.7031 GB, free: 84.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009562/1.709, allocations: 199.3 kB / 0.7033 GB, free: 84.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.601e-06/1.709, allocations: 0 / 0.7033 GB, free: 84.41 MB / 442.7 MB Notification: Performance of Templates: time 0.1503/1.859, allocations: 70.09 MB / 0.7717 GB, free: 61.25 MB / 442.7 MB