Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.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.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator") Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.231e-05, allocations: 8 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08234/0.08239, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.4972, allocations: 135.7 MB / 452.6 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.4975, allocations: 89 kB / 452.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9218/1.419, allocations: 131.1 MB / 0.5701 GB, free: 90.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.419, allocations: 0 / 0.5701 GB, free: 90.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005094/1.42, allocations: 139.2 kB / 0.5702 GB, free: 90.43 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01696/1.437, allocations: 5.426 MB / 0.5755 GB, free: 88.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.437, allocations: 11.44 kB / 0.5756 GB, free: 88.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00786/1.445, allocations: 1.145 MB / 0.5767 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.46, allocations: 4.894 MB / 0.5815 GB, free: 85.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/1.46, allocations: 433.3 kB / 0.5819 GB, free: 85.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/1.462, allocations: 0.5518 MB / 0.5824 GB, free: 84.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/1.482, allocations: 6.988 MB / 0.5892 GB, free: 81.72 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002507/1.482, allocations: 21.59 kB / 0.5893 GB, free: 81.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001411/1.483, allocations: 239 kB / 0.5895 GB, free: 81.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002556/1.484, allocations: 250.2 kB / 0.5897 GB, free: 81.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/1.499, allocations: 5.522 MB / 0.5951 GB, free: 77.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04823/1.548, allocations: 23.93 MB / 0.6185 GB, free: 55.43 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008492/1.556, allocations: 8.598 MB / 0.6269 GB, free: 45.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/1.561, allocations: 2.227 MB / 0.6291 GB, free: 43.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/1.576, allocations: 6.975 MB / 0.6359 GB, free: 36.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/1.576, allocations: 56.56 kB / 0.6359 GB, free: 36.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=237): time 6.248e-06/1.576, allocations: 3.938 kB / 0.6359 GB, free: 36.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=288): time 0.03495/1.611, allocations: 12.17 MB / 0.6478 GB, free: 24.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.611, allocations: 81.64 kB / 0.6479 GB, free: 24.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/1.617, allocations: 2.941 MB / 0.6508 GB, free: 21.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004655/1.617, allocations: 73.7 kB / 0.6508 GB, free: 21.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/1.62, allocations: 2.664 MB / 0.6534 GB, free: 18.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009511/1.621, allocations: 0.9875 MB / 0.6544 GB, free: 17.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/1.621, allocations: 72 kB / 0.6545 GB, free: 17.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/1.621, allocations: 457.9 kB / 0.6549 GB, free: 16.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/1.624, allocations: 1.476 MB / 0.6563 GB, free: 15.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003438/1.627, allocations: 2.629 MB / 0.6589 GB, free: 12.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003709/1.631, allocations: 1.947 MB / 0.6608 GB, free: 10.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/1.631, allocations: 16 kB / 0.6608 GB, free: 10.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=474) (initialization): time 0.01148/1.643, allocations: 5.296 MB / 0.666 GB, free: 4.992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/1.643, allocations: 20 kB / 0.666 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.688e-05/1.643, allocations: 44.7 kB / 0.6661 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002716/1.646, allocations: 0.859 MB / 0.6669 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/1.65, allocations: 0.8736 MB / 0.6677 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2938/1.944, allocations: 9.759 MB / 0.6773 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004347/1.948, allocations: 244.4 kB / 0.6775 GB, free: 77.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008051/1.949, allocations: 167.6 kB / 0.6777 GB, free: 77.8 MB / 426.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 (421): * Single equations (assignments): 412 * 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.0007893/1.95, allocations: 329.6 kB / 0.678 GB, free: 77.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001084/1.951, allocations: 392.4 kB / 0.6784 GB, free: 77.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/1.962, allocations: 4.548 MB / 0.6828 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.821e-05/1.962, allocations: 30 kB / 0.6828 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.824e-05/1.962, allocations: 10.28 kB / 0.6828 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-05/1.962, allocations: 12.66 kB / 0.6829 GB, free: 77.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/1.985, allocations: 9.975 MB / 0.6926 GB, free: 76.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.008282/1.994, allocations: 3.818 MB / 0.6963 GB, free: 75.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/1.997, allocations: 0.5006 MB / 0.6968 GB, free: 75.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/2.001, allocations: 0.98 MB / 0.6978 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003928/2.001, allocations: 72.53 kB / 0.6978 GB, free: 75.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/2.02, allocations: 14.75 MB / 0.7122 GB, free: 65.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.44e-06/2.02, allocations: 8.438 kB / 0.7122 GB, free: 65.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/2.034, allocations: 7.047 MB / 0.7191 GB, free: 62.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/2.037, allocations: 0.783 MB / 0.7199 GB, free: 62.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/2.038, allocations: 61.78 kB / 0.72 GB, free: 61.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/2.042, allocations: 189.5 kB / 0.7201 GB, free: 61.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008203/2.043, allocations: 217.1 kB / 0.7203 GB, free: 61.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/2.043, allocations: 84.34 kB / 0.7204 GB, free: 61.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005244/2.048, allocations: 2.213 MB / 0.7226 GB, free: 61.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.841e-06/2.048, allocations: 0 / 0.7226 GB, free: 61.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006412/2.055, allocations: 1.207 MB / 0.7238 GB, free: 60.92 MB / 426.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 (227): * Single equations (assignments): 218 * 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,72.2%) 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.001307/2.056, allocations: 0.5874 MB / 0.7243 GB, free: 60.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008956/2.065, allocations: 4.553 MB / 0.7288 GB, free: 58.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.102e-06/2.065, allocations: 2.969 kB / 0.7288 GB, free: 58.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006081/2.071, allocations: 2.907 MB / 0.7316 GB, free: 57.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004927/2.076, allocations: 0.8254 MB / 0.7324 GB, free: 56.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/2.096, allocations: 8.568 MB / 0.7408 GB, free: 53.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004631/2.101, allocations: 3.627 MB / 0.7443 GB, free: 52.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004435/2.105, allocations: 0.8341 MB / 0.7452 GB, free: 52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/2.106, allocations: 252.8 kB / 0.7454 GB, free: 51.99 MB / 426.7 MB Notification: Performance of SimCode: time 2.24e-06/2.106, allocations: 0 / 0.7454 GB, free: 51.99 MB / 426.7 MB Notification: Performance of Templates: time 0.1308/2.237, allocations: 56.14 MB / 0.8002 GB, free: 14.04 MB / 426.7 MB