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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.272e-05, allocations: 4 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09224, allocations: 50.42 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.4921, allocations: 102.7 MB / 445.7 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.4924, allocations: 85.14 kB / 445.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2346/0.727, allocations: 40.3 MB / 486.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.323e-06/0.7271, allocations: 0 / 486.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002431/0.7274, allocations: 51.88 kB / 486.2 MB, free: 3.496 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.006739/0.7341, allocations: 1.937 MB / 488.1 MB, free: 1.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7342, allocations: 8.031 kB / 488.1 MB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.7353, allocations: 257.2 kB / 488.4 MB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/0.7411, allocations: 1.352 MB / 489.7 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/0.7414, allocations: 143.4 kB / 489.9 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007869/0.7422, allocations: 184 kB / 490 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009018/0.7512, allocations: 2.256 MB / 492.3 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-05/0.7513, allocations: 7.906 kB / 492.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.7516, allocations: 76 kB / 492.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/0.7518, allocations: 83.5 kB / 492.5 MB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.7565, allocations: 1.756 MB / 494.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.7729, allocations: 7.179 MB / 0.4896 GB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.7754, allocations: 1.256 MB / 0.4909 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.7769, allocations: 0.6898 MB / 0.4915 GB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.7772, allocations: 133.8 kB / 0.4917 GB, free: 1.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.7773, allocations: 47.28 kB / 0.4917 GB, free: 1.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 7.36e-06/0.7773, allocations: 0 / 0.4917 GB, free: 1.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=114): time 0.01813/0.7955, allocations: 5.969 MB / 0.4976 GB, free: 11.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.7955, allocations: 64.41 kB / 0.4976 GB, free: 11.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.7977, allocations: 1.034 MB / 0.4986 GB, free: 10.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.7979, allocations: 41.7 kB / 0.4987 GB, free: 10.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008568/0.7987, allocations: 0.8575 MB / 0.4995 GB, free: 9.598 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004572/0.7992, allocations: 406.2 kB / 0.4999 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.7993, allocations: 24 kB / 0.4999 GB, free: 9.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/0.7996, allocations: 357.9 kB / 0.5003 GB, free: 8.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.8009, allocations: 0.6391 MB / 0.5009 GB, free: 8.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.8026, allocations: 0.9243 MB / 0.5018 GB, free: 7.125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.8043, allocations: 0.7934 MB / 0.5026 GB, free: 6.328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.49e-06/0.8043, allocations: 4 kB / 0.5026 GB, free: 6.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005559/0.8099, allocations: 2.311 MB / 0.5048 GB, free: 3.996 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.81, allocations: 11.95 kB / 0.5048 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.902e-05/0.81, allocations: 8 kB / 0.5048 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.8122, allocations: 0.6419 MB / 0.5055 GB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/0.8136, allocations: 283.6 kB / 0.5057 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.8242, allocations: 6.31 MB / 0.5119 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.8257, allocations: 95.91 kB / 0.512 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/0.8259, allocations: 48 kB / 0.512 GB, free: 12.34 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.0003603/0.8263, allocations: 172.7 kB / 0.5122 GB, free: 12.16 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003639/0.8266, allocations: 146.2 kB / 0.5123 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005243/0.8319, allocations: 2.189 MB / 0.5145 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.8319, allocations: 12 kB / 0.5145 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.832, allocations: 7.938 kB / 0.5145 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.832, allocations: 3.984 kB / 0.5145 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.8426, allocations: 4.371 MB / 0.5188 GB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.8427, allocations: 12.02 kB / 0.5188 GB, free: 5.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.8437, allocations: 171.8 kB / 0.5189 GB, free: 5.121 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.8464, allocations: 0.7172 MB / 0.5196 GB, free: 4.395 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.8466, allocations: 31.98 kB / 0.5197 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2974/1.144, allocations: 8.009 MB / 0.5275 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.232e-06/1.144, allocations: 6.531 kB / 0.5275 GB, free: 119.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006731/1.151, allocations: 3.279 MB / 0.5307 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009703/1.152, allocations: 359.5 kB / 0.531 GB, free: 118.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/1.152, allocations: 30.52 kB / 0.5311 GB, free: 118.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.153, allocations: 85.34 kB / 0.5312 GB, free: 118.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/1.153, allocations: 98.09 kB / 0.5312 GB, free: 118.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.154, allocations: 41.23 kB / 0.5313 GB, free: 118.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001601/1.155, allocations: 0.7918 MB / 0.5321 GB, free: 118.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.133e-06/1.155, allocations: 0 / 0.5321 GB, free: 118.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002201/1.157, allocations: 476.6 kB / 0.5325 GB, free: 118.7 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.0006448/1.158, allocations: 312.5 kB / 0.5328 GB, free: 118.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004445/1.163, allocations: 2.167 MB / 0.5349 GB, free: 118.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.159e-06/1.163, allocations: 1.438 kB / 0.5349 GB, free: 118.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003239/1.166, allocations: 1.479 MB / 0.5364 GB, free: 117.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/1.168, allocations: 353.8 kB / 0.5367 GB, free: 117.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007424/1.176, allocations: 3.281 MB / 0.5399 GB, free: 116.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/1.177, allocations: 1.688 MB / 0.5416 GB, free: 116.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00146/1.179, allocations: 295.2 kB / 0.5418 GB, free: 116.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/1.179, allocations: 98.3 kB / 0.5419 GB, free: 116.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.07e-06/1.179, allocations: 0 / 0.5419 GB, free: 116.2 MB / 442.7 MB Notification: Performance of Templates: time 0.05818/1.238, allocations: 24.98 MB / 0.5663 GB, free: 114.9 MB / 442.7 MB