Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.742e-05/2.757e-05, allocations: 4 kB / 292.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.08996, allocations: 50.41 MB / 342.6 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.4938, allocations: 109.1 MB / 451.6 MB, free: 1.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4941, allocations: 92 kB / 451.7 MB, free: 1.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3071/0.8012, allocations: 79.64 MB / 0.5189 GB, free: 5.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.123e-06/0.8013, allocations: 0 / 0.5189 GB, free: 5.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002336/0.8015, allocations: 75.88 kB / 0.519 GB, free: 5.105 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009816/0.8114, allocations: 3.175 MB / 0.5221 GB, free: 1.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.8114, allocations: 12.03 kB / 0.5221 GB, free: 1.855 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005362/0.8168, allocations: 0.7063 MB / 0.5228 GB, free: 1.145 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.256/1.073, allocations: 3.282 MB / 0.526 GB, free: 93.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/1.073, allocations: 234.9 kB / 0.5262 GB, free: 93.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000826/1.074, allocations: 316.6 kB / 0.5265 GB, free: 93.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009775/1.084, allocations: 4.012 MB / 0.5304 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.524e-05/1.084, allocations: 1.719 kB / 0.5304 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000466/1.084, allocations: 133.9 kB / 0.5306 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/1.085, allocations: 148.8 kB / 0.5307 GB, free: 93.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008801/1.093, allocations: 3.246 MB / 0.5339 GB, free: 93.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02745/1.121, allocations: 13.24 MB / 0.5468 GB, free: 91.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/1.128, allocations: 6.787 MB / 0.5534 GB, free: 85.82 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002565/1.13, allocations: 1.319 MB / 0.5547 GB, free: 85.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007704/1.138, allocations: 3.724 MB / 0.5584 GB, free: 84.98 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.138, allocations: 43.47 kB / 0.5584 GB, free: 84.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.78e-06/1.138, allocations: 2.438 kB / 0.5584 GB, free: 84.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.007792/1.146, allocations: 3.842 MB / 0.5622 GB, free: 82.91 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/1.146, allocations: 64.03 kB / 0.5622 GB, free: 82.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/1.149, allocations: 1.469 MB / 0.5637 GB, free: 82.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/1.149, allocations: 45.36 kB / 0.5637 GB, free: 82.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008499/1.15, allocations: 1.406 MB / 0.5651 GB, free: 81.13 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/1.15, allocations: 430.8 kB / 0.5655 GB, free: 80.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/1.15, allocations: 33.78 kB / 0.5655 GB, free: 80.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/1.15, allocations: 372.6 kB / 0.5659 GB, free: 80.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/1.151, allocations: 0.5918 MB / 0.5664 GB, free: 80.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/1.153, allocations: 1.051 MB / 0.5675 GB, free: 79.4 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/1.154, allocations: 0.7981 MB / 0.5683 GB, free: 79.09 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.154, allocations: 3.625 kB / 0.5683 GB, free: 79.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004237/1.158, allocations: 2.181 MB / 0.5704 GB, free: 78.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/1.158, allocations: 9.844 kB / 0.5704 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/1.158, allocations: 18.12 kB / 0.5704 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000884/1.159, allocations: 263.1 kB / 0.5707 GB, free: 78.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.161, allocations: 356.9 kB / 0.571 GB, free: 78.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/1.167, allocations: 5.682 MB / 0.5766 GB, free: 73.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/1.168, allocations: 74.31 kB / 0.5766 GB, free: 73.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/1.169, allocations: 66.66 kB / 0.5767 GB, free: 73.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.0003301/1.169, allocations: 197.8 kB / 0.5769 GB, free: 73.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.169, allocations: 182.9 kB / 0.5771 GB, free: 72.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/1.173, allocations: 2.047 MB / 0.579 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/1.173, allocations: 10.66 kB / 0.5791 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/1.173, allocations: 5.594 kB / 0.5791 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/1.173, allocations: 9.969 kB / 0.5791 GB, free: 71.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009018/1.182, allocations: 4.696 MB / 0.5837 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.992e-06/1.182, allocations: 3.875 kB / 0.5837 GB, free: 69.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.184, allocations: 165.8 kB / 0.5838 GB, free: 69.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/1.185, allocations: 452.5 kB / 0.5843 GB, free: 69.61 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/1.185, allocations: 38.06 kB / 0.5843 GB, free: 69.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/1.195, allocations: 10.05 MB / 0.5941 GB, free: 61.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/1.195, allocations: 3.5 kB / 0.5941 GB, free: 61.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005172/1.201, allocations: 2.954 MB / 0.597 GB, free: 59.58 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009967/1.202, allocations: 404 kB / 0.5974 GB, free: 59.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003115/1.202, allocations: 30.69 kB / 0.5974 GB, free: 59.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.203, allocations: 76.92 kB / 0.5975 GB, free: 59.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/1.203, allocations: 93.69 kB / 0.5976 GB, free: 59.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/1.203, allocations: 33.31 kB / 0.5976 GB, free: 59.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001936/1.205, allocations: 1.128 MB / 0.5987 GB, free: 58.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.18e-07/1.205, allocations: 0 / 0.5987 GB, free: 58.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002631/1.208, allocations: 0.5734 MB / 0.5993 GB, free: 58.71 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0006333/1.209, allocations: 436.8 kB / 0.5997 GB, free: 58.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003373/1.212, allocations: 1.926 MB / 0.6016 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.564e-06/1.212, allocations: 0 / 0.6016 GB, free: 57.57 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002432/1.215, allocations: 1.426 MB / 0.603 GB, free: 56.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002522/1.217, allocations: 476.3 kB / 0.6034 GB, free: 56.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009097/1.226, allocations: 4.395 MB / 0.6077 GB, free: 54.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002406/1.229, allocations: 2.342 MB / 0.61 GB, free: 53.5 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001962/1.231, allocations: 374.4 kB / 0.6103 GB, free: 53.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004475/1.231, allocations: 119.3 kB / 0.6105 GB, free: 53.44 MB / 442.7 MB Notification: Performance of SimCode: time 3.083e-06/1.231, allocations: 2.062 kB / 0.6105 GB, free: 53.44 MB / 442.7 MB Notification: Performance of Templates: time 0.06871/1.3, allocations: 28.29 MB / 0.6381 GB, free: 42.8 MB / 442.7 MB