Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_InverterDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_InverterDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.588e-05, allocations: 7.984 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.541/0.652, allocations: 120.3 MB / 462.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.6524, allocations: 85.58 kB / 463 MB, free: 6.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7378/1.39, allocations: 85.66 MB / 0.5358 GB, free: 96.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.39, allocations: 0 / 0.5358 GB, free: 96.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006392/1.391, allocations: 119.4 kB / 0.5359 GB, free: 96.57 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.02087/1.412, allocations: 4.456 MB / 0.5403 GB, free: 95.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.412, allocations: 9.156 kB / 0.5403 GB, free: 95.05 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002926/1.415, allocations: 0.5744 MB / 0.5409 GB, free: 94.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003894/1.419, allocations: 0.5686 MB / 0.5414 GB, free: 94.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/1.432, allocations: 3.091 MB / 0.5444 GB, free: 94.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001436/1.433, allocations: 422.5 kB / 0.5448 GB, free: 94.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/1.435, allocations: 408.4 kB / 0.5452 GB, free: 94.02 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01981/1.455, allocations: 5.864 MB / 0.5509 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/1.456, allocations: 15.34 kB / 0.551 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001646/1.457, allocations: 173.5 kB / 0.5511 GB, free: 93.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/1.457, allocations: 174.7 kB / 0.5513 GB, free: 93.33 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/1.474, allocations: 5.269 MB / 0.5564 GB, free: 93.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05503/1.529, allocations: 18.55 MB / 0.5746 GB, free: 86.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009428/1.538, allocations: 4.256 MB / 0.5787 GB, free: 84.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00672/1.545, allocations: 2.896 MB / 0.5815 GB, free: 83.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/1.546, allocations: 148.2 kB / 0.5817 GB, free: 83.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005845/1.552, allocations: 2.261 MB / 0.5839 GB, free: 82.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=293): time 9.237e-06/1.552, allocations: 3.969 kB / 0.5839 GB, free: 82.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=309): time 0.03669/1.588, allocations: 11.27 MB / 0.5949 GB, free: 77.74 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/1.588, allocations: 332.5 kB / 0.5952 GB, free: 77.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006617/1.595, allocations: 2.622 MB / 0.5978 GB, free: 76.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008206/1.596, allocations: 81.02 kB / 0.5978 GB, free: 76.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002264/1.598, allocations: 1.798 MB / 0.5996 GB, free: 75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001688/1.6, allocations: 0.9889 MB / 0.6006 GB, free: 74.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/1.6, allocations: 62.44 kB / 0.6006 GB, free: 74.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002689/1.601, allocations: 437.6 kB / 0.601 GB, free: 73.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004715/1.605, allocations: 1.816 MB / 0.6028 GB, free: 73.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005565/1.611, allocations: 2.305 MB / 0.6051 GB, free: 71.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005374/1.616, allocations: 2.031 MB / 0.6071 GB, free: 70.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-05/1.617, allocations: 7 kB / 0.6071 GB, free: 70.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=377) (initialization): time 0.01594/1.632, allocations: 5.532 MB / 0.6125 GB, free: 65.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/1.633, allocations: 37.7 kB / 0.6125 GB, free: 65.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.633, allocations: 8 kB / 0.6125 GB, free: 65.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/1.639, allocations: 1.649 MB / 0.6141 GB, free: 64.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00438/1.644, allocations: 0.5108 MB / 0.6146 GB, free: 64.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03061/1.674, allocations: 15.69 MB / 0.6299 GB, free: 50.03 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007265/1.682, allocations: 425.4 kB / 0.6303 GB, free: 49.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009776/1.683, allocations: 107 kB / 0.6304 GB, free: 49.63 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.001114/1.684, allocations: 336.4 kB / 0.6308 GB, free: 49.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.685, allocations: 343.9 kB / 0.6311 GB, free: 48.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/1.701, allocations: 5.612 MB / 0.6366 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/1.701, allocations: 28 kB / 0.6366 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/1.701, allocations: 4 kB / 0.6366 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/1.701, allocations: 20.83 kB / 0.6366 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03106/1.732, allocations: 10.79 MB / 0.6472 GB, free: 35.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.03e-05/1.732, allocations: 2.25 kB / 0.6472 GB, free: 35.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003673/1.736, allocations: 390.8 kB / 0.6475 GB, free: 34.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006886/1.743, allocations: 1.708 MB / 0.6492 GB, free: 33.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008582/1.744, allocations: 74.8 kB / 0.6493 GB, free: 33.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03185/1.776, allocations: 17.21 MB / 0.6661 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/1.776, allocations: 7.938 kB / 0.6661 GB, free: 17.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0208/1.797, allocations: 8.693 MB / 0.6746 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003697/1.8, allocations: 0.8872 MB / 0.6754 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001583/1.802, allocations: 71.98 kB / 0.6755 GB, free: 7.859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006836/1.809, allocations: 395.6 kB / 0.6759 GB, free: 7.473 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002174/1.811, allocations: 0.521 MB / 0.6764 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005734/1.812, allocations: 87.97 kB / 0.6765 GB, free: 6.867 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004993/1.817, allocations: 2.021 MB / 0.6785 GB, free: 4.844 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.282e-06/1.817, allocations: 0 / 0.6785 GB, free: 4.844 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0065/1.823, allocations: 1.129 MB / 0.6796 GB, free: 3.715 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.02694/1.85, allocations: 10.29 MB / 0.6896 GB, free: 9.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01682/1.867, allocations: 5.584 MB / 0.6951 GB, free: 3.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.867, allocations: 9.719 kB / 0.6951 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3315/2.199, allocations: 5.096 MB / 0.7 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008526/2.207, allocations: 0.9337 MB / 0.701 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04024/2.248, allocations: 9.917 MB / 0.7106 GB, free: 100.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007439/2.255, allocations: 3.315 MB / 0.7139 GB, free: 99.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005147/2.26, allocations: 0.7609 MB / 0.7146 GB, free: 99.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004635/2.265, allocations: 1.713 MB / 0.7163 GB, free: 99.89 MB / 458.7 MB Notification: Performance of SimCode: time 1.873e-06/2.265, allocations: 4 kB / 0.7163 GB, free: 99.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2588/2.524, allocations: 104.1 MB / 0.8179 GB, free: 45.03 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003124/2.524, allocations: 203.1 kB / 0.8181 GB, free: 44.81 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.809/9.334, allocations: 0 / 0.8181 GB, free: 44.81 MB / 458.7 MB