Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_DOL") Notification: Performance of loadModel(HanserModelica): time 1.911/1.911, allocations: 214.7 MB / 226.9 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.274e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.08692, allocations: 49.7 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.5029, allocations: 120.4 MB / 449.5 MB, free: 12.27 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.5031, allocations: 77.27 kB / 449.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9272/1.43, allocations: 162.8 MB / 0.5981 GB, free: 86.37 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.997e-06/1.43, allocations: 3.938 kB / 0.5981 GB, free: 86.37 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003049/1.431, allocations: 97.28 kB / 0.5982 GB, free: 86.35 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01343/1.444, allocations: 3.916 MB / 0.602 GB, free: 84.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.444, allocations: 11.42 kB / 0.602 GB, free: 84.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006665/1.451, allocations: 0.9143 MB / 0.6029 GB, free: 83.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/1.462, allocations: 3.828 MB / 0.6066 GB, free: 81.24 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/1.463, allocations: 306.4 kB / 0.6069 GB, free: 81.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/1.464, allocations: 396.8 kB / 0.6073 GB, free: 80.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/1.476, allocations: 4.988 MB / 0.6122 GB, free: 76.72 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.476, allocations: 3.906 kB / 0.6122 GB, free: 76.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005513/1.477, allocations: 172 kB / 0.6123 GB, free: 76.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000156/1.477, allocations: 164 kB / 0.6125 GB, free: 76.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/1.487, allocations: 3.987 MB / 0.6164 GB, free: 72.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/1.52, allocations: 16.95 MB / 0.6329 GB, free: 55.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006939/1.527, allocations: 8.35 MB / 0.6411 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003333/1.53, allocations: 1.626 MB / 0.6427 GB, free: 44.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009831/1.54, allocations: 4.838 MB / 0.6474 GB, free: 39.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/1.54, allocations: 55.81 kB / 0.6475 GB, free: 39.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.389e-06/1.54, allocations: 0 / 0.6475 GB, free: 39.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.009399/1.55, allocations: 4.487 MB / 0.6518 GB, free: 34.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/1.55, allocations: 68.67 kB / 0.6519 GB, free: 34.41 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/1.553, allocations: 1.98 MB / 0.6538 GB, free: 32.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/1.554, allocations: 49.7 kB / 0.6539 GB, free: 32.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.555, allocations: 1.849 MB / 0.6557 GB, free: 30.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005051/1.555, allocations: 0.5379 MB / 0.6562 GB, free: 29.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/1.556, allocations: 44 kB / 0.6563 GB, free: 29.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/1.556, allocations: 382 kB / 0.6566 GB, free: 29.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/1.557, allocations: 0.75 MB / 0.6574 GB, free: 28.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001794/1.559, allocations: 1.418 MB / 0.6587 GB, free: 27.03 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/1.561, allocations: 1.012 MB / 0.6597 GB, free: 26.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/1.561, allocations: 8 kB / 0.6597 GB, free: 26.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.005308/1.566, allocations: 2.591 MB / 0.6623 GB, free: 23.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/1.566, allocations: 14.34 kB / 0.6623 GB, free: 23.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.566, allocations: 24 kB / 0.6623 GB, free: 23.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/1.567, allocations: 117.7 kB / 0.6624 GB, free: 23.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/1.569, allocations: 0.5346 MB / 0.6629 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/1.571, allocations: 1.838 MB / 0.6647 GB, free: 20.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/1.574, allocations: 111.8 kB / 0.6648 GB, free: 20.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/1.574, allocations: 95.98 kB / 0.6649 GB, free: 20.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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.0004194/1.574, allocations: 232.4 kB / 0.6651 GB, free: 20.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/1.575, allocations: 245.1 kB / 0.6654 GB, free: 20.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/1.579, allocations: 2.273 MB / 0.6676 GB, free: 17.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.579, allocations: 16 kB / 0.6676 GB, free: 17.7 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/1.579, allocations: 4 kB / 0.6676 GB, free: 17.69 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/1.58, allocations: 7.969 kB / 0.6676 GB, free: 17.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.591, allocations: 5.539 MB / 0.673 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/1.591, allocations: 0 / 0.673 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/1.593, allocations: 291.8 kB / 0.6733 GB, free: 11.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/1.594, allocations: 314.2 kB / 0.6736 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.594, allocations: 39.98 kB / 0.6737 GB, free: 11.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/1.601, allocations: 6.315 MB / 0.6798 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.962e-06/1.601, allocations: 0 / 0.6798 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005987/1.607, allocations: 3.415 MB / 0.6832 GB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.608, allocations: 497.9 kB / 0.6836 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/1.609, allocations: 44 kB / 0.6837 GB, free: 0.5977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/1.61, allocations: 91.92 kB / 0.6838 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000315/1.61, allocations: 113.1 kB / 0.6839 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.611, allocations: 44 kB / 0.6839 GB, free: 364 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.2692/1.88, allocations: 1.489 MB / 0.6854 GB, free: 86.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-06/1.88, allocations: 3.969 kB / 0.6854 GB, free: 86.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004077/1.884, allocations: 0.7109 MB / 0.6861 GB, free: 86.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.0009676/1.885, allocations: 435.2 kB / 0.6865 GB, free: 86.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004475/1.889, allocations: 2.022 MB / 0.6885 GB, free: 86.14 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.524e-06/1.89, allocations: 2.906 kB / 0.6885 GB, free: 86.14 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002862/1.892, allocations: 1.329 MB / 0.6898 GB, free: 85.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/1.896, allocations: 0.5622 MB / 0.6903 GB, free: 85.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.911, allocations: 5.53 MB / 0.6957 GB, free: 84.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004668/1.916, allocations: 2.737 MB / 0.6984 GB, free: 83.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003384/1.919, allocations: 0.5424 MB / 0.6989 GB, free: 83.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/1.92, allocations: 164 kB / 0.6991 GB, free: 83.74 MB / 442.7 MB Notification: Performance of SimCode: time 1.656e-06/1.92, allocations: 0 / 0.6991 GB, free: 83.74 MB / 442.7 MB Notification: Performance of Templates: time 0.08549/2.006, allocations: 32.81 MB / 0.7311 GB, free: 81.91 MB / 442.7 MB