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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.002/2.002, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.218e-05, allocations: 7.938 kB / 292.7 MB, free: 11.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09174, allocations: 50.42 MB / 343.1 MB, free: 9.055 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4378/0.5296, allocations: 132.4 MB / 475.5 MB, free: 6.281 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5299, allocations: 96 kB / 475.6 MB, free: 6.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6/1.13, allocations: 96.14 MB / 0.5584 GB, free: 77.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.196e-06/1.13, allocations: 0 / 0.5584 GB, free: 77.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003589/1.13, allocations: 95.5 kB / 0.5585 GB, free: 77.61 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.01341/1.144, allocations: 3.751 MB / 0.5621 GB, free: 76.39 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.144, allocations: 9.688 kB / 0.5621 GB, free: 76.39 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00729/1.151, allocations: 0.9056 MB / 0.563 GB, free: 76.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/1.163, allocations: 3.621 MB / 0.5665 GB, free: 75.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003108/1.163, allocations: 272.9 kB / 0.5668 GB, free: 75.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/1.164, allocations: 371.5 kB / 0.5672 GB, free: 75.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/1.176, allocations: 4.522 MB / 0.5716 GB, free: 75.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001159/1.177, allocations: 3.906 kB / 0.5716 GB, free: 75.12 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005589/1.177, allocations: 156.9 kB / 0.5717 GB, free: 75.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/1.177, allocations: 154 kB / 0.5719 GB, free: 75.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009322/1.187, allocations: 3.672 MB / 0.5755 GB, free: 75.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03058/1.217, allocations: 16 MB / 0.5911 GB, free: 71.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007789/1.225, allocations: 7.749 MB / 0.5987 GB, free: 66.11 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003471/1.229, allocations: 1.727 MB / 0.6003 GB, free: 66.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/1.239, allocations: 5.057 MB / 0.6053 GB, free: 64.24 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.239, allocations: 63.33 kB / 0.6053 GB, free: 64.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 6.741e-06/1.239, allocations: 0 / 0.6053 GB, free: 64.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.0106/1.25, allocations: 5.072 MB / 0.6103 GB, free: 61.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/1.25, allocations: 182.3 kB / 0.6105 GB, free: 61.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/1.254, allocations: 1.915 MB / 0.6123 GB, free: 60.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002886/1.254, allocations: 56.89 kB / 0.6124 GB, free: 60.56 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/1.255, allocations: 1.693 MB / 0.614 GB, free: 59.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/1.256, allocations: 0.597 MB / 0.6146 GB, free: 58.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/1.256, allocations: 46.5 kB / 0.6147 GB, free: 58.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/1.256, allocations: 394.8 kB / 0.6151 GB, free: 58.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/1.258, allocations: 0.8067 MB / 0.6158 GB, free: 58.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/1.26, allocations: 1.438 MB / 0.6172 GB, free: 56.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/1.262, allocations: 1.051 MB / 0.6183 GB, free: 56.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/1.262, allocations: 7.344 kB / 0.6183 GB, free: 56.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005924/1.268, allocations: 2.93 MB / 0.6211 GB, free: 55.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001495/1.269, allocations: 7.827 MB / 0.6288 GB, free: 46.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.353e-05/1.27, allocations: 20.38 kB / 0.6288 GB, free: 46.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/1.271, allocations: 474.8 kB / 0.6293 GB, free: 46.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.274, allocations: 478 kB / 0.6297 GB, free: 46.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008177/1.282, allocations: 8.043 MB / 0.6376 GB, free: 40.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/1.284, allocations: 104.1 kB / 0.6377 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/1.285, allocations: 94.61 kB / 0.6378 GB, free: 40.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.285, allocations: 3.625 kB / 0.6378 GB, free: 40.11 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005459/1.29, allocations: 2.667 MB / 0.6404 GB, free: 39.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.016e-05/1.29, allocations: 20.03 kB / 0.6404 GB, free: 39.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/1.292, allocations: 477.9 kB / 0.6408 GB, free: 38.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/1.294, allocations: 471.2 kB / 0.6413 GB, free: 38.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008121/1.302, allocations: 8.041 MB / 0.6491 GB, free: 32.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.305, allocations: 92.88 kB / 0.6492 GB, free: 32.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/1.305, allocations: 92.94 kB / 0.6493 GB, free: 32.36 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.000566/1.306, allocations: 258 kB / 0.6496 GB, free: 32.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/1.306, allocations: 249.6 kB / 0.6498 GB, free: 32.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00587/1.312, allocations: 2.728 MB / 0.6525 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.312, allocations: 17.16 kB / 0.6525 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.312, allocations: 11.16 kB / 0.6525 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.312, allocations: 6.469 kB / 0.6525 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01191/1.324, allocations: 5.87 MB / 0.6582 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.324, allocations: 3.906 kB / 0.6582 GB, free: 28.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/1.326, allocations: 245.4 kB / 0.6585 GB, free: 28.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/1.328, allocations: 0.6519 MB / 0.6591 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001607/1.328, allocations: 42.11 kB / 0.6591 GB, free: 27.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.341, allocations: 12.53 MB / 0.6714 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.817e-06/1.341, allocations: 6.5 kB / 0.6714 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007164/1.348, allocations: 3.934 MB / 0.6752 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001556/1.35, allocations: 0.5011 MB / 0.6757 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004382/1.35, allocations: 33.88 kB / 0.6757 GB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.352, allocations: 88.34 kB / 0.6758 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003523/1.352, allocations: 139.5 kB / 0.676 GB, free: 15.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.352, allocations: 50.06 kB / 0.676 GB, free: 15.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00275/1.355, allocations: 1.456 MB / 0.6774 GB, free: 14.59 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.053e-06/1.355, allocations: 0 / 0.6774 GB, free: 14.59 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005454/1.361, allocations: 1.339 MB / 0.6787 GB, free: 13.46 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.0008531/1.362, allocations: 0.5343 MB / 0.6793 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007284/1.369, allocations: 4.609 MB / 0.6838 GB, free: 8.578 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.369, allocations: 4 kB / 0.6838 GB, free: 8.574 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002932/1.372, allocations: 1.842 MB / 0.6856 GB, free: 6.816 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/1.375, allocations: 0.6402 MB / 0.6862 GB, free: 6.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.387, allocations: 5.568 MB / 0.6916 GB, free: 1.328 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007615/1.394, allocations: 2.866 MB / 0.6944 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004379/1.399, allocations: 0.8462 MB / 0.6953 GB, free: 15.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/1.399, allocations: 127.3 kB / 0.6954 GB, free: 15.31 MB / 458.7 MB Notification: Performance of SimCode: time 1.891e-06/1.399, allocations: 0 / 0.6954 GB, free: 15.31 MB / 458.7 MB Notification: Performance of Templates: time 0.4387/1.838, allocations: 47.8 MB / 0.7421 GB, free: 80.34 MB / 458.7 MB