Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.626e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08267/0.08272, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4447, allocations: 102.1 MB / 419.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004368/0.4452, allocations: 81.95 kB / 419.2 MB, free: 2.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1655/0.6108, allocations: 40.19 MB / 459.3 MB, free: 348 kB / 362.7 MB Notification: Performance of FrontEnd: time 5.119e-06/0.6108, allocations: 4 kB / 459.3 MB, free: 344 kB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001555/0.611, allocations: 47.94 kB / 459.4 MB, free: 296 kB / 362.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.004579/0.6156, allocations: 1.932 MB / 461.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.6156, allocations: 8.031 kB / 461.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009565/0.6166, allocations: 254.8 kB / 461.6 MB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.6198, allocations: 1.341 MB / 462.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.62, allocations: 135.5 kB / 463.1 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.6204, allocations: 183.6 kB / 463.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005116/0.6255, allocations: 2.269 MB / 465.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/0.6256, allocations: 4 kB / 465.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002686/0.6259, allocations: 72.34 kB / 465.6 MB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.6261, allocations: 87.47 kB / 465.7 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004341/0.6304, allocations: 1.764 MB / 467.4 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.6461, allocations: 7.183 MB / 474.6 MB, free: 1.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/0.6485, allocations: 1.257 MB / 475.9 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.65, allocations: 0.6872 MB / 476.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.6504, allocations: 137.8 kB / 476.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.6505, allocations: 39.34 kB / 476.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=90): time 4.365e-06/0.6505, allocations: 0 / 476.7 MB, free: 15.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=113): time 0.01839/0.6689, allocations: 5.954 MB / 482.7 MB, free: 9.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.669, allocations: 64.41 kB / 482.7 MB, free: 9.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.6712, allocations: 1.03 MB / 483.8 MB, free: 7.984 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001561/0.6713, allocations: 45.7 kB / 483.8 MB, free: 7.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008615/0.6722, allocations: 0.8613 MB / 484.7 MB, free: 7.059 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.6727, allocations: 394.3 kB / 485.1 MB, free: 6.668 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.6728, allocations: 32 kB / 485.1 MB, free: 6.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.6731, allocations: 357.9 kB / 485.4 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.6744, allocations: 0.6312 MB / 486.1 MB, free: 5.652 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.6761, allocations: 0.9434 MB / 487 MB, free: 4.582 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.6778, allocations: 0.7818 MB / 487.8 MB, free: 3.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.907e-06/0.6778, allocations: 7.938 kB / 487.8 MB, free: 3.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005528/0.6833, allocations: 2.304 MB / 490.1 MB, free: 1.465 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.6834, allocations: 8 kB / 490.1 MB, free: 1.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.6834, allocations: 8 kB / 490.1 MB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.6856, allocations: 0.6375 MB / 490.8 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.6873, allocations: 279.6 kB / 491 MB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.6982, allocations: 6.3 MB / 497.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.6997, allocations: 91.97 kB / 497.4 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.6999, allocations: 52 kB / 497.5 MB, free: 9.816 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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.0003629/0.7003, allocations: 188.5 kB / 497.7 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.7006, allocations: 142.3 kB / 497.8 MB, free: 9.484 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005261/0.7059, allocations: 2.174 MB / 500 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.706, allocations: 8 kB / 500 MB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.706, allocations: 8 kB / 500 MB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.812e-05/0.706, allocations: 7.969 kB / 500 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.7163, allocations: 4.347 MB / 0.4925 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.496e-06/0.7164, allocations: 4 kB / 0.4925 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.7174, allocations: 171.8 kB / 0.4927 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/0.7202, allocations: 0.7176 MB / 0.4934 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.7203, allocations: 39.92 kB / 0.4934 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.7334, allocations: 8.045 MB / 0.5013 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.399e-06/0.7334, allocations: 4 kB / 0.5013 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007009/0.7404, allocations: 3.256 MB / 0.5045 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/0.7415, allocations: 363.2 kB / 0.5048 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/0.7418, allocations: 28.19 kB / 0.5048 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.7429, allocations: 91.89 kB / 0.5049 GB, free: 5.566 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003156/0.7432, allocations: 100.8 kB / 0.505 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/0.7434, allocations: 43.94 kB / 0.5051 GB, free: 5.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00163/0.745, allocations: 0.7888 MB / 0.5058 GB, free: 4.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.745, allocations: 0 / 0.5058 GB, free: 4.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002288/0.7473, allocations: 483.9 kB / 0.5063 GB, free: 4.152 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 80 * 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 {(7,59.2%) 21,(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.0008746/0.7482, allocations: 284.2 kB / 0.5066 GB, free: 3.871 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007792/0.756, allocations: 2.174 MB / 0.5087 GB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.344e-06/0.7561, allocations: 0 / 0.5087 GB, free: 1.633 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005537/0.7617, allocations: 1.496 MB / 0.5102 GB, free: 92 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2279/0.9896, allocations: 342.5 kB / 0.5105 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.9969, allocations: 3.263 MB / 0.5137 GB, free: 120.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.9988, allocations: 1.683 MB / 0.5153 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00139/1, allocations: 299.7 kB / 0.5156 GB, free: 120.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003733/1.001, allocations: 94.72 kB / 0.5157 GB, free: 120.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.649e-06/1.001, allocations: 0 / 0.5157 GB, free: 120.1 MB / 426.7 MB Notification: Performance of Templates: time 0.07697/1.078, allocations: 24.97 MB / 0.5401 GB, free: 118.7 MB / 426.7 MB