Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.015e-05, allocations: 4 kB / 292.2 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09011, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4255/0.5156, allocations: 102.7 MB / 445.2 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.5159, allocations: 88.5 kB / 445.3 MB, free: 7.773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2094/0.7254, allocations: 40.29 MB / 485.6 MB, free: 3.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.7255, allocations: 0 / 485.6 MB, free: 3.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001533/0.7256, allocations: 51.88 kB / 485.6 MB, free: 3.426 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004997/0.7306, allocations: 1.937 MB / 487.6 MB, free: 1.438 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7307, allocations: 11.97 kB / 487.6 MB, free: 1.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.7318, allocations: 257.2 kB / 487.8 MB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/0.7355, allocations: 1.356 MB / 489.2 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.7357, allocations: 131.6 kB / 489.3 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/0.7361, allocations: 180 kB / 489.5 MB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005327/0.7415, allocations: 2.268 MB / 491.8 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.177e-05/0.7416, allocations: 7.906 kB / 491.8 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.7419, allocations: 72 kB / 491.9 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/0.742, allocations: 83.52 kB / 491.9 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004636/0.7467, allocations: 1.76 MB / 493.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01599/0.7627, allocations: 7.168 MB / 0.4891 GB, free: 3.832 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.7652, allocations: 1.26 MB / 0.4904 GB, free: 2.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.7668, allocations: 0.6859 MB / 0.491 GB, free: 1.824 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000348/0.7671, allocations: 141.8 kB / 0.4912 GB, free: 1.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.7672, allocations: 51.28 kB / 0.4912 GB, free: 1.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 4.078e-06/0.7672, allocations: 0 / 0.4912 GB, free: 1.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.01894/0.7862, allocations: 5.974 MB / 0.497 GB, free: 11.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.7863, allocations: 60.41 kB / 0.4971 GB, free: 11.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.7885, allocations: 1.038 MB / 0.4981 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001553/0.7887, allocations: 41.7 kB / 0.4982 GB, free: 10.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/0.7895, allocations: 0.8575 MB / 0.499 GB, free: 9.527 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004827/0.79, allocations: 402.2 kB / 0.4994 GB, free: 9.129 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.7902, allocations: 24 kB / 0.4994 GB, free: 9.105 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002361/0.7904, allocations: 361.9 kB / 0.4997 GB, free: 8.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.7918, allocations: 0.639 MB / 0.5004 GB, free: 8.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.7935, allocations: 0.9243 MB / 0.5013 GB, free: 7.055 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.7953, allocations: 0.7895 MB / 0.502 GB, free: 6.266 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.903e-06/0.7953, allocations: 4 kB / 0.502 GB, free: 6.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005726/0.801, allocations: 2.311 MB / 0.5043 GB, free: 3.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.8011, allocations: 11.95 kB / 0.5043 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.8011, allocations: 15.92 kB / 0.5043 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.8034, allocations: 0.6389 MB / 0.505 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.8049, allocations: 279.6 kB / 0.5052 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.8159, allocations: 6.305 MB / 0.5114 GB, free: 12.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.8174, allocations: 91.97 kB / 0.5115 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002118/0.8177, allocations: 51.98 kB / 0.5115 GB, free: 12.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000385/0.8181, allocations: 176.6 kB / 0.5117 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/0.8185, allocations: 142.3 kB / 0.5118 GB, free: 11.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/0.8239, allocations: 2.189 MB / 0.514 GB, free: 9.738 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.824, allocations: 12 kB / 0.514 GB, free: 9.727 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.824, allocations: 4 kB / 0.514 GB, free: 9.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.824, allocations: 11.95 kB / 0.514 GB, free: 9.711 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01804/0.8421, allocations: 4.371 MB / 0.5183 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/0.8422, allocations: 4.375 kB / 0.5183 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002049/0.8442, allocations: 179.8 kB / 0.5184 GB, free: 5.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005209/0.8495, allocations: 0.713 MB / 0.5191 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.8498, allocations: 35.98 kB / 0.5192 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2753/1.125, allocations: 8.007 MB / 0.527 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/1.125, allocations: 3.375 kB / 0.527 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/1.132, allocations: 3.28 MB / 0.5302 GB, free: 119.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009931/1.133, allocations: 362.7 kB / 0.5305 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/1.133, allocations: 31.73 kB / 0.5306 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/1.134, allocations: 84.97 kB / 0.5306 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/1.135, allocations: 97.33 kB / 0.5307 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.135, allocations: 37.86 kB / 0.5308 GB, free: 119.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00161/1.137, allocations: 0.7973 MB / 0.5315 GB, free: 119.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.68e-07/1.137, allocations: 0 / 0.5315 GB, free: 119.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002043/1.139, allocations: 473.7 kB / 0.532 GB, free: 119.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 3 {(5,84.0%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006281/1.139, allocations: 318.8 kB / 0.5323 GB, free: 119 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004574/1.144, allocations: 2.168 MB / 0.5344 GB, free: 118.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.972e-06/1.144, allocations: 0.9375 kB / 0.5344 GB, free: 118.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.147, allocations: 1.477 MB / 0.5359 GB, free: 118.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.15, allocations: 346.8 kB / 0.5362 GB, free: 118.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007403/1.157, allocations: 3.28 MB / 0.5394 GB, free: 117.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001999/1.159, allocations: 1.685 MB / 0.541 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001458/1.161, allocations: 295.1 kB / 0.5413 GB, free: 116.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.161, allocations: 95.91 kB / 0.5414 GB, free: 116.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.841e-06/1.161, allocations: 5 kB / 0.5414 GB, free: 116.6 MB / 442.7 MB Notification: Performance of Templates: time 0.05634/1.217, allocations: 24.99 MB / 0.5658 GB, free: 115.3 MB / 442.7 MB