Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.683e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1441, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3831/0.5274, allocations: 108 MB / 425 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5277, allocations: 85.39 kB / 425 MB, free: 12.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3118/0.8395, allocations: 79.41 MB / 0.4926 GB, free: 3.375 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.816e-06/0.8395, allocations: 3.938 kB / 0.4926 GB, free: 3.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004165/0.84, allocations: 87.75 kB / 0.4927 GB, free: 3.285 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02027/0.8603, allocations: 3.16 MB / 0.4958 GB, free: 64 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.8603, allocations: 12.02 kB / 0.4958 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005797/0.8662, allocations: 0.7107 MB / 0.4965 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/0.8777, allocations: 3.288 MB / 0.4997 GB, free: 11.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.8781, allocations: 230.3 kB / 0.4999 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.8791, allocations: 319.9 kB / 0.5002 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.8904, allocations: 4.019 MB / 0.5042 GB, free: 7.316 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/0.8906, allocations: 7.906 kB / 0.5042 GB, free: 7.309 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004798/0.8911, allocations: 128 kB / 0.5043 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/0.8913, allocations: 142.3 kB / 0.5044 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009564/0.9009, allocations: 3.246 MB / 0.5076 GB, free: 3.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2642/1.165, allocations: 13.22 MB / 0.5205 GB, free: 88.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007077/1.172, allocations: 6.793 MB / 0.5272 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002839/1.175, allocations: 1.325 MB / 0.5284 GB, free: 83.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007664/1.183, allocations: 3.692 MB / 0.5321 GB, free: 82.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/1.183, allocations: 49.5 kB / 0.5321 GB, free: 82.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 5.038e-06/1.183, allocations: 1.406 kB / 0.5321 GB, free: 82.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.007855/1.191, allocations: 3.814 MB / 0.5358 GB, free: 81.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/1.191, allocations: 64.12 kB / 0.5359 GB, free: 81.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002713/1.194, allocations: 1.474 MB / 0.5373 GB, free: 81.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/1.194, allocations: 46.73 kB / 0.5374 GB, free: 81.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008754/1.195, allocations: 1.414 MB / 0.5388 GB, free: 80.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003454/1.195, allocations: 423.6 kB / 0.5392 GB, free: 80.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/1.195, allocations: 33.84 kB / 0.5392 GB, free: 80.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/1.195, allocations: 364.6 kB / 0.5395 GB, free: 80.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.196, allocations: 0.5925 MB / 0.5401 GB, free: 80.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/1.198, allocations: 1.049 MB / 0.5411 GB, free: 79.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/1.199, allocations: 0.8076 MB / 0.5419 GB, free: 79.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/1.199, allocations: 1.844 kB / 0.5419 GB, free: 79.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004424/1.204, allocations: 2.173 MB / 0.5441 GB, free: 79.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/1.204, allocations: 15.7 kB / 0.5441 GB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.204, allocations: 19.91 kB / 0.5441 GB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008227/1.205, allocations: 265.5 kB / 0.5443 GB, free: 79.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.207, allocations: 354.2 kB / 0.5447 GB, free: 79.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/1.212, allocations: 5.669 MB / 0.5502 GB, free: 75.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/1.214, allocations: 83.25 kB / 0.5503 GB, free: 75.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.214, allocations: 67.12 kB / 0.5504 GB, free: 75.58 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 174 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003356/1.215, allocations: 205.6 kB / 0.5506 GB, free: 75.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/1.215, allocations: 175.3 kB / 0.5507 GB, free: 75.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004342/1.219, allocations: 2.028 MB / 0.5527 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/1.219, allocations: 11.28 kB / 0.5527 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.219, allocations: 7.844 kB / 0.5527 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.219, allocations: 6.797 kB / 0.5527 GB, free: 75.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009116/1.229, allocations: 4.689 MB / 0.5573 GB, free: 74.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.69e-06/1.229, allocations: 3.812 kB / 0.5573 GB, free: 74.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/1.23, allocations: 175.4 kB / 0.5575 GB, free: 74.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001518/1.231, allocations: 439.3 kB / 0.5579 GB, free: 74.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/1.231, allocations: 34.12 kB / 0.5579 GB, free: 74.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/1.242, allocations: 10.05 MB / 0.5677 GB, free: 66.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.066e-06/1.242, allocations: 2.719 kB / 0.5677 GB, free: 66.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005385/1.247, allocations: 2.959 MB / 0.5706 GB, free: 64.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009768/1.248, allocations: 404.2 kB / 0.571 GB, free: 64.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/1.249, allocations: 32.33 kB / 0.571 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/1.25, allocations: 72.92 kB / 0.5711 GB, free: 64.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/1.25, allocations: 104.2 kB / 0.5712 GB, free: 64.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.25, allocations: 35.94 kB / 0.5713 GB, free: 64.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002091/1.252, allocations: 1.124 MB / 0.5723 GB, free: 63.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.19e-07/1.252, allocations: 3.844 kB / 0.5724 GB, free: 63.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002729/1.255, allocations: 0.5718 MB / 0.5729 GB, free: 63.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006311/1.256, allocations: 406 kB / 0.5733 GB, free: 63.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00348/1.259, allocations: 1.919 MB / 0.5752 GB, free: 62.49 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.311e-06/1.259, allocations: 2.812 kB / 0.5752 GB, free: 62.49 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00265/1.262, allocations: 1.43 MB / 0.5766 GB, free: 61.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.265, allocations: 471.9 kB / 0.577 GB, free: 61.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009633/1.275, allocations: 4.443 MB / 0.5814 GB, free: 59.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/1.277, allocations: 2.329 MB / 0.5836 GB, free: 58.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001982/1.279, allocations: 378.9 kB / 0.584 GB, free: 58.35 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/1.279, allocations: 121.9 kB / 0.5841 GB, free: 58.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.88e-06/1.279, allocations: 0 / 0.5841 GB, free: 58.34 MB / 426.7 MB Notification: Performance of Templates: time 0.06929/1.349, allocations: 28.18 MB / 0.6116 GB, free: 52.64 MB / 426.7 MB