Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.145e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive): time 0.02026/0.1334, allocations: 11.61 MB / 356.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.145, allocations: 4.03 MB / 360.6 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.1478, allocations: 119.6 kB / 360.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.1512, allocations: 0.734 MB / 361.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006204/0.1574, allocations: 1.121 MB / 362.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.1603, allocations: 491.2 kB / 363.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007232/0.1675, allocations: 2.59 MB / 365.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00522/0.1728, allocations: 2.242 MB / 367.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00347/0.1763, allocations: 1.41 MB / 369.3 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004953/0.1813, allocations: 1.966 MB / 371.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.1838, allocations: 243.9 kB / 371.5 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00141/0.1853, allocations: 180 kB / 371.7 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002924/0.1883, allocations: 1.258 MB / 373 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.1907, allocations: 432 kB / 373.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.2024, allocations: 6.954 MB / 380.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2025, allocations: 0 / 380.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2025, allocations: 0 / 380.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003019/0.2028, allocations: 0 / 380.3 MB, free: 5.473 MB / 314.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.01835/0.2212, allocations: 4.614 MB / 384.9 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.2212, allocations: 8.031 kB / 385 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.2243, allocations: 0.5677 MB / 385.5 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.2347, allocations: 3.021 MB / 388.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003357/0.2381, allocations: 0.5912 MB / 389.1 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/0.24, allocations: 399.9 kB / 389.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02602/0.2661, allocations: 6.452 MB / 396 MB, free: 5.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/0.2663, allocations: 11.84 kB / 396 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001412/0.2678, allocations: 168 kB / 396.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002866/0.2681, allocations: 183.9 kB / 396.3 MB, free: 5.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4403/0.7084, allocations: 6.403 MB / 402.7 MB, free: 44.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0534/0.7618, allocations: 18.7 MB / 421.4 MB, free: 33.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/0.7767, allocations: 4.707 MB / 426.1 MB, free: 31.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007347/0.7775, allocations: 141 kB / 426.3 MB, free: 30.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01071/0.7882, allocations: 2.685 MB / 429 MB, free: 29.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=290): time 7.033e-06/0.7883, allocations: 0 / 429 MB, free: 29.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=313): time 0.1126/0.9009, allocations: 22.78 MB / 451.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.901, allocations: 256.1 kB / 452 MB, free: 6.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005162/0.9062, allocations: 2.563 MB / 454.6 MB, free: 4.387 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007033/0.907, allocations: 81.7 kB / 454.6 MB, free: 4.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.9086, allocations: 1.654 MB / 456.3 MB, free: 2.641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001443/0.91, allocations: 1.005 MB / 457.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003347/0.9104, allocations: 60 kB / 457.4 MB, free: 1.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002027/0.9106, allocations: 433 kB / 457.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/0.9207, allocations: 2.265 MB / 460 MB, free: 14.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/0.9322, allocations: 2.78 MB / 462.8 MB, free: 11.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.9434, allocations: 2.47 MB / 465.3 MB, free: 9.453 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-05/0.9435, allocations: 4.938 kB / 465.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=382) (initialization): time 0.02665/0.9701, allocations: 6.312 MB / 471.6 MB, free: 3.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.9703, allocations: 37.64 kB / 471.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.428e-05/0.9703, allocations: 12.41 kB / 471.7 MB, free: 3.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007869/0.9782, allocations: 1.879 MB / 473.5 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/0.9824, allocations: 495.2 kB / 474 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04379/1.026, allocations: 17.15 MB / 491.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006772/1.033, allocations: 440.4 kB / 491.6 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008523/1.034, allocations: 184.7 kB / 491.8 MB, free: 14.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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.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.fire_n[1],pwm.fire_n[2],pwm.fire_n[3],$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 (264): * Single equations (assignments): 259 * 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: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {23 93} Notification: Performance of prepare postOptimizeDAE: time 0.004736/1.039, allocations: 1.541 MB / 493.3 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/1.04, allocations: 343.9 kB / 493.7 MB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0322/1.072, allocations: 6.631 MB / 0.4886 GB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.813e-05/1.072, allocations: 28 kB / 0.4886 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/1.072, allocations: 4 kB / 0.4886 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.412e-05/1.072, allocations: 11.95 kB / 0.4886 GB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04374/1.116, allocations: 11.74 MB / 0.5001 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.315e-05/1.116, allocations: 0 / 0.5001 GB, free: 10.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003364/1.12, allocations: 363.5 kB / 0.5004 GB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008584/1.128, allocations: 1.932 MB / 0.5023 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007389/1.129, allocations: 87.95 kB / 0.5024 GB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04607/1.175, allocations: 18.67 MB / 0.5206 GB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.175, allocations: 4 kB / 0.5206 GB, free: 4.699 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04081/1.216, allocations: 10.1 MB / 0.5305 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003411/1.219, allocations: 0.8833 MB / 0.5313 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001459/1.221, allocations: 71.94 kB / 0.5314 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006545/1.228, allocations: 409.7 kB / 0.5318 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001861/1.229, allocations: 406.6 kB / 0.5322 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006899/1.23, allocations: 159.6 kB / 0.5323 GB, free: 8.453 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005451/1.236, allocations: 1.985 MB / 0.5343 GB, free: 6.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.236, allocations: 0 / 0.5343 GB, free: 6.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005741/1.241, allocations: 1.12 MB / 0.5354 GB, free: 5.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 11 (inductor.inductor[2].i,inductor.inductor[3].i,capacitor.v,aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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.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.fire_n[1],pwm.fire_n[2],pwm.fire_n[3],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 (188): * Single equations (assignments): 182 * 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: 3 * 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: 2 {(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {23 93} Notification: Performance of Backend phase and start with SimCode phase: time 0.001169/1.243, allocations: 249.1 kB / 0.5356 GB, free: 5.105 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02801/1.271, allocations: 6.656 MB / 0.5421 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.271, allocations: 5 kB / 0.5421 GB, free: 14.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01815/1.289, allocations: 4.607 MB / 0.5466 GB, free: 9.648 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007443/1.296, allocations: 0.9285 MB / 0.5475 GB, free: 8.719 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3298/1.626, allocations: 12.28 MB / 0.5595 GB, free: 141.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007448/1.634, allocations: 3.27 MB / 0.5627 GB, free: 140.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/1.636, allocations: 252 kB / 0.563 GB, free: 140.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/1.636, allocations: 0 / 0.563 GB, free: 140.4 MB / 442.7 MB Notification: Performance of Templates: time 0.2262/1.862, allocations: 140.1 MB / 0.6998 GB, free: 15.82 MB / 442.7 MB