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.842/1.842, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.203e-05, allocations: 7.906 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 44.51 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_Generator): time 0.03027/0.354, allocations: 18.8 MB / 322.1 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01621/0.3702, allocations: 6.202 MB / 328.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004096/0.3744, allocations: 171.6 kB / 328.5 MB, free: 4.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004151/0.3786, allocations: 1.045 MB / 329.5 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008074/0.3867, allocations: 1.849 MB / 331.4 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004212/0.3909, allocations: 0.9328 MB / 332.3 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.4011, allocations: 3.698 MB / 336 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/0.4068, allocations: 2.8 MB / 338.8 MB, free: 9.992 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.4105, allocations: 1.773 MB / 340.6 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/0.4158, allocations: 2.391 MB / 343 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.4187, allocations: 0.5424 MB / 343.5 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.4201, allocations: 232 kB / 343.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00186/0.422, allocations: 1.281 MB / 345 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.4241, allocations: 0.5234 MB / 345.6 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01412/0.4383, allocations: 9.166 MB / 354.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4383, allocations: 0 / 354.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4383, allocations: 0 / 354.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002959/0.4386, allocations: 0 / 354.7 MB, free: 10.05 MB / 298.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.02142/0.4601, allocations: 5.705 MB / 360.4 MB, free: 4.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4601, allocations: 8.031 kB / 360.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009577/0.4697, allocations: 1.222 MB / 361.7 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/0.481, allocations: 3.589 MB / 365.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004646/0.4815, allocations: 427.3 kB / 365.7 MB, free: 14.95 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.4831, allocations: 0.5583 MB / 366.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02175/0.5049, allocations: 7.173 MB / 373.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001999/0.5052, allocations: 15.83 kB / 373.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008955/0.5061, allocations: 228 kB / 373.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004447/0.5065, allocations: 255.2 kB / 373.9 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02/0.5265, allocations: 6.076 MB / 380 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09955/0.6261, allocations: 23.83 MB / 403.8 MB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/0.6399, allocations: 8.646 MB / 412.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01804/0.658, allocations: 6.598 MB / 419 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.888e-05/0.6581, allocations: 72.55 kB / 419.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=241): time 6.452e-06/0.6582, allocations: 0 / 419.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=287): time 0.308/0.9662, allocations: 15.29 MB / 434.4 MB, free: 97.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.9663, allocations: 81.3 kB / 434.5 MB, free: 97.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006073/0.9723, allocations: 3.006 MB / 437.5 MB, free: 96.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004848/0.9729, allocations: 73.48 kB / 437.6 MB, free: 96.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001972/0.9748, allocations: 2.642 MB / 440.2 MB, free: 94.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001108/0.976, allocations: 0.9803 MB / 441.2 MB, free: 93.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/0.9763, allocations: 70.02 kB / 441.2 MB, free: 93.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.9765, allocations: 457.1 kB / 441.7 MB, free: 92.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00398/0.9805, allocations: 1.578 MB / 443.3 MB, free: 92.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/0.985, allocations: 2.74 MB / 446 MB, free: 90.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004785/0.9898, allocations: 2.043 MB / 448.1 MB, free: 89.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-05/0.9899, allocations: 15.09 kB / 448.1 MB, free: 89.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.01341/1.003, allocations: 5.525 MB / 453.6 MB, free: 85.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.003, allocations: 20 kB / 453.6 MB, free: 85.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/1.003, allocations: 39.95 kB / 453.6 MB, free: 85.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002482/1.006, allocations: 0.6832 MB / 454.3 MB, free: 84.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006041/1.012, allocations: 0.8775 MB / 455.2 MB, free: 84.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/1.025, allocations: 9.72 MB / 464.9 MB, free: 73.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/1.03, allocations: 243 kB / 465.2 MB, free: 73.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004197/1.03, allocations: 165 kB / 465.3 MB, free: 73.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 169 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (428): * Single equations (assignments): 418 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(3,100.0%) 12,(1,100.0%) 3,(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003731/1.034, allocations: 1.603 MB / 466.9 MB, free: 71.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/1.035, allocations: 379.4 kB / 467.3 MB, free: 71.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01118/1.047, allocations: 4.625 MB / 471.9 MB, free: 66.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-05/1.047, allocations: 36 kB / 472 MB, free: 66.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/1.047, allocations: 8 kB / 472 MB, free: 66.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.233e-05/1.047, allocations: 11.95 kB / 472 MB, free: 66.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/1.07, allocations: 10.3 MB / 482.3 MB, free: 56.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-05/1.07, allocations: 8 kB / 482.3 MB, free: 56.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004121/1.074, allocations: 0.5305 MB / 482.8 MB, free: 55.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/1.077, allocations: 0.7424 MB / 483.6 MB, free: 54.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002456/1.077, allocations: 71.97 kB / 483.6 MB, free: 54.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.093, allocations: 13.21 MB / 496.8 MB, free: 40.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.093, allocations: 8 kB / 496.9 MB, free: 40.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/1.109, allocations: 7.514 MB / 0.4925 GB, free: 32.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00239/1.111, allocations: 0.7852 MB / 0.4933 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009671/1.112, allocations: 70.75 kB / 0.4934 GB, free: 31.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/1.116, allocations: 187.8 kB / 0.4936 GB, free: 31.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000531/1.117, allocations: 213.8 kB / 0.4938 GB, free: 31.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002546/1.117, allocations: 83.98 kB / 0.4938 GB, free: 31.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004534/1.121, allocations: 2.281 MB / 0.4961 GB, free: 29.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.121, allocations: 0 / 0.4961 GB, free: 29.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005064/1.126, allocations: 1.1 MB / 0.4971 GB, free: 28.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (243): * Single equations (assignments): 233 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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,(3,100.0%) 12,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000738/1.127, allocations: 245.4 kB / 0.4974 GB, free: 27.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01069/1.138, allocations: 4.737 MB / 0.502 GB, free: 23.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/1.138, allocations: 0 / 0.502 GB, free: 23.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006752/1.145, allocations: 2.908 MB / 0.5048 GB, free: 20.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005659/1.15, allocations: 0.8344 MB / 0.5057 GB, free: 19.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02368/1.174, allocations: 12.47 MB / 0.5178 GB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004047/1.178, allocations: 3.603 MB / 0.5214 GB, free: 3.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004681/1.183, allocations: 0.848 MB / 0.5222 GB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001187/1.184, allocations: 251.4 kB / 0.5224 GB, free: 1.914 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/1.184, allocations: 0 / 0.5224 GB, free: 1.914 MB / 362.7 MB Notification: Performance of Templates: time 0.1452/1.329, allocations: 49.85 MB / 0.5711 GB, free: 24 kB / 410.7 MB