Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 194.9 MB / 208.4 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.16e-05, allocations: 0 / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.08047, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3927/0.4732, allocations: 125.2 MB / 425.1 MB, free: 6.508 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.4735, allocations: 93.59 kB / 425.2 MB, free: 6.488 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6139/1.088, allocations: 95.31 MB / 0.5083 GB, free: 57.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.088, allocations: 0 / 0.5083 GB, free: 57.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004326/1.088, allocations: 87.36 kB / 0.5084 GB, free: 57.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.01391/1.102, allocations: 3.702 MB / 0.512 GB, free: 56.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.102, allocations: 9.188 kB / 0.512 GB, free: 56.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00719/1.109, allocations: 0.8976 MB / 0.5129 GB, free: 56.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/1.122, allocations: 3.589 MB / 0.5164 GB, free: 55.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004389/1.122, allocations: 277.9 kB / 0.5166 GB, free: 55.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/1.124, allocations: 362.1 kB / 0.517 GB, free: 55.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/1.137, allocations: 4.487 MB / 0.5214 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/1.137, allocations: 6.266 kB / 0.5214 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005423/1.138, allocations: 156.6 kB / 0.5215 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001744/1.138, allocations: 149.9 kB / 0.5217 GB, free: 55.44 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/1.154, allocations: 3.644 MB / 0.5252 GB, free: 55.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/1.188, allocations: 15.78 MB / 0.5406 GB, free: 51.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008142/1.196, allocations: 7.743 MB / 0.5482 GB, free: 46.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003608/1.2, allocations: 1.709 MB / 0.5499 GB, free: 46.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01104/1.211, allocations: 5.036 MB / 0.5548 GB, free: 45.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.211, allocations: 53.34 kB / 0.5548 GB, free: 44.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=172): time 5.445e-06/1.211, allocations: 0 / 0.5548 GB, free: 44.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=175): time 0.01124/1.222, allocations: 5.041 MB / 0.5597 GB, free: 42.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.222, allocations: 171.6 kB / 0.5599 GB, free: 42.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/1.226, allocations: 1.884 MB / 0.5618 GB, free: 41.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003236/1.226, allocations: 59.52 kB / 0.5618 GB, free: 41.39 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009423/1.227, allocations: 1.579 MB / 0.5633 GB, free: 40.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005151/1.228, allocations: 0.5881 MB / 0.5639 GB, free: 39.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/1.228, allocations: 46.31 kB / 0.564 GB, free: 39.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/1.228, allocations: 399.3 kB / 0.5643 GB, free: 39.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/1.23, allocations: 0.7935 MB / 0.5651 GB, free: 38.96 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002079/1.232, allocations: 1.414 MB / 0.5665 GB, free: 37.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/1.234, allocations: 1.052 MB / 0.5675 GB, free: 37.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/1.234, allocations: 3.906 kB / 0.5675 GB, free: 37.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.005863/1.24, allocations: 2.739 MB / 0.5702 GB, free: 36.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001421/1.241, allocations: 7.237 MB / 0.5773 GB, free: 28.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-05/1.242, allocations: 21.28 kB / 0.5773 GB, free: 28.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/1.243, allocations: 467.2 kB / 0.5777 GB, free: 28.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/1.245, allocations: 488.5 kB / 0.5782 GB, free: 28.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008462/1.254, allocations: 8.039 MB / 0.5861 GB, free: 22.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.256, allocations: 99.64 kB / 0.5862 GB, free: 22.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/1.257, allocations: 93.53 kB / 0.5862 GB, free: 22.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/1.257, allocations: 7.609 kB / 0.5863 GB, free: 22.05 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00546/1.262, allocations: 2.645 MB / 0.5888 GB, free: 21.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-05/1.262, allocations: 20.16 kB / 0.5889 GB, free: 21.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/1.264, allocations: 463.7 kB / 0.5893 GB, free: 20.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/1.266, allocations: 473.1 kB / 0.5897 GB, free: 20.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008305/1.274, allocations: 8.091 MB / 0.5976 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/1.276, allocations: 89.39 kB / 0.5977 GB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.276, allocations: 94.23 kB / 0.5978 GB, free: 14.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * 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 initialization (248): * Single equations (assignments): 241 * 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.0008109/1.277, allocations: 248.8 kB / 0.5981 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/1.278, allocations: 248.8 kB / 0.5983 GB, free: 30 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005882/1.283, allocations: 2.705 MB / 0.6009 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/1.284, allocations: 18.28 kB / 0.601 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.284, allocations: 3.5 kB / 0.601 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-05/1.284, allocations: 7.5 kB / 0.601 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.296, allocations: 5.843 MB / 0.6067 GB, free: 26.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/1.296, allocations: 2.906 kB / 0.6067 GB, free: 26.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001715/1.298, allocations: 241.9 kB / 0.6069 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002226/1.3, allocations: 0.6414 MB / 0.6075 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/1.301, allocations: 41.52 kB / 0.6076 GB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0153/1.316, allocations: 12.52 MB / 0.6198 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.67e-06/1.316, allocations: 3.562 kB / 0.6198 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007385/1.323, allocations: 3.896 MB / 0.6236 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.325, allocations: 0.4973 MB / 0.6241 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005433/1.326, allocations: 41.47 kB / 0.6241 GB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.327, allocations: 84.03 kB / 0.6242 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003451/1.328, allocations: 136.5 kB / 0.6243 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/1.328, allocations: 54.42 kB / 0.6244 GB, free: 13.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002805/1.331, allocations: 1.433 MB / 0.6258 GB, free: 12.63 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.26e-07/1.331, allocations: 0 / 0.6258 GB, free: 12.63 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006316/1.337, allocations: 1.325 MB / 0.6271 GB, free: 12.49 MB / 410.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 (122): * Single equations (assignments): 116 * 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.001008/1.338, allocations: 0.5047 MB / 0.6276 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008205/1.346, allocations: 4.486 MB / 0.632 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.242e-06/1.346, allocations: 3.172 kB / 0.632 GB, free: 8.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00391/1.35, allocations: 1.859 MB / 0.6338 GB, free: 6.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003896/1.354, allocations: 0.6304 MB / 0.6344 GB, free: 5.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/1.369, allocations: 5.496 MB / 0.6398 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003635/1.373, allocations: 2.527 MB / 0.6422 GB, free: 14.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009097/1.374, allocations: 159.3 kB / 0.6424 GB, free: 14.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.985e-06/1.374, allocations: 0 / 0.6424 GB, free: 14.74 MB / 426.7 MB Notification: Performance of Templates: time 0.4109/1.785, allocations: 139.1 MB / 0.7783 GB, free: 31.21 MB / 426.7 MB