Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(Modelica): time 2.036/2.036, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.052e-05, allocations: 10.48 kB / 292.2 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.0931, allocations: 50.41 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4302/0.5233, allocations: 132.7 MB / 475.3 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.5236, allocations: 91.11 kB / 475.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6392/1.163, allocations: 96.13 MB / 0.5581 GB, free: 98.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.442e-06/1.163, allocations: 0 / 0.5581 GB, free: 98.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003642/1.163, allocations: 91.12 kB / 0.5582 GB, free: 98.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.01271/1.176, allocations: 3.762 MB / 0.5619 GB, free: 97.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.176, allocations: 7.844 kB / 0.5619 GB, free: 97.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007097/1.183, allocations: 0.9024 MB / 0.5628 GB, free: 96.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/1.195, allocations: 3.614 MB / 0.5663 GB, free: 96.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/1.195, allocations: 273.4 kB / 0.5666 GB, free: 96.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001201/1.196, allocations: 369.2 kB / 0.5669 GB, free: 96.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/1.208, allocations: 4.524 MB / 0.5713 GB, free: 94.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/1.208, allocations: 3.938 kB / 0.5713 GB, free: 94.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005385/1.209, allocations: 159.1 kB / 0.5715 GB, free: 94.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/1.209, allocations: 155.9 kB / 0.5716 GB, free: 94.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/1.219, allocations: 3.661 MB / 0.5752 GB, free: 92.85 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03373/1.253, allocations: 16.01 MB / 0.5909 GB, free: 83.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008404/1.262, allocations: 7.762 MB / 0.5984 GB, free: 77.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003698/1.265, allocations: 1.729 MB / 0.6001 GB, free: 76.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/1.276, allocations: 5.054 MB / 0.6051 GB, free: 73.68 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.277, allocations: 56 kB / 0.6051 GB, free: 73.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=174): time 6.132e-06/1.277, allocations: 0 / 0.6051 GB, free: 73.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=177): time 0.01132/1.288, allocations: 5.076 MB / 0.6101 GB, free: 71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/1.288, allocations: 181.4 kB / 0.6102 GB, free: 70.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/1.292, allocations: 1.913 MB / 0.6121 GB, free: 70.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003161/1.292, allocations: 60.14 kB / 0.6122 GB, free: 69.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009417/1.293, allocations: 1.592 MB / 0.6137 GB, free: 68.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005908/1.294, allocations: 0.5948 MB / 0.6143 GB, free: 68.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/1.294, allocations: 46.16 kB / 0.6143 GB, free: 68.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/1.294, allocations: 400.4 kB / 0.6147 GB, free: 67.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/1.296, allocations: 0.8087 MB / 0.6155 GB, free: 67.51 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/1.298, allocations: 1.429 MB / 0.6169 GB, free: 66.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002206/1.3, allocations: 1.063 MB / 0.618 GB, free: 65.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.577e-05/1.3, allocations: 8 kB / 0.618 GB, free: 65.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005659/1.306, allocations: 2.768 MB / 0.6207 GB, free: 62.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001473/1.308, allocations: 7.404 MB / 0.6279 GB, free: 54.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/1.308, allocations: 20 kB / 0.6279 GB, free: 54.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/1.309, allocations: 475.9 kB / 0.6284 GB, free: 54.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/1.312, allocations: 482.9 kB / 0.6288 GB, free: 53.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008456/1.32, allocations: 8.032 MB / 0.6367 GB, free: 45.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/1.323, allocations: 99.44 kB / 0.6368 GB, free: 45.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003403/1.323, allocations: 92 kB / 0.6369 GB, free: 45.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/1.323, allocations: 7.703 kB / 0.6369 GB, free: 45.68 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005569/1.329, allocations: 2.678 MB / 0.6395 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.499e-05/1.329, allocations: 20 kB / 0.6395 GB, free: 43.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/1.33, allocations: 463.3 kB / 0.6399 GB, free: 42.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/1.332, allocations: 476.2 kB / 0.6404 GB, free: 42.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008483/1.341, allocations: 8.104 MB / 0.6483 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/1.342, allocations: 90.97 kB / 0.6484 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/1.343, allocations: 96.09 kB / 0.6485 GB, free: 34.25 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.0005176/1.343, allocations: 244.9 kB / 0.6487 GB, free: 34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006287/1.344, allocations: 256.9 kB / 0.649 GB, free: 33.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005612/1.349, allocations: 2.722 MB / 0.6516 GB, free: 31.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/1.349, allocations: 23.94 kB / 0.6516 GB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/1.349, allocations: 4 kB / 0.6517 GB, free: 31.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.73e-05/1.35, allocations: 10.23 kB / 0.6517 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01236/1.362, allocations: 5.871 MB / 0.6574 GB, free: 26.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/1.362, allocations: 4 kB / 0.6574 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.363, allocations: 247.5 kB / 0.6576 GB, free: 26.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002068/1.366, allocations: 0.6386 MB / 0.6583 GB, free: 25.67 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/1.366, allocations: 47.73 kB / 0.6583 GB, free: 25.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.38, allocations: 12.53 MB / 0.6705 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.967e-06/1.38, allocations: 4.031 kB / 0.6705 GB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007164/1.387, allocations: 3.934 MB / 0.6744 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/1.388, allocations: 0.5085 MB / 0.6749 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/1.389, allocations: 36 kB / 0.6749 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.391, allocations: 91.92 kB / 0.675 GB, free: 8.746 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.391, allocations: 133.7 kB / 0.6751 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.391, allocations: 52 kB / 0.6752 GB, free: 8.566 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002964/1.394, allocations: 1.454 MB / 0.6766 GB, free: 7.094 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.068e-06/1.394, allocations: 0 / 0.6766 GB, free: 7.094 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006942/1.401, allocations: 1.328 MB / 0.6779 GB, free: 5.766 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.001159/1.402, allocations: 0.533 MB / 0.6784 GB, free: 5.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008405/1.411, allocations: 4.523 MB / 0.6828 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.411, allocations: 7.938 kB / 0.6828 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2735/1.685, allocations: 1.832 MB / 0.6846 GB, free: 87.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/1.689, allocations: 0.6328 MB / 0.6852 GB, free: 87.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01591/1.705, allocations: 5.528 MB / 0.6906 GB, free: 86.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004578/1.709, allocations: 2.541 MB / 0.6931 GB, free: 85.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.711, allocations: 166.4 kB / 0.6933 GB, free: 85.78 MB / 442.7 MB Notification: Performance of SimCode: time 2.178e-06/1.711, allocations: 0 / 0.6933 GB, free: 85.78 MB / 442.7 MB Notification: Performance of Templates: time 0.1793/1.89, allocations: 140.2 MB / 0.8302 GB, free: 12.59 MB / 458.7 MB