Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|Ptr|Pqs|smee.excitation.electroMagneticConverter.Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.strayReluctance.port_p.Phi.im|smee.stator.strayReluctance.port_p.Phi.re|smeeQS.short.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.761/1.761, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.779e-05, allocations: 0 / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07743, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.4971, allocations: 161.1 MB / 461 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4974, allocations: 103.4 kB / 461.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.027/2.524, allocations: 394.9 MB / 0.836 GB, free: 30.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.182e-06/2.524, allocations: 0 / 0.836 GB, free: 30.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007874/2.525, allocations: 265 kB / 0.8363 GB, free: 30.47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.03996/2.565, allocations: 10.27 MB / 0.8463 GB, free: 27.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/2.565, allocations: 9.219 kB / 0.8463 GB, free: 27.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03202/2.597, allocations: 4.385 MB / 0.8506 GB, free: 26.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02751/2.625, allocations: 8.851 MB / 0.8592 GB, free: 25.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001084/2.626, allocations: 0.8332 MB / 0.86 GB, free: 25.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004617/2.631, allocations: 1.075 MB / 0.8611 GB, free: 25.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04912/2.68, allocations: 17.1 MB / 0.8778 GB, free: 24.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003743/2.68, allocations: 18.47 kB / 0.8778 GB, free: 24.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002718/2.683, allocations: 472.5 kB / 0.8783 GB, free: 24.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007279/2.684, allocations: 0.6893 MB / 0.8789 GB, free: 24.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03751/2.721, allocations: 14.82 MB / 0.8934 GB, free: 23.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1228/2.844, allocations: 58.1 MB / 0.9501 GB, free: 12.59 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02583/2.87, allocations: 16.99 MB / 0.9667 GB, free: 14.08 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01394/2.884, allocations: 6.18 MB / 0.9728 GB, free: 8.426 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3358/3.22, allocations: 19.16 MB / 0.9915 GB, free: 57.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.092e-05/3.22, allocations: 86.91 kB / 0.9916 GB, free: 57.77 MB / 458.7 MB Notification: Performance of pre-optimization done (n=625): time 1.194e-05/3.22, allocations: 3.781 kB / 0.9916 GB, free: 57.77 MB / 458.7 MB Notification: Performance of matching and sorting (n=658): time 0.05892/3.279, allocations: 23.43 MB / 1.014 GB, free: 54.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004758/3.284, allocations: 2.938 MB / 1.017 GB, free: 52.99 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008777/3.292, allocations: 3.884 MB / 1.021 GB, free: 52.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001223/3.294, allocations: 117.7 kB / 1.021 GB, free: 52.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003372/3.297, allocations: 4.598 MB / 1.026 GB, free: 50.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003037/3.3, allocations: 2.196 MB / 1.028 GB, free: 49.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009908/3.301, allocations: 142.8 kB / 1.028 GB, free: 49.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007181/3.302, allocations: 0.6213 MB / 1.029 GB, free: 48.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009827/3.312, allocations: 4.363 MB / 1.033 GB, free: 48.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/3.323, allocations: 6.341 MB / 1.039 GB, free: 46.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/3.335, allocations: 5.501 MB / 1.044 GB, free: 46.49 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.291e-05/3.335, allocations: 21.31 kB / 1.044 GB, free: 46.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=996) (initialization): time 0.03096/3.366, allocations: 12.92 MB / 1.057 GB, free: 45.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.449e-05/3.366, allocations: 30.16 kB / 1.057 GB, free: 45.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/3.366, allocations: 63.38 kB / 1.057 GB, free: 45.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006586/3.373, allocations: 2.402 MB / 1.059 GB, free: 45.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008997/3.382, allocations: 1.525 MB / 1.061 GB, free: 45.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/3.395, allocations: 10.39 MB / 1.071 GB, free: 38.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009202/3.405, allocations: 0.5313 MB / 1.072 GB, free: 37.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001914/3.407, allocations: 343.2 kB / 1.072 GB, free: 37.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (791): * Single equations (assignments): 722 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.002079/3.409, allocations: 0.5076 MB / 1.072 GB, free: 37.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/3.41, allocations: 0.5497 MB / 1.073 GB, free: 37.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02712/3.438, allocations: 11.7 MB / 1.084 GB, free: 32.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02389/3.461, allocations: 10.36 MB / 1.095 GB, free: 27.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.875e-05/3.462, allocations: 7.578 kB / 1.095 GB, free: 27.95 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001152/3.462, allocations: 40.08 kB / 1.095 GB, free: 27.95 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06614/3.528, allocations: 30.53 MB / 1.124 GB, free: 8.613 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.808e-05/3.528, allocations: 10.44 kB / 1.124 GB, free: 8.605 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005335/3.533, allocations: 0.8739 MB / 1.125 GB, free: 7.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007281/3.541, allocations: 2.655 MB / 1.128 GB, free: 5.824 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001254/3.542, allocations: 144.1 kB / 1.128 GB, free: 5.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02368/3.566, allocations: 15.89 MB / 1.144 GB, free: 6.504 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005172/3.571, allocations: 2.8 MB / 1.146 GB, free: 3.75 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4205/3.991, allocations: 18.67 MB / 1.164 GB, free: 68.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005664/3.997, allocations: 1.574 MB / 1.166 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002284/3.999, allocations: 104.3 kB / 1.166 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006113/4.005, allocations: 337.5 kB / 1.166 GB, free: 68.05 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002125/4.008, allocations: 0.5032 MB / 1.167 GB, free: 68.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001131/4.009, allocations: 185.4 kB / 1.167 GB, free: 68.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006944/4.016, allocations: 2.879 MB / 1.17 GB, free: 67.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.187e-06/4.016, allocations: 2.625 kB / 1.17 GB, free: 67.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01172/4.028, allocations: 2.099 MB / 1.172 GB, free: 67.84 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (460): * Single equations (assignments): 392 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 43,5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002213/4.03, allocations: 0.6808 MB / 1.173 GB, free: 67.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02376/4.054, allocations: 10.73 MB / 1.183 GB, free: 67.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/4.054, allocations: 0 / 1.183 GB, free: 67.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0139/4.068, allocations: 5.824 MB / 1.189 GB, free: 66.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007782/4.075, allocations: 1.078 MB / 1.19 GB, free: 66.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04983/4.125, allocations: 18.85 MB / 1.208 GB, free: 63.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01469/4.14, allocations: 7.003 MB / 1.215 GB, free: 62.41 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009474/4.15, allocations: 1.707 MB / 1.217 GB, free: 62.27 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002628/4.152, allocations: 408.2 kB / 1.217 GB, free: 62.27 MB / 474.7 MB Notification: Performance of SimCode: time 2.164e-06/4.152, allocations: 0 / 1.217 GB, free: 62.27 MB / 474.7 MB Notification: Performance of Templates: time 0.5355/4.688, allocations: 105.9 MB / 1.321 GB, free: 70.79 MB / 474.7 MB