Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=22000,variableFilter="time|capacitor1.v|capacitor2.v|filter.x.1.|filter.x.2.|smee.is.1.|smee.is.2.|smee.excitation.electroMagneticConverter.Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|speed.phi|speed.w|voltageController.I.y",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.574e-05/4.591e-05, allocations: 11.94 kB / 292.2 MB, free: 8.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 50.4 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4627/0.566, allocations: 132.7 MB / 475.3 MB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5663, allocations: 90.31 kB / 475.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5733/1.14, allocations: 96.13 MB / 0.5581 GB, free: 98.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.14, allocations: 4 kB / 0.5581 GB, free: 98.84 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002711/1.14, allocations: 92.17 kB / 0.5582 GB, free: 98.83 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: 958 * Number of variables: 958 Notification: Performance of Generate backend data structure: time 0.01086/1.151, allocations: 3.749 MB / 0.5618 GB, free: 97.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.151, allocations: 11 kB / 0.5618 GB, free: 97.34 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006373/1.157, allocations: 0.9084 MB / 0.5627 GB, free: 97.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0114/1.169, allocations: 3.609 MB / 0.5663 GB, free: 96.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/1.169, allocations: 271.5 kB / 0.5665 GB, free: 96.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/1.171, allocations: 371 kB / 0.5669 GB, free: 96.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02158/1.193, allocations: 4.526 MB / 0.5713 GB, free: 94.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002178/1.193, allocations: 0 / 0.5713 GB, free: 94.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/1.194, allocations: 154.6 kB / 0.5714 GB, free: 94.4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/1.194, allocations: 162.8 kB / 0.5716 GB, free: 94.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0191/1.214, allocations: 3.672 MB / 0.5752 GB, free: 92.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05738/1.271, allocations: 16 MB / 0.5908 GB, free: 83.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009059/1.28, allocations: 7.76 MB / 0.5984 GB, free: 77.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/1.284, allocations: 1.727 MB / 0.6001 GB, free: 76.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/1.295, allocations: 5.057 MB / 0.605 GB, free: 73.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.295, allocations: 48.41 kB / 0.6051 GB, free: 73.65 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 5.372e-06/1.295, allocations: 11.34 kB / 0.6051 GB, free: 73.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.01018/1.305, allocations: 5.073 MB / 0.61 GB, free: 71.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/1.305, allocations: 177.5 kB / 0.6102 GB, free: 70.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/1.308, allocations: 1.916 MB / 0.6121 GB, free: 70.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000196/1.309, allocations: 60.95 kB / 0.6121 GB, free: 69.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001093/1.31, allocations: 1.694 MB / 0.6138 GB, free: 68.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005428/1.31, allocations: 0.6002 MB / 0.6144 GB, free: 68.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.31, allocations: 43.53 kB / 0.6144 GB, free: 68.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/1.311, allocations: 393 kB / 0.6148 GB, free: 67.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/1.312, allocations: 0.8083 MB / 0.6156 GB, free: 67.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002014/1.314, allocations: 1.431 MB / 0.617 GB, free: 65.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/1.316, allocations: 1.073 MB / 0.618 GB, free: 64.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.296e-05/1.316, allocations: 4 kB / 0.618 GB, free: 64.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005606/1.322, allocations: 2.917 MB / 0.6209 GB, free: 62.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.323, allocations: 7.834 MB / 0.6285 GB, free: 53.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/1.323, allocations: 23.7 kB / 0.6285 GB, free: 53.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/1.325, allocations: 461 kB / 0.629 GB, free: 53.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/1.327, allocations: 481.2 kB / 0.6294 GB, free: 52.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007982/1.335, allocations: 8.04 MB / 0.6373 GB, free: 44.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/1.338, allocations: 98.34 kB / 0.6374 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/1.338, allocations: 91.94 kB / 0.6375 GB, free: 44.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.338, allocations: 5.25 kB / 0.6375 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00515/1.343, allocations: 2.686 MB / 0.6401 GB, free: 42.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.396e-05/1.343, allocations: 20 kB / 0.6401 GB, free: 42.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/1.345, allocations: 461.8 kB / 0.6406 GB, free: 41.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.347, allocations: 475.4 kB / 0.641 GB, free: 41.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/1.355, allocations: 8.062 MB / 0.6489 GB, free: 33.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.357, allocations: 89.84 kB / 0.649 GB, free: 33.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002509/1.357, allocations: 95.09 kB / 0.6491 GB, free: 33.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 7 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 245 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000508/1.358, allocations: 241.3 kB / 0.6493 GB, free: 32.94 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/1.358, allocations: 264.9 kB / 0.6495 GB, free: 32.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005459/1.364, allocations: 2.721 MB / 0.6522 GB, free: 30.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/1.364, allocations: 16 kB / 0.6522 GB, free: 30.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/1.364, allocations: 8 kB / 0.6522 GB, free: 30.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/1.364, allocations: 10.89 kB / 0.6522 GB, free: 30.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/1.375, allocations: 5.867 MB / 0.658 GB, free: 25.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/1.375, allocations: 4 kB / 0.658 GB, free: 25.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/1.377, allocations: 246.8 kB / 0.6582 GB, free: 25.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/1.379, allocations: 0.6473 MB / 0.6588 GB, free: 24.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/1.379, allocations: 43.89 kB / 0.6589 GB, free: 24.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/1.392, allocations: 12.54 MB / 0.6711 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.258e-06/1.392, allocations: 7.938 kB / 0.6711 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006846/1.399, allocations: 3.921 MB / 0.675 GB, free: 8.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.4, allocations: 0.5096 MB / 0.6754 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004267/1.401, allocations: 39.81 kB / 0.6755 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/1.402, allocations: 83.94 kB / 0.6756 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003446/1.403, allocations: 141.7 kB / 0.6757 GB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.403, allocations: 43.98 kB / 0.6757 GB, free: 7.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002573/1.405, allocations: 1.458 MB / 0.6772 GB, free: 5.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.29e-07/1.406, allocations: 0 / 0.6772 GB, free: 5.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004926/1.41, allocations: 1.336 MB / 0.6785 GB, free: 4.629 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008339/1.411, allocations: 0.5277 MB / 0.679 GB, free: 4.148 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2581/1.669, allocations: 4.606 MB / 0.6835 GB, free: 88.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/1.669, allocations: 1.5 kB / 0.6835 GB, free: 88.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003615/1.673, allocations: 1.843 MB / 0.6853 GB, free: 87.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/1.677, allocations: 0.6394 MB / 0.6859 GB, free: 87.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/1.69, allocations: 5.572 MB / 0.6914 GB, free: 86.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0035/1.694, allocations: 2.588 MB / 0.6939 GB, free: 85.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005103/1.699, allocations: 0.8444 MB / 0.6947 GB, free: 85.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/1.699, allocations: 122.8 kB / 0.6948 GB, free: 85.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.612e-06/1.699, allocations: 1.125 kB / 0.6948 GB, free: 85.39 MB / 442.7 MB Notification: Performance of Templates: time 0.1195/1.819, allocations: 47.79 MB / 0.7415 GB, free: 82.49 MB / 442.7 MB