Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.strayReluctance.port_p.Phi.im|smeeM.stator.strayReluctance.port_p.Phi.re",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.803/1.803, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.527e-05, allocations: 4 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08296, allocations: 44.51 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.389/0.472, allocations: 130.3 MB / 430.2 MB, free: 1.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.4723, allocations: 82.2 kB / 430.2 MB, free: 1.457 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7129/1.185, allocations: 130.5 MB / 0.5476 GB, free: 60.37 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.373e-06/1.185, allocations: 0 / 0.5476 GB, free: 60.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004965/1.186, allocations: 146 kB / 0.5477 GB, free: 60.36 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01732/1.203, allocations: 5.381 MB / 0.553 GB, free: 58.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.203, allocations: 13.78 kB / 0.553 GB, free: 58.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007958/1.211, allocations: 1.142 MB / 0.5541 GB, free: 57.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01489/1.226, allocations: 4.88 MB / 0.5589 GB, free: 57.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/1.227, allocations: 419.8 kB / 0.5593 GB, free: 57.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/1.228, allocations: 0.5553 MB / 0.5598 GB, free: 57.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01871/1.247, allocations: 6.949 MB / 0.5666 GB, free: 56.51 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000204/1.247, allocations: 13.84 kB / 0.5666 GB, free: 56.51 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009258/1.248, allocations: 239.1 kB / 0.5668 GB, free: 56.51 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002304/1.249, allocations: 248 kB / 0.5671 GB, free: 56.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/1.264, allocations: 5.493 MB / 0.5724 GB, free: 55.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05007/1.314, allocations: 23.83 MB / 0.5957 GB, free: 42.81 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008672/1.323, allocations: 8.551 MB / 0.604 GB, free: 35.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004406/1.327, allocations: 2.227 MB / 0.6062 GB, free: 33.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01468/1.342, allocations: 6.93 MB / 0.613 GB, free: 28.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/1.342, allocations: 63.75 kB / 0.6131 GB, free: 28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=234): time 5.945e-06/1.342, allocations: 2.438 kB / 0.6131 GB, free: 28 MB / 394.7 MB Notification: Performance of matching and sorting (n=285): time 0.03461/1.377, allocations: 12.1 MB / 0.6249 GB, free: 17.62 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.377, allocations: 81.58 kB / 0.6249 GB, free: 17.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005561/1.382, allocations: 2.926 MB / 0.6278 GB, free: 14.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004747/1.383, allocations: 73.7 kB / 0.6279 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.385, allocations: 2.655 MB / 0.6305 GB, free: 12.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/1.386, allocations: 0.9779 MB / 0.6314 GB, free: 11.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/1.386, allocations: 76 kB / 0.6315 GB, free: 11.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/1.386, allocations: 453.4 kB / 0.6319 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002858/1.389, allocations: 1.459 MB / 0.6334 GB, free: 9.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003671/1.393, allocations: 2.622 MB / 0.6359 GB, free: 6.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003752/1.397, allocations: 1.943 MB / 0.6378 GB, free: 5.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.097e-05/1.397, allocations: 8 kB / 0.6378 GB, free: 5.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=471) (initialization): time 0.01169/1.408, allocations: 5.276 MB / 0.643 GB, free: 260 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/1.408, allocations: 20 kB / 0.643 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.265e-05/1.408, allocations: 40 kB / 0.643 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/1.412, allocations: 0.8752 MB / 0.6439 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004618/1.416, allocations: 0.8613 MB / 0.6447 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01694/1.433, allocations: 9.784 MB / 0.6543 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/1.438, allocations: 234.2 kB / 0.6545 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008309/1.439, allocations: 167.5 kB / 0.6547 GB, free: 5.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (418): * Single equations (assignments): 409 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008565/1.44, allocations: 327.9 kB / 0.655 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001254/1.441, allocations: 395.2 kB / 0.6554 GB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/1.452, allocations: 4.521 MB / 0.6598 GB, free: 388 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.881e-05/1.452, allocations: 28 kB / 0.6598 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.293e-05/1.452, allocations: 12 kB / 0.6598 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.213e-05/1.452, allocations: 15.94 kB / 0.6598 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2773/1.729, allocations: 9.913 MB / 0.6695 GB, free: 69.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008405/1.738, allocations: 3.796 MB / 0.6732 GB, free: 68.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/1.741, allocations: 0.4912 MB / 0.6737 GB, free: 68.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/1.744, allocations: 0.9785 MB / 0.6746 GB, free: 68.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004639/1.745, allocations: 74.88 kB / 0.6747 GB, free: 68.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/1.763, allocations: 14.75 MB / 0.6891 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.245e-06/1.763, allocations: 7.922 kB / 0.6891 GB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/1.777, allocations: 7.099 MB / 0.6961 GB, free: 59.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/1.779, allocations: 0.7843 MB / 0.6968 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.781, allocations: 59.72 kB / 0.6969 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00315/1.784, allocations: 183.3 kB / 0.6971 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007922/1.785, allocations: 211.8 kB / 0.6973 GB, free: 59.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/1.785, allocations: 85.81 kB / 0.6973 GB, free: 59.27 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005461/1.79, allocations: 2.204 MB / 0.6995 GB, free: 59.11 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.146e-06/1.791, allocations: 0.5625 kB / 0.6995 GB, free: 59.11 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006492/1.797, allocations: 1.192 MB / 0.7007 GB, free: 59.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.strayReluctance.Phi.re,smeeM.stator.strayReluctance.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (224): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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: 6 {(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(6,75.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/1.798, allocations: 0.562 MB / 0.7012 GB, free: 59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009459/1.808, allocations: 4.53 MB / 0.7056 GB, free: 58.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.808, allocations: 2.656 kB / 0.7056 GB, free: 58.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006179/1.814, allocations: 2.899 MB / 0.7085 GB, free: 56.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00532/1.819, allocations: 0.8277 MB / 0.7093 GB, free: 56.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/1.84, allocations: 8.532 MB / 0.7176 GB, free: 52.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005461/1.846, allocations: 3.61 MB / 0.7211 GB, free: 51.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004446/1.85, allocations: 0.8289 MB / 0.7219 GB, free: 51.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.852, allocations: 249.6 kB / 0.7222 GB, free: 51.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.657e-06/1.852, allocations: 4 kB / 0.7222 GB, free: 51.52 MB / 410.7 MB Notification: Performance of Templates: time 0.131/1.983, allocations: 55.73 MB / 0.7766 GB, free: 23.94 MB / 410.7 MB