Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_InverterDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.195/2.195, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.75e-05, allocations: 6.812 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5476/0.6618, allocations: 120.3 MB / 463.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/0.6622, allocations: 86.27 kB / 463.5 MB, free: 6.289 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7051/1.367, allocations: 85.65 MB / 0.5363 GB, free: 96.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.987e-06/1.367, allocations: 0 / 0.5363 GB, free: 96.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009192/1.368, allocations: 117.2 kB / 0.5364 GB, free: 96.36 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.02658/1.395, allocations: 4.464 MB / 0.5408 GB, free: 94.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.395, allocations: 9.688 kB / 0.5408 GB, free: 94.84 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002916/1.398, allocations: 0.5683 MB / 0.5414 GB, free: 94.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/1.402, allocations: 0.5684 MB / 0.5419 GB, free: 94.5 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/1.414, allocations: 3.094 MB / 0.5449 GB, free: 93.87 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001309/1.416, allocations: 425.7 kB / 0.5453 GB, free: 93.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002037/1.418, allocations: 401.2 kB / 0.5457 GB, free: 93.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/1.435, allocations: 5.871 MB / 0.5515 GB, free: 93.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001722/1.435, allocations: 7.531 kB / 0.5515 GB, free: 93.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009073/1.436, allocations: 174.1 kB / 0.5516 GB, free: 93.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002187/1.436, allocations: 179.2 kB / 0.5518 GB, free: 93.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/1.452, allocations: 5.265 MB / 0.5569 GB, free: 93.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05213/1.504, allocations: 18.55 MB / 0.5751 GB, free: 85.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009581/1.514, allocations: 4.256 MB / 0.5792 GB, free: 84.14 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006784/1.52, allocations: 2.891 MB / 0.582 GB, free: 83.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007428/1.521, allocations: 163.1 kB / 0.5822 GB, free: 82.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005696/1.527, allocations: 2.25 MB / 0.5844 GB, free: 82.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 8.496e-06/1.527, allocations: 0 / 0.5844 GB, free: 82.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=309): time 0.03652/1.563, allocations: 11.27 MB / 0.5954 GB, free: 77.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.564, allocations: 331.5 kB / 0.5957 GB, free: 77.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0066/1.57, allocations: 2.621 MB / 0.5983 GB, free: 76.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008262/1.571, allocations: 78.92 kB / 0.5984 GB, free: 76.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003212/1.574, allocations: 1.8 MB / 0.6001 GB, free: 74.82 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001673/1.576, allocations: 0.9959 MB / 0.6011 GB, free: 74.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003577/1.577, allocations: 59.97 kB / 0.6011 GB, free: 74.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002781/1.577, allocations: 426.6 kB / 0.6015 GB, free: 73.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/1.582, allocations: 1.821 MB / 0.6033 GB, free: 72.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/1.589, allocations: 2.315 MB / 0.6056 GB, free: 71.78 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008333/1.597, allocations: 2.025 MB / 0.6076 GB, free: 70.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-05/1.597, allocations: 4 kB / 0.6076 GB, free: 70.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01493/1.612, allocations: 5.527 MB / 0.613 GB, free: 65.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.717e-05/1.612, allocations: 33.7 kB / 0.613 GB, free: 65.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/1.612, allocations: 14.52 kB / 0.613 GB, free: 65.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/1.619, allocations: 1.656 MB / 0.6146 GB, free: 64.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004278/1.623, allocations: 0.5068 MB / 0.6151 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0303/1.653, allocations: 15.68 MB / 0.6304 GB, free: 49.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006987/1.66, allocations: 430.3 kB / 0.6308 GB, free: 49.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009118/1.661, allocations: 103 kB / 0.6309 GB, free: 49.52 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.00123/1.663, allocations: 353.8 kB / 0.6313 GB, free: 49.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.664, allocations: 347.5 kB / 0.6316 GB, free: 48.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.679, allocations: 5.609 MB / 0.6371 GB, free: 44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.19e-05/1.679, allocations: 32 kB / 0.6371 GB, free: 43.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.679, allocations: 4 kB / 0.6371 GB, free: 43.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.866e-05/1.679, allocations: 17.44 kB / 0.6371 GB, free: 43.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03074/1.71, allocations: 10.78 MB / 0.6477 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-05/1.71, allocations: 384 / 0.6477 GB, free: 35.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/1.714, allocations: 389 kB / 0.648 GB, free: 34.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006908/1.721, allocations: 1.704 MB / 0.6497 GB, free: 33.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008862/1.722, allocations: 75.5 kB / 0.6498 GB, free: 33.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03182/1.754, allocations: 17.22 MB / 0.6666 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.754, allocations: 4 kB / 0.6666 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02071/1.774, allocations: 8.693 MB / 0.6751 GB, free: 8.906 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003584/1.778, allocations: 0.8872 MB / 0.676 GB, free: 7.996 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/1.78, allocations: 67.98 kB / 0.676 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006705/1.786, allocations: 399.6 kB / 0.6764 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002006/1.788, allocations: 0.5101 MB / 0.6769 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005102/1.789, allocations: 87.97 kB / 0.677 GB, free: 6.941 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004871/1.794, allocations: 2.025 MB / 0.679 GB, free: 4.914 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.794, allocations: 0 / 0.679 GB, free: 4.914 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006279/1.8, allocations: 1.133 MB / 0.6801 GB, free: 3.781 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.02454/1.825, allocations: 10.28 MB / 0.6901 GB, free: 9.352 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/1.841, allocations: 5.597 MB / 0.6956 GB, free: 3.648 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.841, allocations: 8.188 kB / 0.6956 GB, free: 3.641 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3185/2.159, allocations: 5.097 MB / 0.7006 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008184/2.167, allocations: 0.9316 MB / 0.7015 GB, free: 102.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0368/2.204, allocations: 9.912 MB / 0.7111 GB, free: 100.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005996/2.21, allocations: 3.321 MB / 0.7144 GB, free: 99.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004974/2.215, allocations: 0.7586 MB / 0.7151 GB, free: 99.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004357/2.22, allocations: 1.716 MB / 0.7168 GB, free: 99.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.754e-06/2.22, allocations: 1.375 kB / 0.7168 GB, free: 99.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3367/2.557, allocations: 104.1 MB / 0.8184 GB, free: 45.08 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/2.557, allocations: 214.5 kB / 0.8187 GB, free: 44.86 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.028/9.585, allocations: 0 / 0.8187 GB, free: 44.86 MB / 458.7 MB