Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_InverterDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_InverterDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.387e-05/4.392e-05, allocations: 4 kB / 269.5 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 47.57 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4709/0.5755, allocations: 119.8 MB / 436.9 MB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5759, allocations: 83.64 kB / 436.9 MB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3692/0.9451, allocations: 84.96 MB / 0.5097 GB, free: 1.895 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9452, allocations: 0 / 0.5097 GB, free: 1.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006186/0.9458, allocations: 123.9 kB / 0.5098 GB, free: 1.773 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.3249/1.271, allocations: 4.432 MB / 0.5141 GB, free: 86.92 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/1.271, allocations: 9 kB / 0.5141 GB, free: 86.92 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002803/1.274, allocations: 0.5648 MB / 0.5147 GB, free: 86.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003875/1.278, allocations: 0.571 MB / 0.5152 GB, free: 86.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01211/1.29, allocations: 3.095 MB / 0.5182 GB, free: 86.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001406/1.291, allocations: 424.4 kB / 0.5187 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001976/1.293, allocations: 406.3 kB / 0.519 GB, free: 86.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02023/1.313, allocations: 5.879 MB / 0.5248 GB, free: 85.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/1.314, allocations: 10.38 kB / 0.5248 GB, free: 85.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001118/1.315, allocations: 174.8 kB / 0.525 GB, free: 85.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002718/1.315, allocations: 176.9 kB / 0.5251 GB, free: 85.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/1.331, allocations: 5.289 MB / 0.5303 GB, free: 85.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05073/1.382, allocations: 18.56 MB / 0.5484 GB, free: 81.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008713/1.391, allocations: 4.268 MB / 0.5526 GB, free: 79.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00667/1.397, allocations: 2.89 MB / 0.5554 GB, free: 78.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/1.398, allocations: 157.9 kB / 0.5556 GB, free: 78.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005459/1.403, allocations: 2.257 MB / 0.5578 GB, free: 77.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 6.733e-06/1.403, allocations: 0 / 0.5578 GB, free: 77.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=309): time 0.03275/1.436, allocations: 11.27 MB / 0.5688 GB, free: 73.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/1.436, allocations: 331.5 kB / 0.5691 GB, free: 72.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006382/1.443, allocations: 2.626 MB / 0.5716 GB, free: 71.92 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007456/1.444, allocations: 86.39 kB / 0.5717 GB, free: 71.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.446, allocations: 1.794 MB / 0.5735 GB, free: 70.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001581/1.447, allocations: 0.9887 MB / 0.5744 GB, free: 69.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003129/1.448, allocations: 62.25 kB / 0.5745 GB, free: 69.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000204/1.448, allocations: 432.7 kB / 0.5749 GB, free: 69.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004249/1.452, allocations: 1.819 MB / 0.5767 GB, free: 68.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004789/1.457, allocations: 2.308 MB / 0.5789 GB, free: 67.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004598/1.462, allocations: 2.031 MB / 0.5809 GB, free: 66.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/1.462, allocations: 3.906 kB / 0.5809 GB, free: 66.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01384/1.476, allocations: 5.541 MB / 0.5863 GB, free: 64.65 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.865e-05/1.476, allocations: 39.8 kB / 0.5864 GB, free: 64.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/1.476, allocations: 10.53 kB / 0.5864 GB, free: 64.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005996/1.482, allocations: 1.658 MB / 0.588 GB, free: 64.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004193/1.486, allocations: 0.5042 MB / 0.5885 GB, free: 64.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02921/1.515, allocations: 15.7 MB / 0.6038 GB, free: 51.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006932/1.522, allocations: 437.7 kB / 0.6043 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008256/1.523, allocations: 103 kB / 0.6044 GB, free: 51.47 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.0009682/1.524, allocations: 355.3 kB / 0.6047 GB, free: 51.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.525, allocations: 343.9 kB / 0.605 GB, free: 50.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/1.539, allocations: 5.619 MB / 0.6105 GB, free: 46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.255e-05/1.539, allocations: 32 kB / 0.6105 GB, free: 45.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.539, allocations: 4 kB / 0.6105 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.257e-05/1.539, allocations: 13.73 kB / 0.6106 GB, free: 45.96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.027/1.566, allocations: 10.79 MB / 0.6211 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.566, allocations: 3.031 kB / 0.6211 GB, free: 37.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003559/1.57, allocations: 387.9 kB / 0.6215 GB, free: 36.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006545/1.577, allocations: 1.703 MB / 0.6231 GB, free: 35.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006477/1.577, allocations: 75.2 kB / 0.6232 GB, free: 35.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02992/1.607, allocations: 17.23 MB / 0.64 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.607, allocations: 4 kB / 0.64 GB, free: 19.69 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/1.626, allocations: 8.694 MB / 0.6485 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003143/1.629, allocations: 0.8926 MB / 0.6494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009771/1.63, allocations: 67.75 kB / 0.6495 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005769/1.636, allocations: 404.8 kB / 0.6498 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001589/1.638, allocations: 0.5148 MB / 0.6503 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003253/1.638, allocations: 87.59 kB / 0.6504 GB, free: 10.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004214/1.642, allocations: 2.022 MB / 0.6524 GB, free: 8.395 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.642, allocations: 0 / 0.6524 GB, free: 8.395 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005167/1.647, allocations: 1.124 MB / 0.6535 GB, free: 7.273 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.03162/1.679, allocations: 11.01 MB / 0.6643 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01482/1.694, allocations: 5.587 MB / 0.6697 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.694, allocations: 0 / 0.6697 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01388/1.708, allocations: 5.097 MB / 0.6747 GB, free: 5.566 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008008/1.716, allocations: 0.9406 MB / 0.6756 GB, free: 4.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3278/2.044, allocations: 9.956 MB / 0.6853 GB, free: 92.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007117/2.051, allocations: 3.31 MB / 0.6886 GB, free: 91.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004624/2.056, allocations: 0.7691 MB / 0.6893 GB, free: 91.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004105/2.06, allocations: 1.71 MB / 0.691 GB, free: 91.33 MB / 442.7 MB Notification: Performance of SimCode: time 2.134e-06/2.06, allocations: 0 / 0.691 GB, free: 91.33 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2235/2.283, allocations: 104.1 MB / 0.7927 GB, free: 43 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/2.284, allocations: 224 kB / 0.7929 GB, free: 42.77 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.709/8.993, allocations: 3.938 kB / 0.7929 GB, free: 42.77 MB / 442.7 MB