Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 225.8 MB / 239.4 MB, free: 1.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.2e-05, allocations: 4 kB / 292.7 MB, free: 11.47 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.128, allocations: 50.41 MB / 343.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/0.5371, allocations: 120.3 MB / 463.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/0.5374, allocations: 92.56 kB / 463.5 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8075/1.345, allocations: 160.9 MB / 0.6097 GB, free: 72.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.901e-06/1.345, allocations: 3.281 kB / 0.6097 GB, free: 72.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003232/1.345, allocations: 96.62 kB / 0.6098 GB, free: 72.14 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01217/1.358, allocations: 3.924 MB / 0.6137 GB, free: 70.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.358, allocations: 6.438 kB / 0.6137 GB, free: 70.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007007/1.365, allocations: 0.9188 MB / 0.6146 GB, free: 70.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01148/1.376, allocations: 3.814 MB / 0.6183 GB, free: 69.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/1.376, allocations: 301.2 kB / 0.6186 GB, free: 69.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001167/1.378, allocations: 401.9 kB / 0.619 GB, free: 69.59 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.39, allocations: 4.97 MB / 0.6238 GB, free: 69.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/1.39, allocations: 7.812 kB / 0.6238 GB, free: 69.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005941/1.391, allocations: 172 kB / 0.624 GB, free: 69.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/1.391, allocations: 169 kB / 0.6242 GB, free: 69.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/1.401, allocations: 3.982 MB / 0.628 GB, free: 67.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03546/1.437, allocations: 16.92 MB / 0.6446 GB, free: 58.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007912/1.445, allocations: 8.26 MB / 0.6526 GB, free: 50.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/1.449, allocations: 1.604 MB / 0.6542 GB, free: 49.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01002/1.459, allocations: 4.86 MB / 0.6589 GB, free: 47.11 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.459, allocations: 54.78 kB / 0.659 GB, free: 47.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=151): time 5.26e-06/1.459, allocations: 0 / 0.659 GB, free: 47.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=154): time 0.009615/1.468, allocations: 4.512 MB / 0.6634 GB, free: 44.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/1.468, allocations: 66.44 kB / 0.6635 GB, free: 44.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/1.472, allocations: 1.969 MB / 0.6654 GB, free: 43.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002512/1.472, allocations: 49.7 kB / 0.6654 GB, free: 43.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/1.474, allocations: 1.851 MB / 0.6672 GB, free: 41.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/1.474, allocations: 0.5295 MB / 0.6678 GB, free: 40.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/1.474, allocations: 40 kB / 0.6678 GB, free: 40.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/1.474, allocations: 388.6 kB / 0.6682 GB, free: 40.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/1.476, allocations: 0.7534 MB / 0.6689 GB, free: 39.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001911/1.478, allocations: 1.425 MB / 0.6703 GB, free: 38.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/1.48, allocations: 1.012 MB / 0.6713 GB, free: 37.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/1.48, allocations: 4 kB / 0.6713 GB, free: 37.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.00522/1.485, allocations: 2.612 MB / 0.6738 GB, free: 34.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/1.485, allocations: 12 kB / 0.6739 GB, free: 34.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.776e-05/1.485, allocations: 24 kB / 0.6739 GB, free: 34.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003647/1.486, allocations: 124.9 kB / 0.674 GB, free: 34.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/1.488, allocations: 0.5243 MB / 0.6745 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/1.49, allocations: 1.817 MB / 0.6763 GB, free: 32.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/1.492, allocations: 114.8 kB / 0.6764 GB, free: 32.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/1.492, allocations: 99.61 kB / 0.6765 GB, free: 32.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004008/1.493, allocations: 237.9 kB / 0.6767 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/1.493, allocations: 245 kB / 0.6769 GB, free: 31.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/1.498, allocations: 2.269 MB / 0.6792 GB, free: 29.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.498, allocations: 19.95 kB / 0.6792 GB, free: 29.69 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.498, allocations: 7.609 kB / 0.6792 GB, free: 29.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/1.498, allocations: 10.88 kB / 0.6792 GB, free: 29.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/1.509, allocations: 5.553 MB / 0.6846 GB, free: 25.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/1.509, allocations: 0 / 0.6846 GB, free: 25.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.51, allocations: 294.6 kB / 0.6849 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00102/1.511, allocations: 302.6 kB / 0.6852 GB, free: 24.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001503/1.512, allocations: 35.28 kB / 0.6852 GB, free: 24.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006584/1.518, allocations: 6.303 MB / 0.6914 GB, free: 18.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.808e-06/1.518, allocations: 4 kB / 0.6914 GB, free: 18.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/1.524, allocations: 3.392 MB / 0.6947 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.526, allocations: 497.5 kB / 0.6952 GB, free: 14.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/1.526, allocations: 35.47 kB / 0.6952 GB, free: 14.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/1.528, allocations: 94.28 kB / 0.6953 GB, free: 14.37 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/1.528, allocations: 118.8 kB / 0.6954 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.528, allocations: 39.28 kB / 0.6954 GB, free: 14.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002892/1.531, allocations: 1.497 MB / 0.6969 GB, free: 12.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.65e-07/1.531, allocations: 0 / 0.6969 GB, free: 12.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003466/1.535, allocations: 0.7184 MB / 0.6976 GB, free: 12.17 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007857/1.535, allocations: 495.3 kB / 0.6981 GB, free: 11.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003732/1.539, allocations: 2.027 MB / 0.7001 GB, free: 9.832 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/1.539, allocations: 4.188 kB / 0.7001 GB, free: 9.828 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002243/1.541, allocations: 1.307 MB / 0.7013 GB, free: 8.582 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.544, allocations: 0.5603 MB / 0.7019 GB, free: 8.125 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01169/1.556, allocations: 5.508 MB / 0.7073 GB, free: 2.969 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/1.559, allocations: 2.743 MB / 0.7099 GB, free: 212 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002795/1.562, allocations: 0.5417 MB / 0.7105 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/1.563, allocations: 159.3 kB / 0.7106 GB, free: 15.53 MB / 458.7 MB Notification: Performance of SimCode: time 1.861e-06/1.563, allocations: 0 / 0.7106 GB, free: 15.53 MB / 458.7 MB Notification: Performance of Templates: time 0.3594/1.922, allocations: 33.6 MB / 0.7434 GB, free: 92.9 MB / 458.7 MB