Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=12000,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.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.38e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2336, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.63, allocations: 122.1 MB / 385.9 MB, free: 89.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.6303, allocations: 89.73 kB / 386 MB, free: 89.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.656/1.286, allocations: 124.1 MB / 0.4982 GB, free: 27.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.357e-06/1.286, allocations: 0 / 0.4982 GB, free: 27.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00098/1.287, allocations: 140.9 kB / 0.4983 GB, free: 27.12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.03424/1.322, allocations: 5.241 MB / 0.5034 GB, free: 25.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/1.322, allocations: 11.03 kB / 0.5034 GB, free: 25.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/1.349, allocations: 0.8884 MB / 0.5043 GB, free: 25.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03131/1.38, allocations: 3.939 MB / 0.5081 GB, free: 24.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000661/1.381, allocations: 404.2 kB / 0.5085 GB, free: 24.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002502/1.384, allocations: 0.5318 MB / 0.5091 GB, free: 24.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02756/1.411, allocations: 6.631 MB / 0.5155 GB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003659/1.412, allocations: 13.44 kB / 0.5155 GB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/1.413, allocations: 229.2 kB / 0.5158 GB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002382/1.413, allocations: 236.1 kB / 0.516 GB, free: 23.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/1.428, allocations: 5.063 MB / 0.5209 GB, free: 23.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06191/1.49, allocations: 22.48 MB / 0.5429 GB, free: 18.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.5, allocations: 4.284 MB / 0.5471 GB, free: 16.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00808/1.509, allocations: 1.976 MB / 0.549 GB, free: 16.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004835/1.509, allocations: 152.2 kB / 0.5491 GB, free: 16.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/1.509, allocations: 59.16 kB / 0.5492 GB, free: 16.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=245): time 7.224e-06/1.509, allocations: 0 / 0.5492 GB, free: 16.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=299): time 0.03625/1.545, allocations: 12.37 MB / 0.5613 GB, free: 11.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/1.546, allocations: 87.05 kB / 0.5614 GB, free: 11.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005704/1.551, allocations: 2.843 MB / 0.5641 GB, free: 10.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004962/1.552, allocations: 77.2 kB / 0.5642 GB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.554, allocations: 2.517 MB / 0.5667 GB, free: 8.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001044/1.555, allocations: 1.024 MB / 0.5677 GB, free: 8.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/1.555, allocations: 74.78 kB / 0.5677 GB, free: 7.945 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002176/1.555, allocations: 452.1 kB / 0.5682 GB, free: 7.578 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.558, allocations: 1.492 MB / 0.5696 GB, free: 6.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003774/1.562, allocations: 2.546 MB / 0.5721 GB, free: 5.062 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004061/1.566, allocations: 1.963 MB / 0.574 GB, free: 4.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.242e-05/1.566, allocations: 15.09 kB / 0.574 GB, free: 4.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=464) (initialization): time 0.0124/1.579, allocations: 5.346 MB / 0.5793 GB, free: 2.273 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.955e-05/1.579, allocations: 19.69 kB / 0.5793 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.16e-05/1.579, allocations: 41.53 kB / 0.5793 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/1.582, allocations: 0.9333 MB / 0.5802 GB, free: 2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004173/1.586, allocations: 0.8277 MB / 0.581 GB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/1.603, allocations: 10.74 MB / 0.5915 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003945/1.607, allocations: 236.9 kB / 0.5918 GB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005538/1.608, allocations: 152.1 kB / 0.5919 GB, free: 10.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 394 * 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,(4,93.8%) 19,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007935/1.609, allocations: 324.4 kB / 0.5922 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.61, allocations: 391 kB / 0.5926 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.621, allocations: 4.679 MB / 0.5972 GB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/1.621, allocations: 31.95 kB / 0.5972 GB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/1.621, allocations: 12 kB / 0.5972 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.254e-05/1.621, allocations: 14.58 kB / 0.5972 GB, free: 7.324 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03312/1.654, allocations: 11.26 MB / 0.6082 GB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.009148/1.663, allocations: 3.781 MB / 0.6119 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003064/1.666, allocations: 0.493 MB / 0.6124 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/1.67, allocations: 1.031 MB / 0.6134 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004761/1.671, allocations: 70.84 kB / 0.6135 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02452/1.695, allocations: 14.33 MB / 0.6275 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.399e-05/1.695, allocations: 12.12 kB / 0.6275 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.712, allocations: 7.7 MB / 0.635 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002953/1.715, allocations: 0.7859 MB / 0.6357 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/1.716, allocations: 66.47 kB / 0.6358 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003391/1.72, allocations: 188.6 kB / 0.636 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008965/1.721, allocations: 230.9 kB / 0.6362 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003536/1.721, allocations: 87.61 kB / 0.6363 GB, free: 4.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005433/1.726, allocations: 2.158 MB / 0.6384 GB, free: 2.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.727, allocations: 0 / 0.6384 GB, free: 2.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006181/1.733, allocations: 1.163 MB / 0.6395 GB, free: 0.9141 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.port_n.Phi.re,smeeM.stator.port_n.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 (232): * Single equations (assignments): 224 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 19,(1,100.0%) 4,(1,100.0%) 8,(6,72.2%) 23,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/1.734, allocations: 0.539 MB / 0.6401 GB, free: 468 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.257/1.991, allocations: 4.914 MB / 0.6449 GB, free: 66.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.742e-05/1.991, allocations: 3.75 kB / 0.6449 GB, free: 66.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009537/2.001, allocations: 2.991 MB / 0.6478 GB, free: 66.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007861/2.009, allocations: 0.837 MB / 0.6486 GB, free: 66.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03141/2.04, allocations: 8.541 MB / 0.6569 GB, free: 64.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01017/2.05, allocations: 3.587 MB / 0.6604 GB, free: 63.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004127/2.055, allocations: 0.7688 MB / 0.6612 GB, free: 63.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/2.056, allocations: 237.3 kB / 0.6614 GB, free: 63.45 MB / 394.7 MB Notification: Performance of SimCode: time 2.083e-06/2.056, allocations: 0 / 0.6614 GB, free: 63.45 MB / 394.7 MB Notification: Performance of Templates: time 0.1373/2.193, allocations: 56.28 MB / 0.7164 GB, free: 60.31 MB / 394.7 MB