Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1") Notification: Performance of loadModel(HanserModelica): time 2.023/2.023, allocations: 214.7 MB / 226.9 MB, free: 1.203 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.196e-05, allocations: 7.984 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.08996, allocations: 49.71 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.459/0.549, allocations: 117.2 MB / 446.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.5493, allocations: 80.77 kB / 446.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7752/1.324, allocations: 155.8 MB / 0.5882 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.333e-06/1.325, allocations: 3.938 kB / 0.5882 GB, free: 87.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002496/1.325, allocations: 94.44 kB / 0.5883 GB, free: 87.8 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01026/1.335, allocations: 3.484 MB / 0.5917 GB, free: 86.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.335, allocations: 13.89 kB / 0.5917 GB, free: 86.06 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006302/1.341, allocations: 0.861 MB / 0.5925 GB, free: 85.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01059/1.352, allocations: 3.516 MB / 0.5959 GB, free: 84.06 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002503/1.352, allocations: 277.6 kB / 0.5962 GB, free: 83.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009754/1.353, allocations: 367.7 kB / 0.5966 GB, free: 83.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01109/1.364, allocations: 4.504 MB / 0.601 GB, free: 81.67 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/1.365, allocations: 7.844 kB / 0.601 GB, free: 81.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006433/1.365, allocations: 159.8 kB / 0.6011 GB, free: 81.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/1.365, allocations: 149.8 kB / 0.6013 GB, free: 81.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009319/1.375, allocations: 3.55 MB / 0.6047 GB, free: 80.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03001/1.405, allocations: 15.42 MB / 0.6198 GB, free: 67.86 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008635/1.414, allocations: 5.999 MB / 0.6256 GB, free: 61.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/1.416, allocations: 1.266 MB / 0.6269 GB, free: 59.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00964/1.426, allocations: 4.049 MB / 0.6308 GB, free: 55.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.299e-05/1.426, allocations: 51.88 kB / 0.6309 GB, free: 55.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 9.292e-06/1.426, allocations: 3.656 kB / 0.6309 GB, free: 55.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=170): time 0.0154/1.441, allocations: 5.411 MB / 0.6362 GB, free: 50.19 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/1.441, allocations: 69.41 kB / 0.6362 GB, free: 50.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00303/1.445, allocations: 1.698 MB / 0.6379 GB, free: 48.37 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.445, allocations: 57.7 kB / 0.6379 GB, free: 48.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001038/1.446, allocations: 1.667 MB / 0.6396 GB, free: 46.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004719/1.446, allocations: 0.571 MB / 0.6401 GB, free: 46.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/1.446, allocations: 44 kB / 0.6402 GB, free: 46.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/1.447, allocations: 398.2 kB / 0.6406 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/1.448, allocations: 0.754 MB / 0.6413 GB, free: 44.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001803/1.45, allocations: 1.433 MB / 0.6427 GB, free: 43.11 MB / 442.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/1.465, allocations: 3.318 MB / 0.6459 GB, free: 39.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.162e-05/1.465, allocations: 4 kB / 0.6459 GB, free: 39.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.00582/1.471, allocations: 2.735 MB / 0.6486 GB, free: 37.03 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.471, allocations: 20.09 kB / 0.6486 GB, free: 37.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/1.471, allocations: 24 kB / 0.6486 GB, free: 36.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/1.472, allocations: 361.4 kB / 0.649 GB, free: 36.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/1.475, allocations: 495.2 kB / 0.6495 GB, free: 36.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005997/1.481, allocations: 4.105 MB / 0.6535 GB, free: 31.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00218/1.483, allocations: 83.95 kB / 0.6535 GB, free: 31.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002486/1.483, allocations: 99.98 kB / 0.6536 GB, free: 31.73 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (247): * Single equations (assignments): 245 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005587/1.484, allocations: 240.2 kB / 0.6539 GB, free: 31.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007218/1.484, allocations: 225.2 kB / 0.6541 GB, free: 31.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006105/1.49, allocations: 2.125 MB / 0.6562 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/1.491, allocations: 16 kB / 0.6562 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.833e-06/1.491, allocations: 8 kB / 0.6562 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.961e-05/1.491, allocations: 7.969 kB / 0.6562 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/1.501, allocations: 5.349 MB / 0.6614 GB, free: 23.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.502, allocations: 8 kB / 0.6614 GB, free: 23.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/1.503, allocations: 295.9 kB / 0.6617 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/1.504, allocations: 304.6 kB / 0.662 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/1.505, allocations: 39.98 kB / 0.662 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006918/1.511, allocations: 4.088 MB / 0.666 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.512, allocations: 4.031 kB / 0.666 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009883/1.521, allocations: 3.369 MB / 0.6693 GB, free: 15.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/1.523, allocations: 470.3 kB / 0.6698 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004612/1.523, allocations: 32 kB / 0.6698 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.525, allocations: 67.95 kB / 0.6699 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/1.525, allocations: 125.1 kB / 0.67 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.525, allocations: 43.98 kB / 0.67 GB, free: 14.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002384/1.528, allocations: 1.281 MB / 0.6713 GB, free: 13.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.528, allocations: 0 / 0.6713 GB, free: 13.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002981/1.531, allocations: 0.6952 MB / 0.672 GB, free: 12.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,ground.p.i) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006771/1.531, allocations: 437.9 kB / 0.6724 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007139/1.538, allocations: 2.239 MB / 0.6746 GB, free: 9.934 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.538, allocations: 4 kB / 0.6746 GB, free: 9.93 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003287/1.542, allocations: 1.128 MB / 0.6757 GB, free: 8.793 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003214/1.545, allocations: 0.5533 MB / 0.6762 GB, free: 8.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.557, allocations: 5.045 MB / 0.6811 GB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/1.559, allocations: 2.521 MB / 0.6836 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002599/1.562, allocations: 0.5074 MB / 0.6841 GB, free: 88 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3387/1.9, allocations: 142.8 kB / 0.6842 GB, free: 92.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.078e-06/1.901, allocations: 0 / 0.6842 GB, free: 92.61 MB / 442.7 MB Notification: Performance of Templates: time 0.09011/1.991, allocations: 32.56 MB / 0.716 GB, free: 91.2 MB / 442.7 MB