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.946/1.946, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.228e-05, allocations: 8 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2874, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/0.5288, allocations: 124.6 MB / 418.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5292, allocations: 91.88 kB / 418.8 MB, free: 5.242 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5013/1.03, allocations: 94.09 MB / 0.5008 GB, free: 39.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.012e-06/1.031, allocations: 0 / 0.5008 GB, free: 39.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003322/1.031, allocations: 91.88 kB / 0.5009 GB, free: 38.93 MB / 362.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.01247/1.043, allocations: 3.713 MB / 0.5045 GB, free: 35.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.043, allocations: 8.031 kB / 0.5046 GB, free: 35.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006671/1.05, allocations: 0.9004 MB / 0.5054 GB, free: 34.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.062, allocations: 3.576 MB / 0.5089 GB, free: 30.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000211/1.062, allocations: 116 kB / 0.509 GB, free: 30.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001239/1.063, allocations: 223.9 kB / 0.5092 GB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009665/1.073, allocations: 3.463 MB / 0.5126 GB, free: 26.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.086, allocations: 3.999 MB / 0.5165 GB, free: 22.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/1.086, allocations: 4 kB / 0.5165 GB, free: 22.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001091/1.087, allocations: 7.938 kB / 0.5165 GB, free: 22.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/1.088, allocations: 159.2 kB / 0.5167 GB, free: 22.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03273/1.12, allocations: 15.08 MB / 0.5314 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008169/1.129, allocations: 7.674 MB / 0.5389 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/1.133, allocations: 1.634 MB / 0.5405 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/1.146, allocations: 4.892 MB / 0.5453 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/1.146, allocations: 52.56 kB / 0.5453 GB, free: 7.742 MB / 378.7 MB Notification: Performance of pre-optimization done (n=172): time 6.215e-06/1.146, allocations: 0 / 0.5453 GB, free: 7.742 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01529/1.161, allocations: 5.186 MB / 0.5504 GB, free: 2.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.162, allocations: 176.2 kB / 0.5506 GB, free: 2.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/1.165, allocations: 1.55 MB / 0.5521 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/1.166, allocations: 25.7 kB / 0.5521 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2354/1.401, allocations: 1.598 MB / 0.5537 GB, free: 61.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000769/1.402, allocations: 0.5737 MB / 0.5542 GB, free: 61.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.402, allocations: 0 / 0.5542 GB, free: 61.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/1.402, allocations: 395.1 kB / 0.5546 GB, free: 61.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/1.404, allocations: 0.7605 MB / 0.5554 GB, free: 61.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/1.406, allocations: 1.365 MB / 0.5567 GB, free: 60.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/1.41, allocations: 1.15 MB / 0.5578 GB, free: 60.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.402e-05/1.41, allocations: 4.438 kB / 0.5578 GB, free: 60.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=280) (initialization): time 0.007353/1.417, allocations: 2.713 MB / 0.5605 GB, free: 60.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001499/1.419, allocations: 7.242 MB / 0.5675 GB, free: 52.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.064e-05/1.419, allocations: 22.72 kB / 0.5676 GB, free: 52.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/1.421, allocations: 461.1 kB / 0.568 GB, free: 52.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/1.423, allocations: 472.3 kB / 0.5684 GB, free: 52.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008141/1.431, allocations: 7.778 MB / 0.576 GB, free: 47.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.434, allocations: 52.27 kB / 0.5761 GB, free: 47.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003852/1.434, allocations: 92.56 kB / 0.5762 GB, free: 47.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/1.434, allocations: 3.938 kB / 0.5762 GB, free: 47.37 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006373/1.44, allocations: 2.581 MB / 0.5787 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.234e-05/1.441, allocations: 28 kB / 0.5787 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/1.442, allocations: 464.2 kB / 0.5792 GB, free: 47.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002325/1.444, allocations: 465 kB / 0.5796 GB, free: 47.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/1.452, allocations: 7.81 MB / 0.5872 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/1.453, allocations: 40.45 kB / 0.5873 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/1.454, allocations: 93.53 kB / 0.5874 GB, free: 42.02 MB / 378.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.0005824/1.454, allocations: 168.2 kB / 0.5875 GB, free: 41.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006039/1.455, allocations: 238.1 kB / 0.5878 GB, free: 41.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006121/1.461, allocations: 2.642 MB / 0.5903 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/1.461, allocations: 22.61 kB / 0.5904 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/1.461, allocations: 5.938 kB / 0.5904 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.383e-05/1.461, allocations: 10.59 kB / 0.5904 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/1.474, allocations: 5.332 MB / 0.5956 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.474, allocations: 3.969 kB / 0.5956 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.475, allocations: 243.6 kB / 0.5958 GB, free: 40.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002117/1.477, allocations: 0.6297 MB / 0.5964 GB, free: 40.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/1.478, allocations: 21.06 kB / 0.5965 GB, free: 40.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/1.491, allocations: 12.08 MB / 0.6083 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.296e-06/1.491, allocations: 6.594 kB / 0.6083 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007647/1.498, allocations: 3.837 MB / 0.612 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.5, allocations: 480.1 kB / 0.6125 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/1.501, allocations: 9.469 kB / 0.6125 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.502, allocations: 56.38 kB / 0.6125 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004502/1.503, allocations: 135.2 kB / 0.6127 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/1.503, allocations: 52.59 kB / 0.6127 GB, free: 31.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002266/1.505, allocations: 1.148 MB / 0.6138 GB, free: 31.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.63e-07/1.505, allocations: 0 / 0.6138 GB, free: 31.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007133/1.512, allocations: 1.157 MB / 0.615 GB, free: 31.83 MB / 378.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.001131/1.513, allocations: 433.9 kB / 0.6154 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008009/1.521, allocations: 4.366 MB / 0.6196 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.522, allocations: 3.844 kB / 0.6196 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003166/1.525, allocations: 1.825 MB / 0.6214 GB, free: 29.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/1.528, allocations: 499.2 kB / 0.6219 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.541, allocations: 5.35 MB / 0.6271 GB, free: 27.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003321/1.545, allocations: 2.523 MB / 0.6296 GB, free: 26.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007987/1.545, allocations: 159.2 kB / 0.6297 GB, free: 26.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.865e-06/1.545, allocations: 0 / 0.6297 GB, free: 26.07 MB / 378.7 MB Notification: Performance of Templates: time 0.4165/1.962, allocations: 136.6 MB / 0.7631 GB, free: 78.56 MB / 410.7 MB