Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.973/1.973, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.078e-05, allocations: 0 / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08592, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5056, allocations: 131.4 MB / 448.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.506, allocations: 80.2 kB / 448.4 MB, free: 5.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6235/1.13, allocations: 95.97 MB / 0.5316 GB, free: 88.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.72e-06/1.13, allocations: 7.969 kB / 0.5316 GB, free: 88.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003842/1.13, allocations: 93.25 kB / 0.5317 GB, free: 88.6 MB / 426.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.01258/1.143, allocations: 3.74 MB / 0.5353 GB, free: 87.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/1.143, allocations: 7.688 kB / 0.5353 GB, free: 87.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006687/1.149, allocations: 0.9061 MB / 0.5362 GB, free: 86.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/1.161, allocations: 3.617 MB / 0.5398 GB, free: 86.35 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002707/1.161, allocations: 282.5 kB / 0.54 GB, free: 86.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/1.162, allocations: 368.9 kB / 0.5404 GB, free: 86.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/1.174, allocations: 4.523 MB / 0.5448 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/1.174, allocations: 5.484 kB / 0.5448 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/1.174, allocations: 163.3 kB / 0.545 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/1.175, allocations: 152.1 kB / 0.5451 GB, free: 85.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009736/1.184, allocations: 3.663 MB / 0.5487 GB, free: 85.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03241/1.217, allocations: 16.01 MB / 0.5643 GB, free: 79.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007732/1.225, allocations: 7.745 MB / 0.5719 GB, free: 72.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003589/1.228, allocations: 1.732 MB / 0.5736 GB, free: 72.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/1.239, allocations: 5.068 MB / 0.5785 GB, free: 69.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/1.239, allocations: 58.34 kB / 0.5786 GB, free: 69.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=174): time 5.496e-06/1.239, allocations: 0 / 0.5786 GB, free: 69.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.0109/1.25, allocations: 5.074 MB / 0.5835 GB, free: 66.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/1.25, allocations: 177.5 kB / 0.5837 GB, free: 66.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003682/1.254, allocations: 1.922 MB / 0.5856 GB, free: 65.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000293/1.254, allocations: 62.08 kB / 0.5856 GB, free: 65.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001107/1.255, allocations: 1.693 MB / 0.5873 GB, free: 64.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/1.256, allocations: 0.601 MB / 0.5879 GB, free: 63.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1.256, allocations: 43.5 kB / 0.5879 GB, free: 63.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/1.256, allocations: 392.6 kB / 0.5883 GB, free: 63.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/1.258, allocations: 0.8155 MB / 0.5891 GB, free: 63.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002293/1.26, allocations: 1.432 MB / 0.5905 GB, free: 61.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/1.263, allocations: 1.058 MB / 0.5915 GB, free: 61.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-05/1.263, allocations: 3.875 kB / 0.5915 GB, free: 61.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.006386/1.269, allocations: 2.927 MB / 0.5944 GB, free: 60.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001498/1.271, allocations: 7.829 MB / 0.602 GB, free: 51.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.311e-05/1.271, allocations: 21.58 kB / 0.602 GB, free: 51.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.272, allocations: 466.3 kB / 0.6025 GB, free: 51.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002613/1.275, allocations: 493.9 kB / 0.603 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/1.283, allocations: 8.044 MB / 0.6108 GB, free: 45.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002529/1.286, allocations: 103.9 kB / 0.6109 GB, free: 44.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003186/1.286, allocations: 92.2 kB / 0.611 GB, free: 44.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.286, allocations: 7.688 kB / 0.611 GB, free: 44.95 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005593/1.292, allocations: 2.674 MB / 0.6136 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.69e-05/1.292, allocations: 21.45 kB / 0.6136 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/1.293, allocations: 463.5 kB / 0.6141 GB, free: 43.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/1.296, allocations: 479.7 kB / 0.6145 GB, free: 43.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008464/1.304, allocations: 8.045 MB / 0.6224 GB, free: 36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.307, allocations: 93.08 kB / 0.6225 GB, free: 35.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/1.307, allocations: 88 kB / 0.6226 GB, free: 35.84 MB / 426.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.0005483/1.308, allocations: 246.5 kB / 0.6228 GB, free: 35.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000524/1.308, allocations: 260.1 kB / 0.6231 GB, free: 35.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00548/1.314, allocations: 2.729 MB / 0.6257 GB, free: 32.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/1.314, allocations: 16 kB / 0.6257 GB, free: 32.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.314, allocations: 7.953 kB / 0.6257 GB, free: 32.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.469e-05/1.314, allocations: 11.62 kB / 0.6258 GB, free: 32.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/1.326, allocations: 5.874 MB / 0.6315 GB, free: 28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.326, allocations: 0 / 0.6315 GB, free: 28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001483/1.327, allocations: 249.8 kB / 0.6317 GB, free: 27.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/1.329, allocations: 0.6453 MB / 0.6324 GB, free: 27.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002759/1.329, allocations: 51.33 kB / 0.6324 GB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/1.343, allocations: 12.53 MB / 0.6446 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.073e-06/1.343, allocations: 3.938 kB / 0.6447 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007064/1.35, allocations: 3.92 MB / 0.6485 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.351, allocations: 0.5118 MB / 0.649 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004986/1.352, allocations: 36 kB / 0.649 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/1.353, allocations: 91.5 kB / 0.6491 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003614/1.354, allocations: 137.1 kB / 0.6492 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.354, allocations: 47.44 kB / 0.6493 GB, free: 10.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002812/1.357, allocations: 1.458 MB / 0.6507 GB, free: 8.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.256e-06/1.357, allocations: 0 / 0.6507 GB, free: 8.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006689/1.364, allocations: 1.336 MB / 0.652 GB, free: 7.648 MB / 426.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.001023/1.365, allocations: 0.5256 MB / 0.6525 GB, free: 7.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008081/1.373, allocations: 4.612 MB / 0.657 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.266e-06/1.373, allocations: 1.875 kB / 0.657 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003278/1.376, allocations: 1.861 MB / 0.6588 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003755/1.38, allocations: 0.6318 MB / 0.6595 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/1.397, allocations: 5.72 MB / 0.665 GB, free: 11.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004069/1.401, allocations: 2.58 MB / 0.6676 GB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00507/1.407, allocations: 0.8499 MB / 0.6684 GB, free: 9.332 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/1.407, allocations: 127.1 kB / 0.6685 GB, free: 9.211 MB / 442.7 MB Notification: Performance of SimCode: time 1.697e-06/1.407, allocations: 0 / 0.6685 GB, free: 9.211 MB / 442.7 MB Notification: Performance of Templates: time 0.3653/1.773, allocations: 47.71 MB / 0.7151 GB, free: 88.4 MB / 442.7 MB