Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|constantSpeed3.phi|constantSpeedM.phi|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee3.stator.strayReluctance.port_p.Phi.im|smee3.stator.strayReluctance.port_p.Phi.re|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_MultiPhase") Notification: Performance of loadModel(Modelica): time 1.686/1.686, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.761e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08692/0.08697, allocations: 44.51 MB / 299.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3978/0.4848, allocations: 116.9 MB / 416.8 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.4851, allocations: 87.83 kB / 416.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8628/1.348, allocations: 192.8 MB / 0.5954 GB, free: 46.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.383e-06/1.348, allocations: 3.938 kB / 0.5954 GB, free: 46.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006745/1.349, allocations: 212.6 kB / 0.5956 GB, free: 46.38 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: 2286 * Number of variables: 2286 Notification: Performance of Generate backend data structure: time 0.02701/1.376, allocations: 7.881 MB / 0.6033 GB, free: 42.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/1.376, allocations: 7.219 kB / 0.6033 GB, free: 42.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/1.389, allocations: 1.904 MB / 0.6052 GB, free: 42.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02067/1.41, allocations: 7.037 MB / 0.6121 GB, free: 36.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006864/1.411, allocations: 0.6403 MB / 0.6127 GB, free: 36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004609/1.415, allocations: 0.8418 MB / 0.6135 GB, free: 35.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04848/1.464, allocations: 10.81 MB / 0.6241 GB, free: 24.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003499/1.464, allocations: 4 kB / 0.6241 GB, free: 24.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002573/1.467, allocations: 366.2 kB / 0.6244 GB, free: 23.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000347/1.467, allocations: 373.4 kB / 0.6248 GB, free: 23.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02246/1.49, allocations: 8.598 MB / 0.6332 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3363/1.826, allocations: 35.99 MB / 0.6683 GB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/1.844, allocations: 16.69 MB / 0.6846 GB, free: 31.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007291/1.851, allocations: 3.364 MB / 0.6879 GB, free: 31.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02228/1.873, allocations: 9.504 MB / 0.6972 GB, free: 46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.947e-05/1.873, allocations: 62.83 kB / 0.6972 GB, free: 45.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=293): time 7.093e-06/1.874, allocations: 0.6562 kB / 0.6972 GB, free: 45.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=345): time 0.0283/1.902, allocations: 11.51 MB / 0.7085 GB, free: 44.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/1.902, allocations: 85.7 kB / 0.7086 GB, free: 44.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008157/1.91, allocations: 3.831 MB / 0.7123 GB, free: 43.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005741/1.911, allocations: 83.8 kB / 0.7124 GB, free: 43.64 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002633/1.913, allocations: 3.888 MB / 0.7162 GB, free: 41.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001249/1.915, allocations: 1.174 MB / 0.7173 GB, free: 41.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/1.915, allocations: 87.22 kB / 0.7174 GB, free: 41.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003735/1.915, allocations: 483.2 kB / 0.7179 GB, free: 40.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003659/1.919, allocations: 1.71 MB / 0.7195 GB, free: 40.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004705/1.924, allocations: 3.123 MB / 0.7226 GB, free: 39.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/1.929, allocations: 2.3 MB / 0.7248 GB, free: 39.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-05/1.929, allocations: 13.69 kB / 0.7248 GB, free: 39.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=571) (initialization): time 0.0136/1.943, allocations: 5.984 MB / 0.7307 GB, free: 38.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/1.943, allocations: 29.97 kB / 0.7307 GB, free: 38.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.956e-05/1.943, allocations: 48.95 kB / 0.7308 GB, free: 38.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002472/1.945, allocations: 0.7333 MB / 0.7315 GB, free: 38.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005025/1.95, allocations: 1.042 MB / 0.7325 GB, free: 38.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/1.964, allocations: 10.05 MB / 0.7423 GB, free: 31.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004911/1.969, allocations: 249.6 kB / 0.7425 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005537/1.969, allocations: 202.6 kB / 0.7427 GB, free: 31.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (518): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * 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: 4 {(2,100.0%) 13,(1,100.0%) 5,(2,100.0%) 13,(3,77.8%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008569/1.97, allocations: 380.5 kB / 0.7431 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009101/1.971, allocations: 485.1 kB / 0.7436 GB, free: 31.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.982, allocations: 5.048 MB / 0.7485 GB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/1.982, allocations: 31.03 kB / 0.7485 GB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-05/1.982, allocations: 13.12 kB / 0.7485 GB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/1.982, allocations: 15 kB / 0.7486 GB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/2.008, allocations: 12.41 MB / 0.7607 GB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/2.008, allocations: 9.328 kB / 0.7607 GB, free: 23.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003749/2.012, allocations: 0.5968 MB / 0.7613 GB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003133/2.015, allocations: 0.8948 MB / 0.7621 GB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003869/2.016, allocations: 84.62 kB / 0.7622 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01915/2.035, allocations: 13.94 MB / 0.7758 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-06/2.035, allocations: 7.188 kB / 0.7758 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/2.05, allocations: 8.057 MB / 0.7837 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002927/2.053, allocations: 0.9562 MB / 0.7846 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/2.054, allocations: 73.41 kB / 0.7847 GB, free: 7.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003013/2.057, allocations: 211.7 kB / 0.7849 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006541/2.058, allocations: 275.6 kB / 0.7852 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003205/2.058, allocations: 93.91 kB / 0.7853 GB, free: 7.277 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005811/2.064, allocations: 2.891 MB / 0.7881 GB, free: 6.152 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.22e-07/2.064, allocations: 0 / 0.7881 GB, free: 6.152 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007122/2.071, allocations: 1.524 MB / 0.7896 GB, free: 6.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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,smee3.phiMechanical,smee3.stator.core.Phi.re,smee3.stator.core.Phi.im,smee3.stator.strayReluctance.Phi.re,smee3.stator.strayReluctance.Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,100.0%) 13,(4,93.8%) 33,(2,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001311/2.072, allocations: 0.6938 MB / 0.7903 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01012/2.083, allocations: 5.125 MB / 0.7953 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.028e-06/2.083, allocations: 2.875 kB / 0.7953 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0113/2.094, allocations: 3.404 MB / 0.7986 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006188/2.1, allocations: 1.055 MB / 0.7996 GB, free: 13.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/2.133, allocations: 12.01 MB / 0.8113 GB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01656/2.149, allocations: 5.588 MB / 0.8168 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005788/2.155, allocations: 1.052 MB / 0.8178 GB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/2.157, allocations: 311 kB / 0.8181 GB, free: 14.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.893e-06/2.157, allocations: 0 / 0.8181 GB, free: 14.96 MB / 458.7 MB Notification: Performance of Templates: time 0.567/2.724, allocations: 67.68 MB / 0.8842 GB, free: 93.23 MB / 458.7 MB