Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,tolerance=1e-08,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit3") Notification: Performance of loadModel(HanserModelica): time 1.978/1.978, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.456e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0864/0.08645, allocations: 49.72 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4692/0.5557, allocations: 117.3 MB / 446.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.5559, allocations: 77.22 kB / 446.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7675/1.323, allocations: 155.8 MB / 0.5882 GB, free: 87.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.898e-06/1.323, allocations: 0 / 0.5882 GB, free: 87.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002374/1.324, allocations: 96.84 kB / 0.5883 GB, free: 87.66 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.009535/1.333, allocations: 3.48 MB / 0.5917 GB, free: 85.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.333, allocations: 11.2 kB / 0.5917 GB, free: 85.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006133/1.339, allocations: 0.8656 MB / 0.5925 GB, free: 85.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009823/1.349, allocations: 3.521 MB / 0.596 GB, free: 83.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/1.35, allocations: 280.5 kB / 0.5962 GB, free: 83.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007266/1.35, allocations: 372.2 kB / 0.5966 GB, free: 83.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009531/1.36, allocations: 4.507 MB / 0.601 GB, free: 81.5 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/1.36, allocations: 7.844 kB / 0.601 GB, free: 81.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004826/1.361, allocations: 156.5 kB / 0.6011 GB, free: 81.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/1.361, allocations: 155.7 kB / 0.6013 GB, free: 81.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008075/1.369, allocations: 3.555 MB / 0.6048 GB, free: 79.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02734/1.396, allocations: 15.65 MB / 0.62 GB, free: 67.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006002/1.402, allocations: 6.191 MB / 0.6261 GB, free: 60.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/1.405, allocations: 1.38 MB / 0.6274 GB, free: 59.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009139/1.414, allocations: 4.279 MB / 0.6316 GB, free: 54.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.414, allocations: 47.88 kB / 0.6317 GB, free: 54.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=144): time 5.542e-06/1.414, allocations: 0 / 0.6317 GB, free: 54.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=190): time 0.01497/1.429, allocations: 6.122 MB / 0.6376 GB, free: 48.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.429, allocations: 77.39 kB / 0.6377 GB, free: 48.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/1.433, allocations: 1.673 MB / 0.6393 GB, free: 46.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000235/1.433, allocations: 61.7 kB / 0.6394 GB, free: 46.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.434, allocations: 1.634 MB / 0.641 GB, free: 45.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005363/1.434, allocations: 0.6389 MB / 0.6416 GB, free: 44.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.435, allocations: 44 kB / 0.6417 GB, free: 44.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/1.435, allocations: 398.5 kB / 0.642 GB, free: 44.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/1.436, allocations: 0.8168 MB / 0.6428 GB, free: 43.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/1.438, allocations: 1.474 MB / 0.6443 GB, free: 41.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/1.44, allocations: 1.115 MB / 0.6454 GB, free: 40.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.44, allocations: 8 kB / 0.6454 GB, free: 40.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.006514/1.447, allocations: 3.106 MB / 0.6484 GB, free: 37.26 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.332e-05/1.447, allocations: 16 kB / 0.6484 GB, free: 37.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/1.447, allocations: 20 kB / 0.6484 GB, free: 37.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001897/1.449, allocations: 0.663 MB / 0.6491 GB, free: 36.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002151/1.451, allocations: 447.3 kB / 0.6495 GB, free: 36.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.463, allocations: 7.883 MB / 0.6572 GB, free: 27.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.466, allocations: 87.88 kB / 0.6573 GB, free: 27.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/1.466, allocations: 96 kB / 0.6574 GB, free: 27.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (232): * Single equations (assignments): 229 * 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: 2 * 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: 2 {(4,81.2%) 48,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004452/1.466, allocations: 244.2 kB / 0.6576 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/1.467, allocations: 229.2 kB / 0.6578 GB, free: 27.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005241/1.472, allocations: 2.509 MB / 0.6603 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.472, allocations: 16 kB / 0.6603 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.472, allocations: 19.94 kB / 0.6603 GB, free: 24.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/1.472, allocations: 7.969 kB / 0.6603 GB, free: 24.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.484, allocations: 5.899 MB / 0.6661 GB, free: 18.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/1.484, allocations: 8.266 kB / 0.6661 GB, free: 18.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.486, allocations: 287.5 kB / 0.6664 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/1.487, allocations: 0.532 MB / 0.6669 GB, free: 17.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000189/1.488, allocations: 43.98 kB / 0.6669 GB, free: 17.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009544/1.497, allocations: 6.036 MB / 0.6728 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.505e-06/1.497, allocations: 4.281 kB / 0.6728 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00694/1.504, allocations: 3.868 MB / 0.6766 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.506, allocations: 498.2 kB / 0.6771 GB, free: 7.277 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004265/1.506, allocations: 47.92 kB / 0.6771 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.507, allocations: 67.92 kB / 0.6772 GB, free: 7.164 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003695/1.508, allocations: 149.7 kB / 0.6773 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.508, allocations: 51.98 kB / 0.6774 GB, free: 6.965 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002315/1.51, allocations: 1.265 MB / 0.6786 GB, free: 5.672 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.95e-07/1.51, allocations: 0 / 0.6786 GB, free: 5.672 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002999/1.513, allocations: 0.746 MB / 0.6794 GB, free: 4.926 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,pin2.pin_p.i,pin3.pin_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 (139): * Single equations (assignments): 138 * 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 {(4,81.2%) 48} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006731/1.514, allocations: 461.5 kB / 0.6798 GB, free: 4.504 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005179/1.519, allocations: 2.724 MB / 0.6825 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.942e-06/1.519, allocations: 0 / 0.6825 GB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003098/1.522, allocations: 1.408 MB / 0.6838 GB, free: 344 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3315/1.854, allocations: 0.527 MB / 0.6843 GB, free: 95.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01388/1.868, allocations: 5.259 MB / 0.6895 GB, free: 94.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003587/1.871, allocations: 2.557 MB / 0.692 GB, free: 93.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002977/1.874, allocations: 0.4886 MB / 0.6925 GB, free: 93.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/1.875, allocations: 145 kB / 0.6926 GB, free: 93.25 MB / 442.7 MB Notification: Performance of SimCode: time 2.435e-06/1.875, allocations: 0 / 0.6926 GB, free: 93.25 MB / 442.7 MB Notification: Performance of Templates: time 0.08789/1.963, allocations: 35.56 MB / 0.7273 GB, free: 91.38 MB / 442.7 MB