Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Rectifier,tolerance=1e-07,outputFormat="empty",numberOfIntervals=22000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Rectifier") Notification: Performance of loadModel(HanserModelica): time 2.078/2.078, allocations: 214.7 MB / 226.8 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.857e-05, allocations: 9.234 kB / 279.5 MB, free: 13.06 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09423, allocations: 49.71 MB / 329.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.506/0.6002, allocations: 134 MB / 463.2 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.6005, allocations: 70.09 kB / 463.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6587/1.259, allocations: 98 MB / 0.5481 GB, free: 97.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.784e-06/1.259, allocations: 0 / 0.5481 GB, free: 97.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006127/1.26, allocations: 101 kB / 0.5482 GB, free: 97.67 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: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.02231/1.282, allocations: 3.807 MB / 0.5519 GB, free: 96.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/1.282, allocations: 12.08 kB / 0.5519 GB, free: 96.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/1.296, allocations: 0.921 MB / 0.5528 GB, free: 95.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01471/1.31, allocations: 3.733 MB / 0.5565 GB, free: 95.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/1.311, allocations: 276.2 kB / 0.5567 GB, free: 95.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001622/1.312, allocations: 387 kB / 0.5571 GB, free: 95.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01819/1.331, allocations: 4.699 MB / 0.5617 GB, free: 94.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/1.331, allocations: 10.53 kB / 0.5617 GB, free: 94.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/1.332, allocations: 162.1 kB / 0.5618 GB, free: 94.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002562/1.333, allocations: 166.1 kB / 0.562 GB, free: 94.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.345, allocations: 3.827 MB / 0.5657 GB, free: 94.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03346/1.378, allocations: 16.63 MB / 0.582 GB, free: 84.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008133/1.386, allocations: 8.029 MB / 0.5898 GB, free: 77.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003686/1.39, allocations: 1.811 MB / 0.5916 GB, free: 77.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0109/1.401, allocations: 5.318 MB / 0.5968 GB, free: 74.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/1.401, allocations: 55.44 kB / 0.5968 GB, free: 74.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 5.194e-06/1.401, allocations: 0 / 0.5968 GB, free: 74.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=184): time 0.01109/1.412, allocations: 5.319 MB / 0.602 GB, free: 71.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/1.412, allocations: 174.2 kB / 0.6022 GB, free: 71.08 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/1.416, allocations: 1.972 MB / 0.6041 GB, free: 70.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002609/1.416, allocations: 55.23 kB / 0.6042 GB, free: 70.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.417, allocations: 1.729 MB / 0.6059 GB, free: 68.9 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005519/1.418, allocations: 0.6195 MB / 0.6065 GB, free: 68.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/1.418, allocations: 43.22 kB / 0.6065 GB, free: 68.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/1.418, allocations: 392 kB / 0.6069 GB, free: 68.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.42, allocations: 0.8647 MB / 0.6077 GB, free: 67.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.422, allocations: 1.479 MB / 0.6092 GB, free: 66.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00215/1.424, allocations: 1.108 MB / 0.6102 GB, free: 66.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/1.424, allocations: 3.906 kB / 0.6102 GB, free: 66.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006309/1.431, allocations: 3.057 MB / 0.6132 GB, free: 64.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001496/1.432, allocations: 7.846 MB / 0.6209 GB, free: 56.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.685e-05/1.432, allocations: 17.22 kB / 0.6209 GB, free: 56.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/1.434, allocations: 0.493 MB / 0.6214 GB, free: 55.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002439/1.436, allocations: 496.9 kB / 0.6219 GB, free: 55.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008236/1.445, allocations: 8.326 MB / 0.63 GB, free: 47.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.447, allocations: 107.4 kB / 0.6301 GB, free: 47.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/1.447, allocations: 95.77 kB / 0.6302 GB, free: 47.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/1.447, allocations: 6.188 kB / 0.6302 GB, free: 47.09 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005316/1.453, allocations: 2.807 MB / 0.6329 GB, free: 44.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.888e-05/1.453, allocations: 23.38 kB / 0.633 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/1.454, allocations: 499.4 kB / 0.6334 GB, free: 44.11 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/1.456, allocations: 485.6 kB / 0.6339 GB, free: 43.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008153/1.464, allocations: 8.33 MB / 0.642 GB, free: 35.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/1.467, allocations: 87.72 kB / 0.6421 GB, free: 35.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/1.467, allocations: 90.81 kB / 0.6422 GB, free: 35.27 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 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 252 * 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.0005297/1.468, allocations: 260.2 kB / 0.6425 GB, free: 35.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005792/1.468, allocations: 260.8 kB / 0.6427 GB, free: 34.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005713/1.474, allocations: 2.855 MB / 0.6455 GB, free: 32.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/1.474, allocations: 16 kB / 0.6455 GB, free: 32.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.474, allocations: 4 kB / 0.6455 GB, free: 32.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.473e-05/1.474, allocations: 11.41 kB / 0.6455 GB, free: 32.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/1.486, allocations: 6.158 MB / 0.6515 GB, free: 27.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/1.486, allocations: 4 kB / 0.6515 GB, free: 27.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.488, allocations: 259.6 kB / 0.6518 GB, free: 26.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/1.49, allocations: 0.6786 MB / 0.6525 GB, free: 26.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000229/1.49, allocations: 43.89 kB / 0.6525 GB, free: 26.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/1.503, allocations: 12.81 MB / 0.665 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.504, allocations: 0 / 0.665 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007135/1.511, allocations: 4.138 MB / 0.669 GB, free: 9.574 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.512, allocations: 0.5323 MB / 0.6696 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/1.513, allocations: 43.66 kB / 0.6696 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.514, allocations: 81.88 kB / 0.6697 GB, free: 8.969 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/1.515, allocations: 148.3 kB / 0.6698 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.515, allocations: 51.94 kB / 0.6699 GB, free: 8.832 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002716/1.517, allocations: 1.493 MB / 0.6713 GB, free: 7.453 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.881e-06/1.517, allocations: 0 / 0.6713 GB, free: 7.453 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005684/1.523, allocations: 1.376 MB / 0.6727 GB, free: 6.082 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 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.0008966/1.524, allocations: 0.5267 MB / 0.6732 GB, free: 5.641 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007672/1.532, allocations: 4.783 MB / 0.6779 GB, free: 1.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.953e-06/1.532, allocations: 4.75 kB / 0.6779 GB, free: 1.027 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2529/1.785, allocations: 1.93 MB / 0.6797 GB, free: 86.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003949/1.789, allocations: 0.6534 MB / 0.6804 GB, free: 86.58 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.804, allocations: 5.762 MB / 0.686 GB, free: 85.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.808, allocations: 2.648 MB / 0.6886 GB, free: 84.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005384/1.813, allocations: 0.8878 MB / 0.6895 GB, free: 84.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/1.814, allocations: 127.1 kB / 0.6896 GB, free: 84.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.654e-06/1.814, allocations: 0 / 0.6896 GB, free: 84.52 MB / 442.7 MB Notification: Performance of Templates: time 0.12/1.934, allocations: 49.74 MB / 0.7382 GB, free: 81.51 MB / 442.7 MB