Running command: translateModel(HanserModelica.SynchronousMachines.SMEE_Synchronization1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5998,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMEE_Synchronization1") Notification: Performance of loadModel(HanserModelica): time 2.047/2.047, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.073e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08753, allocations: 49.69 MB / 329.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.4969, allocations: 116.9 MB / 446.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.4971, allocations: 71.72 kB / 446.2 MB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.77/1.267, allocations: 157.4 MB / 0.5895 GB, free: 87.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.354e-06/1.267, allocations: 3.938 kB / 0.5895 GB, free: 87.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002968/1.267, allocations: 92.81 kB / 0.5896 GB, free: 87.39 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: 965 * Number of variables: 965 Notification: Performance of Generate backend data structure: time 0.01142/1.279, allocations: 3.581 MB / 0.5931 GB, free: 85.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.279, allocations: 14.39 kB / 0.5931 GB, free: 85.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006421/1.285, allocations: 0.8822 MB / 0.5939 GB, free: 85.33 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.296, allocations: 3.602 MB / 0.5975 GB, free: 83.58 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002871/1.296, allocations: 277.6 kB / 0.5977 GB, free: 83.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001164/1.298, allocations: 368.3 kB / 0.5981 GB, free: 83.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/1.309, allocations: 4.566 MB / 0.6025 GB, free: 81.17 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001122/1.309, allocations: 9.969 kB / 0.6025 GB, free: 81.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005655/1.31, allocations: 158 kB / 0.6027 GB, free: 81.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/1.31, allocations: 148.5 kB / 0.6028 GB, free: 81.04 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009441/1.319, allocations: 3.638 MB / 0.6064 GB, free: 79.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03016/1.349, allocations: 15.79 MB / 0.6218 GB, free: 65.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006177/1.356, allocations: 6.909 MB / 0.6285 GB, free: 58.02 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003029/1.359, allocations: 1.474 MB / 0.63 GB, free: 56.55 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009123/1.368, allocations: 4.03 MB / 0.6339 GB, free: 52.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/1.368, allocations: 51.88 kB / 0.634 GB, free: 52.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=134): time 4.646e-06/1.368, allocations: 0 / 0.634 GB, free: 52.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.01204/1.38, allocations: 5.071 MB / 0.6389 GB, free: 47.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/1.38, allocations: 68.72 kB / 0.639 GB, free: 47.15 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003603/1.384, allocations: 1.877 MB / 0.6408 GB, free: 45.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002627/1.384, allocations: 49.7 kB / 0.6409 GB, free: 45.19 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.385, allocations: 1.735 MB / 0.6426 GB, free: 43.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004791/1.386, allocations: 0.5302 MB / 0.6431 GB, free: 42.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/1.386, allocations: 52 kB / 0.6431 GB, free: 42.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/1.386, allocations: 394.2 kB / 0.6435 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001511/1.388, allocations: 0.7502 MB / 0.6442 GB, free: 41.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.389, allocations: 1.477 MB / 0.6457 GB, free: 39.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/1.391, allocations: 1.044 MB / 0.6467 GB, free: 38.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.391, allocations: 8 kB / 0.6467 GB, free: 38.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.00563/1.397, allocations: 2.791 MB / 0.6494 GB, free: 36.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/1.397, allocations: 13.72 kB / 0.6495 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/1.397, allocations: 24 kB / 0.6495 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/1.398, allocations: 310.7 kB / 0.6498 GB, free: 35.67 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/1.401, allocations: 0.4953 MB / 0.6503 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004988/1.406, allocations: 4.458 MB / 0.6546 GB, free: 30.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/1.408, allocations: 103.8 kB / 0.6547 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003391/1.408, allocations: 104 kB / 0.6548 GB, free: 30.25 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * 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 (257): * Single equations (assignments): 254 * 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 {(2,100.0%) 13,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000436/1.409, allocations: 240.3 kB / 0.655 GB, free: 30.01 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005146/1.409, allocations: 233.2 kB / 0.6553 GB, free: 29.78 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004557/1.414, allocations: 2.283 MB / 0.6575 GB, free: 27.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.414, allocations: 16 kB / 0.6575 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/1.414, allocations: 4 kB / 0.6575 GB, free: 27.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/1.414, allocations: 7.969 kB / 0.6575 GB, free: 27.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/1.425, allocations: 5.5 MB / 0.6629 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.425, allocations: 8.125 kB / 0.6629 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.427, allocations: 275.8 kB / 0.6632 GB, free: 21.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/1.428, allocations: 326.2 kB / 0.6635 GB, free: 21.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.428, allocations: 35.98 kB / 0.6635 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00673/1.435, allocations: 6.356 MB / 0.6697 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.349e-06/1.435, allocations: 4.188 kB / 0.6697 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/1.441, allocations: 3.422 MB / 0.6731 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/1.442, allocations: 494.1 kB / 0.6735 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005475/1.443, allocations: 28 kB / 0.6736 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/1.445, allocations: 75.95 kB / 0.6736 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/1.445, allocations: 121.1 kB / 0.6737 GB, free: 10.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.445, allocations: 43.98 kB / 0.6738 GB, free: 10.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002801/1.448, allocations: 1.411 MB / 0.6752 GB, free: 8.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.133e-06/1.448, allocations: 0 / 0.6752 GB, free: 8.664 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003573/1.451, allocations: 0.6915 MB / 0.6758 GB, free: 7.973 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.stator.strayReluctance.Phi.re,smee.stator.strayReluctance.Phi.im,constantTorque.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 128 * 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 {(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007922/1.452, allocations: 442.5 kB / 0.6763 GB, free: 7.57 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004306/1.457, allocations: 2.253 MB / 0.6785 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.138e-06/1.457, allocations: 0 / 0.6785 GB, free: 5.285 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/1.459, allocations: 1.33 MB / 0.6798 GB, free: 3.922 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.462, allocations: 0.5375 MB / 0.6803 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2658/1.728, allocations: 5.198 MB / 0.6854 GB, free: 92.19 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007424/1.736, allocations: 2.583 MB / 0.6879 GB, free: 91.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005175/1.741, allocations: 0.5085 MB / 0.6884 GB, free: 91.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.742, allocations: 149.8 kB / 0.6885 GB, free: 91.41 MB / 442.7 MB Notification: Performance of SimCode: time 2.146e-06/1.742, allocations: 0 / 0.6885 GB, free: 91.41 MB / 442.7 MB Notification: Performance of Templates: time 0.08533/1.828, allocations: 32.43 MB / 0.7202 GB, free: 89.96 MB / 442.7 MB